ArrayTypeLayoutShape
Experimental: The implementation may change or be removed.
Inherits: ShaderTypeLayoutShape < Resource
Description
Represents the shape of an array type layout used within a ComputeShaderFile.
Properties
|
|
|
|
|
|
|
|
Property Descriptions
int element_count = 0 🔗
void set_element_count(value:
int)intget_element_count()
The number of elements. Zero if the size of this array is unbounded.
ShaderTypeLayoutShape element_shape 🔗
void set_element_shape(value: ShaderTypeLayoutShape)
ShaderTypeLayoutShape get_element_shape()
The shape of the element type layout.
int size = 0 🔗
void set_size(value:
int)intget_size()
The total size of the array, in bytes.
int stride = 0 🔗
void set_stride(value:
int)intget_stride()
The stride of the array, in bytes. That is, how much space is used for each element.