![]() |
Vireo
0.0
Vireo 3D Rendering Hardware Interface
|
Describes the binding slots of a descriptor set. Created by Vireo.create_descriptor_layout(). Must be built with build() before creating descriptor sets.
Lua full name: vireo.DescriptorLayout
Public Member Functions | |
| DescriptorLayout | add (index: vireo.DescriptorIndex, type: DescriptorType, count: integer|nil) |
| Declares a binding at the given index with the specified type and optional array count. Returns self for method chaining. More... | |
| nil | build () |
| Finalizes the layout. Must be called before passing to Vireo.create_descriptor_set(). More... | |
Properties | |
| integer | capacity |
| Number of binding slots declared in this layout. (read-only) | |
| boolean | is_dynamic_uniform |
| True if this layout was created for dynamic uniform buffer bindings. (read-only) | |
| boolean | is_samplers |
| True if this layout was created for sampler-only bindings. (read-only) | |
|
Declares a binding at the given index with the specified type and optional array count. Returns self for method chaining.
| index | vireo.DescriptorIndex |
| type | DescriptorType |
| count | integer|nil |
|
Finalizes the layout. Must be called before passing to Vireo.create_descriptor_set().
| integer capacity |
Number of binding slots declared in this layout. (read-only)
| boolean is_dynamic_uniform |
True if this layout was created for dynamic uniform buffer bindings. (read-only)
| boolean is_samplers |
True if this layout was created for sampler-only bindings. (read-only)