struct property

StructType<MaterialMapD> struct
final

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

Implementation

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