|
RavEngine
|
Classes | |
| struct | ResourceLastUse |
Public Member Functions | |
| CommandBufferD3D12 (decltype(owningQueue)) | |
| void | Reset () final |
| void | Begin () final |
| void | End () final |
| void | BeginRendering (RGLRenderPassPtr) final |
| void | EndRendering () final |
| void | BindRenderPipeline (RGLRenderPipelinePtr) final |
| void | BeginCompute (RGLComputePipelinePtr) final |
| void | EndCompute () final |
| void | DispatchCompute (uint32_t threadsX, uint32_t threadsY, uint32_t threadsZ, uint32_t threadsPerThreadgroupX=1, uint32_t threadsPerThreadgroupY=1, uint32_t threadsPerThreadgroupZ=1) final |
| void | BindBuffer (RGLBufferPtr buffer, uint32_t bindingOffset, uint32_t offsetIntoBuffer=0) final |
| void | BindComputeBuffer (RGLBufferPtr buffer, uint32_t binding, uint32_t offsetIntoBuffer=0) final |
| void | SetVertexBuffer (RGLBufferPtr buffer, const VertexBufferBinding &bindingInfo={}) final |
| void | SetVertexBytes (const untyped_span data, uint32_t offset) final |
| void | SetFragmentBytes (const untyped_span data, uint32_t offset) final |
| void | SetComputeBytes (const untyped_span data, uint32_t offset) final |
| void | SetIndexBuffer (RGLBufferPtr buffer) final |
| void | SetVertexSampler (RGLSamplerPtr sampler, uint32_t index) final |
| void | SetFragmentSampler (RGLSamplerPtr sampler, uint32_t index) final |
| void | SetComputeSampler (RGLSamplerPtr sampler, uint32_t index) final |
| void | SetVertexTexture (const TextureView &texture, uint32_t index) final |
| void | SetFragmentTexture (const TextureView &texture, uint32_t index) final |
| void | SetComputeTexture (const TextureView &texture, uint32_t index) final |
| void | Draw (uint32_t nVertices, const DrawInstancedConfig &={}) final |
| void | DrawIndexed (uint32_t nIndices, const DrawIndexedInstancedConfig &={}) final |
| void | BindBindlessBufferDescriptorSet (uint32_t set_idx) final |
| void | SetViewport (const Viewport &) final |
| void | SetScissor (const Rect &) final |
| void | CopyTextureToBuffer (TextureView &sourceTexture, const Rect &sourceRect, size_t offset, RGLBufferPtr desetBuffer) final |
| void | CopyBufferToTexture (RGLBufferPtr source, uint32_t size, const TextureDestConfig &dest) final |
| void | CopyBufferToBuffer (BufferCopyConfig from, BufferCopyConfig to, uint32_t size) final |
| void | CopyTextureToTexture (const TextureCopyConfig &from, const TextureCopyConfig &to) final |
| void | Commit (const CommitConfig &) final |
| void | ExecuteIndirectIndexed (const IndirectConfig &) final |
| void | ExecuteIndirect (const IndirectConfig &) final |
| void | DispatchIndirect (const DispatchIndirectConfig &) final |
| void | BeginRenderDebugMarker (const std::string &label) final |
| void | BeginComputeDebugMarker (const std::string &label) final |
| void | EndRenderDebugMarker () final |
| void | EndComputeDebugMarker () final |
| void | UseResource (const TextureView &tx) final |
| void | UseResource (const RGLBufferPtr buffer) final |
| void | BlockUntilCompleted () final |
Public Attributes | |
| Microsoft::WRL::ComPtr< ID3D12GraphicsCommandList2 > | commandList |
| const std::shared_ptr< CommandQueueD3D12 > | owningQueue |
| std::shared_ptr< struct RenderPassD3D12 > | currentRenderPass |
| std::shared_ptr< struct RenderPipelineD3D12 > | currentRenderPipeline |
| std::shared_ptr< struct ComputePipelineD3D12 > | currentComputePipeline |
| std::unordered_map< const struct D3D12TrackedResource *, ResourceLastUse > | activeBuffers |
| std::unordered_map< D3D12TextureLastUseKey, ResourceLastUse > | activeTextures |
| bool | ended = false |
|
finalvirtual |
Implements RGL::ICommandBuffer.
|
finalvirtual |
Implements RGL::ICommandBuffer.
|
finalvirtual |
Implements RGL::ICommandBuffer.
|
finalvirtual |
Implements RGL::ICommandBuffer.
|
finalvirtual |
Implements RGL::ICommandBuffer.
|
finalvirtual |
Implements RGL::ICommandBuffer.
|
finalvirtual |
Implements RGL::ICommandBuffer.
|
finalvirtual |
Implements RGL::ICommandBuffer.
|
finalvirtual |
Implements RGL::ICommandBuffer.
|
finalvirtual |
Implements RGL::ICommandBuffer.
|
finalvirtual |
Implements RGL::ICommandBuffer.
|
finalvirtual |
Implements RGL::ICommandBuffer.
|
finalvirtual |
Implements RGL::ICommandBuffer.
|
finalvirtual |
Implements RGL::ICommandBuffer.
|
finalvirtual |
Implements RGL::ICommandBuffer.
|
finalvirtual |
Implements RGL::ICommandBuffer.
|
finalvirtual |
Implements RGL::ICommandBuffer.
|
finalvirtual |
Implements RGL::ICommandBuffer.
|
finalvirtual |
Implements RGL::ICommandBuffer.
|
finalvirtual |
Implements RGL::ICommandBuffer.
|
finalvirtual |
Implements RGL::ICommandBuffer.
|
finalvirtual |
Implements RGL::ICommandBuffer.
|
finalvirtual |
Implements RGL::ICommandBuffer.
|
finalvirtual |
Implements RGL::ICommandBuffer.
|
finalvirtual |
Implements RGL::ICommandBuffer.
|
finalvirtual |
Implements RGL::ICommandBuffer.
|
finalvirtual |
Implements RGL::ICommandBuffer.
|
finalvirtual |
Implements RGL::ICommandBuffer.
|
finalvirtual |
Implements RGL::ICommandBuffer.
|
finalvirtual |
Implements RGL::ICommandBuffer.
|
finalvirtual |
Implements RGL::ICommandBuffer.
|
finalvirtual |
Implements RGL::ICommandBuffer.
|
finalvirtual |
Implements RGL::ICommandBuffer.
|
finalvirtual |
Implements RGL::ICommandBuffer.
|
finalvirtual |
Implements RGL::ICommandBuffer.
|
finalvirtual |
Implements RGL::ICommandBuffer.
|
finalvirtual |
Implements RGL::ICommandBuffer.
|
finalvirtual |
Implements RGL::ICommandBuffer.
|
finalvirtual |
Implements RGL::ICommandBuffer.
|
finalvirtual |
Implements RGL::ICommandBuffer.
|
finalvirtual |
Implements RGL::ICommandBuffer.
|
finalvirtual |
Implements RGL::ICommandBuffer.