|
|
bool | keyIsAllMips (const TextureLastUseKey &key) |
| |
|
void | EncodeCommand (auto &&commandValue) |
| |
|
| CommandBufferVk (decltype(owningQueue) owningQueue) |
| |
| void | Reset () final |
| |
| void | Begin () final |
| |
| void | End () final |
| |
| void | BindRenderPipeline (RGLRenderPipelinePtr) final |
| |
| void | BeginRendering (RGLRenderPassPtr) final |
| |
| void | EndRendering () 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 | setPushConstantData (const RGL::untyped_span &data, const uint32_t &offset) |
| |
| 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 | BindBindlessBufferDescriptorSet (uint32_t set_idx) 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 | CopyTextureToBuffer (TextureView &sourceTexture, const Rect &sourceRect, size_t offset, RGLBufferPtr destBuffer) 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 | SetViewport (const Viewport &) final |
| |
| void | SetScissor (const Rect &) final |
| |
| void | UseResource (const TextureView &tx) final |
| |
| void | UseResource (const RGLBufferPtr buffer) 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 | BlockUntilCompleted () final |
| |
|
|
bool | isInsideRenderingBlock = false |
| |
|
VkCommandBuffer | commandBuffer = VK_NULL_HANDLE |
| |
|
std::shared_ptr< RenderPassVk > | currentRenderPass = nullptr |
| |
|
const std::shared_ptr< CommandQueueVk > | owningQueue |
| |
|
std::shared_ptr< RenderPipelineVk > | currentRenderPipeline = nullptr |
| |
|
std::shared_ptr< struct ComputePipelineVk > | currentComputePipeline = nullptr |
| |
|
std::unordered_set< struct SwapchainVK * > | swapchainsToSignal |
| |
|
std::unordered_set< const struct TextureVk * > | swapchainImages |
| |
|
std::unordered_map< TextureLastUseKey, TextureLastUse > | activeTextures |
| |
|
std::unordered_map< const struct BufferVk *, BufferLastUse > | activeBuffers |
| |
|
std::vector< std::variant< CmdSetVertexBuffer, CmdBeginRendering, CmdSetIndexBuffer, CmdSetSampler, CmdSetTexture, CmdDraw, CmdDrawIndexed, CmdBindBuffer, CmdExecuteIndirect, CmdExecuteIndirectIndexed, CmdDispatchIndirect, CmdSetPushConstantData, CmdBindRenderPipeline, CmdBeginDebugMarker, CmdEndDebugMarker, CmdBeginCompute, CmdEndCompute, CmdDispatch, CmdCopyTextureToBuffer, CmdCopyTextureToTexture, CmdSetViewport, CmdSetScissor, CmdCopyBufferToBuffer, CmdCopyBuffertoTexture, CmdBindlessSetTexture, CmdBindlessSetBuffer > > | renderCommands |
| |