struct property

StructType<RenderTextureD> struct
final

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

Implementation

static final StructType<RenderTextureD> struct = .new(
  factory: RenderTextureD.new,
  layout: .aligned<RenderTextureField>({
    .id:      RUnsignedInt(), // OpenGL framebuffer object id
    .texture: RStruct(TextureD.struct), // Color buffer attachment texture
    .depth:   RStruct(TextureD.struct), // Depth buffer attachment texture
  }),
);