struct property
Describes the raw memory layout, construction, and pointer representation of this struct type.
Implementation
static final StructType<RenderTexture> struct = ._builtin(
factory: RenderTexture.new,
layout: .aligned<RenderTextureField>({
.id: RUnsignedInt(), // OpenGL framebuffer object id
.texture: RStruct(Texture.struct), // Color buffer attachment texture
.depth: RStruct(Texture.struct), // Depth buffer attachment texture
}),
);