Skip to content

ludus::content::render_graph_format::UniformField

Ludus Wiki · API overview · Browse API

Struct

Target byte offset of one schema field; fields of a block appear in schema order.

Declared in modules/content/render_graph_format/include/ludus/content/render_graph_format/plan.h

#include <ludus/content/render_graph_format/plan.h>
struct ludus::content::render_graph_format::UniformField final

Fields

Binding

foundation::uint32 ludus::content::render_graph_format::UniformField::Binding
Index into the plan's uniform binding table.

Related types: foundation::uint32

Declared in modules/content/render_graph_format/include/ludus/content/render_graph_format/plan.h

Target

ShaderTarget ludus::content::render_graph_format::UniformField::Target
Target whose emitted layout this describes.

Related types: ShaderTarget

Declared in modules/content/render_graph_format/include/ludus/content/render_graph_format/plan.h

ValueOffset

foundation::uint32 ludus::content::render_graph_format::UniformField::ValueOffset
First logical value, relative to the binding's ValueOffset.

Related types: foundation::uint32

Declared in modules/content/render_graph_format/include/ludus/content/render_graph_format/plan.h

Components

foundation::uint32 ludus::content::render_graph_format::UniformField::Components
Float32 component count, 1 to 4.

Related types: foundation::uint32

Declared in modules/content/render_graph_format/include/ludus/content/render_graph_format/plan.h

ByteOffset

foundation::uint32 ludus::content::render_graph_format::UniformField::ByteOffset
Four-byte aligned offset inside the target block.

Related types: foundation::uint32

Declared in modules/content/render_graph_format/include/ludus/content/render_graph_format/plan.h