Vireo  0.0
Vireo 3D Rendering Hardware Interface
CommandAllocator Class Referenceabstract

Detailed Description

Manages a pool of command lists for a specific queue type. Created by Vireo.create_command_allocator().

Lua full name: vireo.CommandAllocator

Public Member Functions

nil reset ()
 Resets the allocator and all command lists it owns. Call once per frame before re-recording. More...
 
CommandList create_command_list (pipeline: Pipeline|nil)
 Creates a new command list. Pass a pipeline to pre-bind it at creation time (graphics allocators only). More...
 

Properties

CommandType command_list_type
 The command type this allocator was created for (GRAPHIC, TRANSFER, or COMPUTE). (read-only)
 

Member Function Documentation

nil reset ( )

Resets the allocator and all command lists it owns. Call once per frame before re-recording.

CommandList create_command_list ( Pipeline|nil  pipeline)

Creates a new command list. Pass a pipeline to pre-bind it at creation time (graphics allocators only).

Parameters
pipelinePipeline|nil
Returns
CommandList

Property Documentation

CommandType command_list_type

The command type this allocator was created for (GRAPHIC, TRANSFER, or COMPUTE). (read-only)