Skip to content

ludus::content::render_graph_format::UniformBinding

Ludus Wiki · API overview · Browse API

Struct

One read-only uniform binding of a technique, filled per draw from logical values. Its values occupy [ValueOffset, ValueOffset + ValueCount) of each item's float32 table; bindings of different techniques that use one schema share that span.

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::UniformBinding final

Fields

Program

Technique ludus::content::render_graph_format::UniformBinding::Program
Technique whose stages read the binding.

Related types: Technique

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

Slot

foundation::uint32 ludus::content::render_graph_format::UniformBinding::Slot
Group/set-zero binding number, below UNIFORM_SLOT_COUNT.

Related types: foundation::uint32

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

Stages

Visibility ludus::content::render_graph_format::UniformBinding::Stages
Stages that declare the binding.

Related types: Visibility

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

ValueOffset

foundation::uint32 ludus::content::render_graph_format::UniformBinding::ValueOffset
First logical float32 value of its schema.

Related types: foundation::uint32

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

ValueCount

foundation::uint32 ludus::content::render_graph_format::UniformBinding::ValueCount
Positive logical float32 value count of its schema.

Related types: foundation::uint32

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