tp::JobResourcePoolSetup struct

Used as configuration for creating a new tp::JobResourcePool object.

Constructors, destructors, conversion operators

JobResourcePoolSetup(DeviceQueue queue, JobResourcePoolFlagMask flags = {}, OverallocationBehavior bufferOverallocationBehavior = { 1.25f, 1.5f, 65536 }, OverallocationBehavior preinitBufferOverallocationBehavior = { 3.0f, 1.5f, 65536 }, OverallocationBehavior descriptorOverallocationBehavior = { 3.0f, 1.5f, 128 })

Function documentation

tp::JobResourcePoolSetup::JobResourcePoolSetup(DeviceQueue queue, JobResourcePoolFlagMask flags = {}, OverallocationBehavior bufferOverallocationBehavior = { 1.25f, 1.5f, 65536 }, OverallocationBehavior preinitBufferOverallocationBehavior = { 3.0f, 1.5f, 65536 }, OverallocationBehavior descriptorOverallocationBehavior = { 3.0f, 1.5f, 128 })

Parameters
queue The device queue that the pool will be associated to. Jobs allocated from this pool can then only be enqueued to this queue.
flags Additional flags for creation of the pool.
bufferOverallocationBehavior The overallocation behavior of job-local buffers.
preinitBufferOverallocationBehavior The overallocation behavior of preinitialized buffers.
descriptorOverallocationBehavior The overallocation behavior of job-local descriptor sets.