struct property

StructType<MaterialMap> struct
final

Describes the raw memory layout, construction, and pointer representation of this struct type.

Implementation

static final StructType<MaterialMap> struct = ._builtin(
  factory: MaterialMap.new,
  layout: .aligned<MaterialMapField>({
    .texture: RStruct(Texture.struct), // Material map texture
    .color:   RStruct(Color.struct), // Material map color
    .value:   RFloat(), // Material map value
  }),
);