Skip to content

ludus::content::render_graph_format::Resource

Ludus Wiki · API overview · Browse API

Struct

Logical image requirement. Fixed extents are pixels; relative extents carry nominal offline dimensions plus a rational scale of each view's drawable size. No runtime native handle. Width/Height are resolved per instance before allocation.

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

Fields

Width

foundation::uint32 ludus::content::render_graph_format::Resource::Width
Positive pixel width, or Buffer byte capacity (multiple of 16).

Related types: foundation::uint32

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

Height

foundation::uint32 ludus::content::render_graph_format::Resource::Height
Positive physical height.

Related types: foundation::uint32

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

Kind

Aspect ludus::content::render_graph_format::Resource::Kind
Color, depth or persistent raw storage.

Related types: Aspect

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

Backing

foundation::uint32 ludus::content::render_graph_format::Resource::Backing
Index of the color/private-depth allocation owner; may name itself.

Related types: foundation::uint32

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

IsSurface

foundation::uint32 ludus::content::render_graph_format::Resource::IsSurface
Zero or one; owner is the acquired presentation surface.

Related types: foundation::uint32

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

IsExported

foundation::uint32 ludus::content::render_graph_format::Resource::IsExported
Zero or one; output may be leased after producer completion.

Related types: foundation::uint32

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

ViewNumerator

foundation::uint32 ludus::content::render_graph_format::Resource::ViewNumerator = 0
Zero selects fixed Width/Height; otherwise scale numerator.

Related types: foundation::uint32

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

ViewDenominator

foundation::uint32 ludus::content::render_graph_format::Resource::ViewDenominator = 1
Positive scale denominator; both components at most MAX_TARGET_EXTENT.

Related types: foundation::uint32

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

BytesPerPixel

foundation::uint32 ludus::content::render_graph_format::Resource::BytesPerPixel = 0
Buffer byte stride per RenderSize pixel; zero selects fixed capacity.

Related types: foundation::uint32

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