|
SubmitTypes | getSubmitType () const |
|
| CommandBuffer (Context const &context) |
|
| CommandBuffer (Context const &context, VkCommandBufferLevel level, VkCommandPool commandPool) |
|
| CommandBuffer (Context const &context, VkCommandBufferLevel level, VkCommandBuffer commandBuffer, VkCommandPool commandPool) |
|
| CommandBuffer (CommandBuffer const &r)=delete |
|
| CommandBuffer (CommandBuffer &&r) noexcept |
|
void | create (VkCommandBufferLevel level, VkCommandPool commandPool) |
|
void | create (VkCommandBufferLevel level, VkCommandBuffer commandBuffer, VkCommandPool commandPool) |
|
void | destroy () final |
|
std::pair< VkCommandBuffer, VkCommandPool > | release () |
|
void | reset () |
|
void | begin (VkCommandBufferUsageFlags flags, VkCommandBufferInheritanceInfo const *inheritanceInfo=nullptr) |
|
void | end () |
|
VkCommandBuffer | get () const |
|
VkCommandBuffer const * | getPtr () const |
|
VkCommandPool | getPool () const |
|
VkCommandBufferLevel | getLevel () const |
|
RenderPassScopes | getRenderPassScope () const |
|
SupportedQueueTypes_t | getSupportedQueues () const |
|
uint32_t | getRecordedCommandsCount () const |
|
bool | isEnded () const |
|
void | forceEnd () |
|
void | forceRenderPassScope (RenderPassScopes scope) |
|
void | forceSupportedQueues (SupportedQueueTypes_t queues) |
|
void | forceRecordedCommandsCount (uint32_t count) |
|
void | copyBuffer (VkBuffer srcBuffer, VkBuffer dstBuffer, VkDeviceSize size) |
| Copy a buffer to another.
|
|
void | transitionImageLayout (VkImage image, VkFormat format, VkImageLayout oldLayout, VkImageLayout newLayout, uint32_t mipLevels) |
| Transition an image layout.
|
|
void | copyBufferToImage (VkBuffer buffer, VkImage image, uint32_t width, uint32_t height, int32_t offsetX=0, int32_t offsetY=0) |
| Copy a buffer to an image.
|
|
void | copyImageToBuffer (VkImage image, VkBuffer buffer, uint32_t width, uint32_t height) |
| Copy an image to a buffer.
|
|
void | copyImageToImage (VkImage srcImage, VkImage dstImage, uint32_t width, uint32_t height, int32_t offsetX=0, int32_t offsetY=0) |
| Copy an image to another image.
|
|
void | pushConstants (VkPipelineLayout pipelineLayout, VkShaderStageFlags stageFlags, uint32_t offset, uint32_t size, void const *pValues) |
| Push constants to the pipeline.
|
|
void | beginRenderPass (VkRenderPass renderPass, VkFramebuffer framebuffer, VkExtent2D extent, VkClearValue clearColor, VkSubpassContents contents) |
| Begin a render pass.
|
|
void | endRenderPass () |
| End a render pass.
|
|
void | bindDescriptorSets (VkPipelineLayout pipelineLayout, VkPipelineBindPoint pipelineBindPoint, VkDescriptorSet const *descriptorSet, uint32_t descriptorCount, uint32_t firstSet) |
| Bind descriptor sets without dynamic parameters.
|
|
void | bindDescriptorSets (VkPipelineLayout pipelineLayout, VkPipelineBindPoint pipelineBindPoint, VkDescriptorSet const *descriptorSet, uint32_t descriptorCount, uint32_t dynamicOffsetCount, uint32_t const *pDynamicOffsets, uint32_t firstSet) |
| Bind descriptor sets with dynamic parameters.
|
|
void | bindPipeline (VkPipelineBindPoint pipelineBindPoint, VkPipeline pipeline) |
| Bind a pipeline.
|
|
void | setViewport (uint32_t firstViewport, uint32_t viewportCount, VkViewport const *pViewports) |
| Set the viewport dynamically.
|
|
void | setScissor (uint32_t firstScissor, uint32_t scissorCount, VkRect2D const *pScissors) |
| Set the scissor dynamically.
|
|
void | bindVertexBuffers (uint32_t firstBinding, uint32_t bindingCount, VkBuffer const *pBuffers, VkDeviceSize const *pOffsets) |
| Bind vertex buffers.
|
|
void | bindIndexBuffer (VkBuffer buffer, VkDeviceSize offset, VkIndexType indexType) |
| Bind an index buffer.
|
|
void | draw (uint32_t vertexCount, uint32_t instanceCount, uint32_t firstVertex, uint32_t firstInstance) |
| Draw.
|
|
void | drawIndexed (uint32_t indexCount, uint32_t instanceCount, uint32_t firstIndex, int32_t vertexOffset, uint32_t firstInstance) |
| Draw indexed.
|
|
void | drawIndirect (VkBuffer buffer, VkDeviceSize offset, uint32_t drawCount, uint32_t stride) |
| Draw indirect.
|
|
constexpr Context const & | getContext () const |
|
void | swapContext (Context const &context) |
|