struct property

StructType<ShaderD> struct
final

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

Implementation

static final StructType<ShaderD> struct = .new(
  factory: ShaderD.new,
  layout: .aligned<ShaderField>({
    .id:   RUnsignedInt(), // Shader program id
    .locs: RPointer(RArray(RInt(), BASE_shaderLocsCount)), // Shader locations array (RL_MAX_SHADER_LOCATIONS)
  }),
);