struct render::GpuCommandBufferPoolCreateInformation

Descriptor structure used for initialization of a GpuCommandBufferPool.

Public

Constructors

GpuCommandBufferPoolCreateInformation

GpuCommandBufferPoolCreateInformation() noexcept = default

GpuCommandBufferPoolCreateInformation

GpuCommandBufferPoolCreateInformation(const GpuCommandBufferPoolInformation &other)

Methods

staticCreateForThisThread

static GpuCommandBufferPoolCreateInformation CreateForThisThread(GpuQueueType type = GQT_GRAPHICS)

Allocates a create information for a command buffer pool owned by the calling thread.

Fields

Type

Determines which commands may be executed on the command buffer.

Queue on which the command buffer is submitted must match this usage.

Thread

ThreadId Thread

Thread on which the command buffer pool is allowed to be used on.

Any created command buffers are also bound to this thread.

UsePoolReset

bool UsePoolReset

When true, command buffers are reset as a group via pool-level reset instead of individually.