VariantTypeLayoutShape
Experimental: The implementation may change or be removed.
Inherits: ShaderTypeLayoutShape < Resource
Description
Represents the shape of a simple variant-backed type layout used within a ComputeShaderFile.
Properties
ShaderTypeLayoutShape.MatrixLayout |
|
|
|
|
Property Descriptions
ShaderTypeLayoutShape.MatrixLayout matrix_layout = 0 🔗
void set_matrix_layout(value: ShaderTypeLayoutShape.MatrixLayout)
ShaderTypeLayoutShape.MatrixLayout get_matrix_layout()
The matrix layout used by this value, if this is a matrix.
int size = 0 🔗
void set_size(value:
int)intget_size()
The total size of this shape, in bytes.