![]() |
Vireo
0.0
Vireo 3D Rendering Hardware Interface
|
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) | |
|
Resets the allocator and all command lists it owns. Call once per frame before re-recording.
|
Creates a new command list. Pass a pipeline to pre-bind it at creation time (graphics allocators only).
| pipeline | Pipeline|nil |
| CommandType command_list_type |
The command type this allocator was created for (GRAPHIC, TRANSFER, or COMPUTE). (read-only)