StructTypeLayoutShape
Experimental: The implementation may change or be removed.
Inherits: ShaderTypeLayoutShape < Resource
Description
Represents the shape of a struct type layout used within a ComputeShaderFile.
Properties
|
|
|
|
|
|
|
|
|
|
|
Property Descriptions
int alignment = 0 🔗
void set_alignment(value:
int)intget_alignment()
The alignment size of the struct, in bytes.
Dictionary properties = {} 🔗
void set_properties(value:
Dictionary)Dictionaryget_properties()
The properties of the struct.
int size = 0 🔗
void set_size(value:
int)intget_size()
The total size of the struct, in bytes.
Dictionary user_attributes = {} 🔗
void set_user_attributes(value:
Dictionary)Dictionaryget_user_attributes()
The user attributes declared for this struct.