Command buffer descriptor structure.
More...
#include <CommandBufferFlags.h>
|
| const char * | debugName = nullptr |
| | Optional name for debugging purposes. By default null.
|
| long | flags = 0 |
| | Specifies the creation flags for the command buffer. By default 0.
|
| std::uint32_t | numNativeBuffers = 0 |
| | Specifies the number of internal native command buffers. 0 specifies to let the backend decide how many native buffers to allocate. By default 0.
|
| std::uint64_t | minStagingPoolSize = (0xFFFF + 1) |
| | Specifies the minimum size (in bytes) for the staging pool (if supported). By default 65536 (or 0xFFFF + 1).
|
| const RenderPass * | renderPass = nullptr |
| | Optional render pass object for secondary command buffers. By default null.
|
Command buffer descriptor structure.
- See also
- RenderSystem::CreateCommandBuffer
◆ CommandBufferDescriptor() [1/3]
| LLGL::CommandBufferDescriptor::CommandBufferDescriptor |
( |
| ) |
|
|
default |
◆ CommandBufferDescriptor() [2/3]
| LLGL::CommandBufferDescriptor::CommandBufferDescriptor |
( |
long | flags | ) |
|
|
inline |
Constructs the command buffer descriptor with the specified flags.
◆ CommandBufferDescriptor() [3/3]
| LLGL::CommandBufferDescriptor::CommandBufferDescriptor |
( |
long | flags, |
|
|
std::uint32_t | numNativeBuffers ) |
|
inline |
Constructs the command buffer descriptor with the specified flags and number of native buffers.
◆ debugName
| const char* LLGL::CommandBufferDescriptor::debugName = nullptr |
◆ flags
| long LLGL::CommandBufferDescriptor::flags = 0 |
Specifies the creation flags for the command buffer. By default 0.
- See also
- CommandBufferFlags
◆ minStagingPoolSize
| std::uint64_t LLGL::CommandBufferDescriptor::minStagingPoolSize = (0xFFFF + 1) |
Specifies the minimum size (in bytes) for the staging pool (if supported). By default 65536 (or 0xFFFF + 1).
- See also
- CommandBuffer::UpdateBuffer
◆ numNativeBuffers
| std::uint32_t LLGL::CommandBufferDescriptor::numNativeBuffers = 0 |
Specifies the number of internal native command buffers. 0 specifies to let the backend decide how many native buffers to allocate. By default 0.
- See also
- CommandBuffer::Begin
◆ renderPass
| const RenderPass* LLGL::CommandBufferDescriptor::renderPass = nullptr |
The documentation for this struct was generated from the following file: