|
| ezGALCommandEncoder (ezGALDevice &ref_device, ezGALCommandEncoderCommonPlatformInterface &ref_commonImpl) |
|
void | SetBindGroup (ezUInt32 uiBindGroup, const ezGALBindGroupCreationDescription &bindGroup) |
| Sets a bind group to the given bind group index. Preferably, bindGroup should be created via ezBindGroupBuilder::CreateBindGroup.
|
|
void | SetPushConstants (ezArrayPtr< const ezUInt8 > data) |
|
ezGALTimestampHandle | InsertTimestamp () |
|
ezGALOcclusionHandle | BeginOcclusionQuery (ezEnum< ezGALQueryType > type) |
| Starts an occlusion query. This function must be called within a render scope and EndOcclusionQuery must be called within the same scope. Only one occlusion query can be active at any given time.
|
|
void | EndOcclusionQuery (ezGALOcclusionHandle hOcclusion) |
| Ends an occlusion query. The given handle must afterwards be passed into the ezGALDevice::GetOcclusionQueryResult function, which needs to be repeated every frame until results are ready.
|
|
ezGALFenceHandle | InsertFence () |
|
void | CopyBuffer (ezGALBufferHandle hDest, ezGALBufferHandle hSource) |
|
void | CopyBufferRegion (ezGALBufferHandle hDest, ezUInt32 uiDestOffset, ezGALBufferHandle hSource, ezUInt32 uiSourceOffset, ezUInt32 uiByteCount) |
|
void | UpdateBuffer (ezGALBufferHandle hDest, ezUInt32 uiDestOffset, ezArrayPtr< const ezUInt8 > sourceData, ezGALUpdateMode::Enum updateMode=ezGALUpdateMode::TransientConstantBuffer) |
|
void | CopyTexture (ezGALTextureHandle hDest, ezGALTextureHandle hSource) |
|
void | CopyTextureRegion (ezGALTextureHandle hDest, const ezGALTextureSubresource &destinationSubResource, const ezVec3U32 &vDestinationPoint, ezGALTextureHandle hSource, const ezGALTextureSubresource &sourceSubResource, const ezBoundingBoxu32 &box) |
|
void | UpdateTexture (ezGALTextureHandle hDest, const ezGALTextureSubresource &destinationSubResource, const ezBoundingBoxu32 &destinationBox, const ezGALSystemMemoryDescription &sourceData) |
|
void | ResolveTexture (ezGALTextureHandle hDest, const ezGALTextureSubresource &destinationSubResource, ezGALTextureHandle hSource, const ezGALTextureSubresource &sourceSubResource) |
|
void | ReadbackTexture (ezGALReadbackTextureHandle hDestination, ezGALTextureHandle hSource) |
|
void | ReadbackBuffer (ezGALReadbackBufferHandle hDestination, ezGALBufferHandle hSource) |
|
void | GenerateMipMaps (ezGALTextureHandle hTexture, ezGALTextureRange range) |
|
void | Flush () |
| Submits all pending work to the GPU. Call this if you want to wait for a fence or some other kind of GPU synchronization to take place to ensure the work is actually submitted to the GPU.
|
|
void | PushMarker (const char *szMarker) |
|
void | PopMarker () |
|
void | InsertEventMarker (const char *szMarker) |
|
void | BeginCompute (const char *szName="") |
|
void | EndCompute () |
|
ezResult | Dispatch (ezUInt32 uiThreadGroupCountX, ezUInt32 uiThreadGroupCountY, ezUInt32 uiThreadGroupCountZ) |
|
ezResult | DispatchIndirect (ezGALBufferHandle hIndirectArgumentBuffer, ezUInt32 uiArgumentOffsetInBytes) |
|
void | BeginRendering (const ezGALRenderingSetup &renderingSetup, const char *szName="") |
|
void | EndRendering () |
|
bool | IsInRenderingScope () const |
|
void | Clear (const ezColor &clearColor, ezUInt32 uiRenderTargetClearMask=0xFFFFFFFFu, bool bClearDepth=true, bool bClearStencil=true, float fDepthClear=1.0f, ezUInt8 uiStencilClear=0x0u) |
| Clears active rendertargets.
|
|
ezResult | Draw (ezUInt32 uiVertexCount, ezUInt32 uiStartVertex) |
|
ezResult | DrawIndexed (ezUInt32 uiIndexCount, ezUInt32 uiStartIndex) |
|
ezResult | DrawIndexedInstanced (ezUInt32 uiIndexCountPerInstance, ezUInt32 uiInstanceCount, ezUInt32 uiStartIndex) |
|
ezResult | DrawIndexedInstancedIndirect (ezGALBufferHandle hIndirectArgumentBuffer, ezUInt32 uiArgumentOffsetInBytes) |
|
ezResult | DrawInstanced (ezUInt32 uiVertexCountPerInstance, ezUInt32 uiInstanceCount, ezUInt32 uiStartVertex) |
|
ezResult | DrawInstancedIndirect (ezGALBufferHandle hIndirectArgumentBuffer, ezUInt32 uiArgumentOffsetInBytes) |
|
void | SetIndexBuffer (ezGALBufferHandle hIndexBuffer) |
|
void | SetVertexBuffer (ezUInt32 uiSlot, ezGALBufferHandle hVertexBuffer, ezUInt32 uiOffset=0) |
|
void | SetGraphicsPipeline (ezGALGraphicsPipelineHandle hGraphicsPipeline) |
|
void | SetComputePipeline (ezGALComputePipelineHandle hComputePipeline) |
|
void | SetViewport (const ezRectFloat &rect, float fMinDepth=0.0f, float fMaxDepth=1.0f) |
|
void | SetScissorRect (const ezRectU32 &rect) |
|
void | SetStencilReference (ezUInt8 uiStencilRefValue) |
|
EZ_ALWAYS_INLINE ezGALDevice & | GetDevice () |
|
void | InvalidateState () |
|
const ezGALCommandEncoderStats & | GetStats () const |
|
void | ResetStats () |
|