Skip to content

ludus::content::render_graph_format

Ludus Wiki ยท API overview ยท Browse API

Namespace

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

Enumerations

CaptureFlag

enum class CaptureFlag : foundation::uint32
Bits of the CAPTURE_FLAGS_OFFSET field. Unlisted bits are zero.

Related types: foundation::uint32

Partial

Partial = 1
Stopped before every pixel reached the target.

Failed

Failed = 2
At least one pixel latched a shader failure.

LimitOverride

LimitOverride = 4
The target replaced the authored Accumulate limit for this capture.

Orthographic

Orthographic = 8
The camera is orthographic.

ReverseDepth

ReverseDepth = 16
The camera uses reverse-Z depth.

InfiniteFar

InfiniteFar = 32
The camera's far plane is at infinity.

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

DisplayCurve

enum class DisplayCurve : foundation::uint32
Display curve an authored ToneMap applies after exposure and before sRGB encoding. Serialized values are stable. Zero is Reinhard, the curve every earlier generation applied, and the value a pass without a ToneMap (zero exposure) carries.

Related types: foundation::uint32

Reinhard

Reinhard = 0
Per-channel x / (1 + x); admitted for ray and clustered deferred raster output.

PbrNeutral

PbrNeutral = 1
Khronos PBR Neutral; admitted for ray and clustered deferred raster output.

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

ProcessingQuality

enum class ProcessingQuality : foundation::uint32
Quality/cost preference for image processing. Serialized values are stable; zero is reserved.

Related types: foundation::uint32

Fast

Fast = 1
Favor throughput and lower memory use; suitable for previews.

Balanced

Balanced
Trade quality for interactive rendering cost.

High

High
Favor reconstruction quality; suitable for final images.

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

Technique

enum class Technique : foundation::uint32
Compiled scene shader-pair or renderer-owned image operation, independent of graph instance and viewport size. Values below LEGACY_TECHNIQUE_COUNT name the historical pairs. Additional raster pairs occupy [LEGACY_TECHNIQUE_COUNT, SCENE_TECHNIQUE_COUNT); GetTechniqueFamily returns their coverage family and preserves image operations. Numeric plans select these bounded values explicitly.

Related types: foundation::uint32

ColorAndDepth

ColorAndDepth
Authored opaque color plus depth stage pair.

DepthOnly

DepthOnly
Authored opaque void fragment plus identical static geometry path.

MaskedColorAndDepth

MaskedColorAndDepth
Authored masked color stage pair with its own coverage function.

MaskedDepthOnly

MaskedDepthOnly
Separately authored masked coverage function plus identical masked geometry path.

RayTracing

RayTracing
Authored triangle ray generation/miss/closest-hit functions, lowered to GPU BVH traversal.

BilinearUpscale

BilinearUpscale = SCENE_TECHNIQUE_COUNT
Full-target bilinear RGBA8 reconstruction using renderer-owned composition shaders; no scene draw.

MetalFxSpatialUpscale

MetalFxSpatialUpscale
MetalFX Spatial, single-sample RGBA8 linear-light reconstruction on supported Metal devices.

MetalFxSpatialPerceptualUpscale

MetalFxSpatialPerceptualUpscale
MetalFX Spatial, RGBA8 perceptual tone-mapped reconstruction on supported Metal devices.

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

Aspect

enum class Aspect : foundation::uint32
Logical image aspect; physical depth is owned by its Backing allocation.

Related types: foundation::uint32

Color

Color
RGBA8 color; stored channel interpretation belongs to its producing technique.

Depth

Depth
Depth32Float private depth aspect.

Buffer

Buffer
Zero-initialized persistent uint4 storage; Width is bytes and Height is one.

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

Load

enum class Load : foundation::uint32
Initialization of the complete attachment, before viewport/scissor clipping.

Related types: foundation::uint32

Clear

Clear
Define the full attachment.

Load

Load
Preserve initialized earlier contents.

Discard

Discard
Earlier contents are undefined.

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

Store

enum class Store : foundation::uint32
Contents retained after execution.

Related types: foundation::uint32

Store

Store
Preserve defined output.

Discard

Discard
Output becomes undefined.

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

ShaderTarget

enum class ShaderTarget : foundation::uint32
Artifact representation; also selects the target-specific uniform layout records.

Related types: foundation::uint32

Metal

Metal
Metal Shading Language source text.

Spirv

Spirv
SPIR-V words; the byte length is a multiple of four.

Wgsl

Wgsl
WGSL source text.

GlslEs

GlslEs
GLSL ES 3.00 source text.

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

Visibility

enum class Visibility : foundation::uint32
Shader stages that read one uniform binding.

Related types: foundation::uint32

Vertex

Vertex = 1
Read by the technique's vertex stage only.

Fragment

Fragment = 2
Read by the technique's fragment stage only.

Both

Both = 3
Read by both stages with one identical schema and layout.

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

RayTraversal

enum class RayTraversal : foundation::uint32
Traversal required by a ray pass; callback signatures are shared by every strategy. Compute strategies are the per-pass LUDUS_GRAPH_TRAVERSAL_* codes of the linked ray kernel.

Related types: foundation::uint32

NativeQuery

NativeQuery
Native inline queries require an enabled hardware ray profile.

TriangleLoop

TriangleLoop
Ordinary GPU compute intersects packed World triangles; no native ray resources.

Custom

Custom
Authored compute traversal supplies closest and visibility queries; no native ray resources.

HardwarePipeline

HardwarePipeline
Native ray-generation/hit/miss stages with hardware BVH traversal.

ComputeBvh

ComputeBvh
Ordinary GPU compute walks the renderer's packed BVH; no native ray resources.

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

StageRole

enum class StageRole : foundation::uint32
Explicit program role: raster vertex/fragment pairs, followed by three linked ray roles.

Related types: foundation::uint32

ColorVertex

ColorVertex
ColorAndDepth geometry entry.

ColorFragment

ColorFragment
ColorAndDepth color entry.

DepthVertex

DepthVertex
DepthOnly geometry entry.

DepthFragment

DepthFragment
DepthOnly void coverage entry.

MaskedColorVertex

MaskedColorVertex
MaskedColorAndDepth geometry entry.

MaskedColorFragment

MaskedColorFragment
MaskedColorAndDepth color entry with authored coverage.

MaskedDepthVertex

MaskedDepthVertex
MaskedDepthOnly geometry entry.

MaskedDepthFragment

MaskedDepthFragment
MaskedDepthOnly separately authored void coverage entry.

RayCompute

RayCompute
Linked authored ray functions and renderer-owned GPU BVH traversal.

RayImageVertex

RayImageVertex
Renderer-owned GPU color/index presentation vertex entry.

RayImageFragment

RayImageFragment
Renderer-owned color presentation fragment entry.

SceneRayCompute

SceneRayCompute
Scene/material/light callback compute profile; mutually exclusive with RayCompute.

PersistentRayCompute

PersistentRayCompute = LEGACY_STAGE_ROLE_COUNT +
        ADDITIONAL_RASTER_STAGE_COUNT
Ordered callback sets with two persistent storage slots; exclusive with other computes.

ForwardVertex

ForwardVertex = FORWARD_STAGE_ROLE_FIRST
Authored forward geometry entry.

ForwardFragment

ForwardFragment
Authored forward material and direct-light entry.

ForwardShadow

ForwardShadow
Matching material shadow coverage entry.

LightingVertex

LightingVertex
Renderer lighting composition vertex.

LightingFragment

LightingFragment
Renderer lighting composition fragment.

LightingShadow

LightingShadow
Renderer flat shadow fragment.

ClusteredForwardFragment

ClusteredForwardFragment = CLUSTERED_FORWARD_FRAGMENT_ROLE
Clustered material fragment; replaces ForwardFragment without renumbering earlier roles.

ForwardDepth

ForwardDepth = FORWARD_DEPTH_STAGE_ROLE
Optional opaque depth-only fragment, executed with the exact forward vertex entry.

DeferredGBufferFragment

DeferredGBufferFragment = DEFERRED_STAGE_ROLE_FIRST
Authored opaque material to three G-buffer targets.

DeferredLightingVertex

DeferredLightingVertex
Fullscreen clustered lighting geometry.

DeferredLightingFragment

DeferredLightingFragment
Authored lighting resolve with reconstructed world position and exported depth.

DeferredDepthCopyFragment

DeferredDepthCopyFragment
Copies optional prepass depth to the G-buffer owner.

DeferredOpaqueGBufferFragment

DeferredOpaqueGBufferFragment = DEFERRED_OPAQUE_GBUFFER_STAGE_ROLE
DeferredGBufferFragment without the alpha-coverage discard, drawn for opaque materials so tile-based GPUs keep hidden-surface removal; masked materials keep DeferredGBufferFragment.

NativeRayStages

NativeRayStages = NATIVE_RAY_STAGE_ROLE
Linked native ray stages sharing the persistent scene ABI.

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

InputFormat

enum class InputFormat : foundation::uint32
Float vertex input width of one stage input record.

Related types: foundation::uint32

Float32

Float32
One float.

Float2

Float2
Two floats.

Float3

Float3
Three floats.

Float4

Float4
Four floats.

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

Aliases

SceneDataValue

typedef uint ludus::content::render_graph_format::SceneDataValue = foundation::uint32
Exact unsigned host scalar used for scene group masks.
Unsigned shader scalar used for scene group masks.

Related types: foundation::uint32

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

Constants and variables

CAPTURE_MAGIC

constexpr char ludus::content::render_graph_format::CAPTURE_MAGIC[][] = "LURGCAP"
Eight magic bytes at offset zero.

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

CAPTURE_MAGIC_BYTES

constexpr foundation::usize ludus::content::render_graph_format::CAPTURE_MAGIC_BYTES = sizeof(CAPTURE_MAGIC)
Bytes of CAPTURE_MAGIC including its terminating zero, which the file stores.

Related types: foundation::usize

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

CAPTURE_VERSION

constexpr foundation::uint32 ludus::content::render_graph_format::CAPTURE_VERSION = 1
Layout version written at CAPTURE_VERSION_OFFSET.

Related types: foundation::uint32

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

CAPTURE_HEADER_BYTES

constexpr foundation::uint32 ludus::content::render_graph_format::CAPTURE_HEADER_BYTES = 256
Fixed header size; unused header bytes are zero.

Related types: foundation::uint32

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

CAPTURE_PIXEL_BYTES

constexpr foundation::uint32 ludus::content::render_graph_format::CAPTURE_PIXEL_BYTES = 16
One pixel: three float32 mean radiance channels, then the uint32 committed sample count.

Related types: foundation::uint32

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

CAPTURE_VERSION_OFFSET

constexpr foundation::usize ludus::content::render_graph_format::CAPTURE_VERSION_OFFSET = 8
uint32 layout version.

Related types: foundation::usize

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

CAPTURE_HEADER_SIZE_OFFSET

constexpr foundation::usize ludus::content::render_graph_format::CAPTURE_HEADER_SIZE_OFFSET = 12
uint32 header size, CAPTURE_HEADER_BYTES.

Related types: foundation::usize

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

CAPTURE_PIXEL_SIZE_OFFSET

constexpr foundation::usize ludus::content::render_graph_format::CAPTURE_PIXEL_SIZE_OFFSET = 16
uint32 pixel record size, CAPTURE_PIXEL_BYTES.

Related types: foundation::usize

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

CAPTURE_FLAGS_OFFSET

constexpr foundation::usize ludus::content::render_graph_format::CAPTURE_FLAGS_OFFSET = 20
uint32 CaptureFlags bits.

Related types: foundation::usize

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

CAPTURE_WIDTH_OFFSET

constexpr foundation::usize ludus::content::render_graph_format::CAPTURE_WIDTH_OFFSET = 24
uint32 image width in pixels.

Related types: foundation::usize

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

CAPTURE_HEIGHT_OFFSET

constexpr foundation::usize ludus::content::render_graph_format::CAPTURE_HEIGHT_OFFSET = 28
uint32 image height in pixels.

Related types: foundation::usize

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

CAPTURE_TARGET_SAMPLES_OFFSET

constexpr foundation::usize ludus::content::render_graph_format::CAPTURE_TARGET_SAMPLES_OFFSET = 32
uint32 requested samples per pixel.

Related types: foundation::usize

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

CAPTURE_SUBMITTED_SAMPLES_OFFSET

constexpr foundation::usize ludus::content::render_graph_format::CAPTURE_SUBMITTED_SAMPLES_OFFSET = 36
uint32 frames whose samples were submitted; a pixel's own count can be lower after a failure.

Related types: foundation::usize

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

CAPTURE_FAILED_PIXELS_OFFSET

constexpr foundation::usize ludus::content::render_graph_format::CAPTURE_FAILED_PIXELS_OFFSET = 40
uint32 pixels whose estimate latched a shader failure.

Related types: foundation::usize

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

CAPTURE_OUTPUT_RESOURCE_OFFSET

constexpr foundation::usize ludus::content::render_graph_format::CAPTURE_OUTPUT_RESOURCE_OFFSET = 44
uint32 logical plan resource that was captured.

Related types: foundation::usize

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

CAPTURE_ACCUMULATION_PASS_OFFSET

constexpr foundation::usize ludus::content::render_graph_format::CAPTURE_ACCUMULATION_PASS_OFFSET = 48
uint32 plan pass whose Accumulate mean was read.

Related types: foundation::usize

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

CAPTURE_AUTHORED_LIMIT_OFFSET

constexpr foundation::usize ludus::content::render_graph_format::CAPTURE_AUTHORED_LIMIT_OFFSET = 52
uint32 sample limit authored on that pass.

Related types: foundation::usize

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

CAPTURE_SCENE_REVISION_OFFSET

constexpr foundation::usize ludus::content::render_graph_format::CAPTURE_SCENE_REVISION_OFFSET = 56
uint64 scene revision submitted with the frozen scene; it also seeds graph sampling.

Related types: foundation::usize

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

CAPTURE_PACKAGE_IDENTITY_OFFSET

constexpr foundation::usize ludus::content::render_graph_format::CAPTURE_PACKAGE_IDENTITY_OFFSET = 64
32 bytes identifying the runtime package, normally the SHA-256 of its bytes; zero when unknown.

Related types: foundation::usize

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

CAPTURE_SCENE_IDENTITY_OFFSET

constexpr foundation::usize ludus::content::render_graph_format::CAPTURE_SCENE_IDENTITY_OFFSET = 96
32 bytes identifying the caller's scene inputs; zero when unknown.

Related types: foundation::usize

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

CAPTURE_IDENTITY_BYTES

constexpr foundation::usize ludus::content::render_graph_format::CAPTURE_IDENTITY_BYTES = 32
Bytes of each identity field.

Related types: foundation::usize

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

CAPTURE_WORLD_TO_CLIP_OFFSET

constexpr foundation::usize ludus::content::render_graph_format::CAPTURE_WORLD_TO_CLIP_OFFSET = 128
16 float32 world-to-clip matrix entries, column-major.

Related types: foundation::usize

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

CAPTURE_CAMERA_POSITION_OFFSET

constexpr foundation::usize ludus::content::render_graph_format::CAPTURE_CAMERA_POSITION_OFFSET = 192
Three float32 camera position components, in world space.

Related types: foundation::usize

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

CAPTURE_MATRIX_VALUES

constexpr foundation::usize ludus::content::render_graph_format::CAPTURE_MATRIX_VALUES = 16
float32 values in the world-to-clip matrix.

Related types: foundation::usize

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

CAPTURE_POSITION_VALUES

constexpr foundation::usize ludus::content::render_graph_format::CAPTURE_POSITION_VALUES = 3
float32 values in the camera position.

Related types: foundation::usize

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

CAPTURE_FLAG_MASK

constexpr foundation::uint32 ludus::content::render_graph_format::CAPTURE_FLAG_MASK = 63
Mask of every defined CaptureFlag bit.

Related types: foundation::uint32

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

VERSION

constexpr foundation::uint32 ludus::content::render_graph_format::VERSION = 14
Static triangle execution profile: opaque/masked raster with per-draw uniforms, and authored ray functions over immutable scene geometry, materials and lighting.

Related types: foundation::uint32

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

VISIBILITY_INPUT_COUNT

constexpr foundation::usize ludus::content::render_graph_format::VISIBILITY_INPUT_COUNT = 8
Opt-in portable raster ABI: static inputs plus primitive halves and draw/instance references.

Related types: foundation::usize

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

MAX_PASSES

constexpr foundation::usize ludus::content::render_graph_format::MAX_PASSES = 16
Maximum authored passes in one admitted configuration.

Related types: foundation::usize

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

MAX_RESOURCES

constexpr foundation::usize ludus::content::render_graph_format::MAX_RESOURCES = 32
Maximum logical resources; depth may alias a color allocation's private aspect.

Related types: foundation::usize

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

MAX_CAMERAS

constexpr foundation::usize ludus::content::render_graph_format::MAX_CAMERAS = 8
Maximum camera inputs per plan; indices are stable within its generation.

Related types: foundation::usize

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

MAX_ITEMS

constexpr foundation::usize ludus::content::render_graph_format::MAX_ITEMS = 1024
Largest live draw extraction; admits the current imported scene profile. Setup byte budgets remain separate.

Related types: foundation::usize

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

MAX_MESHES

constexpr foundation::usize ludus::content::render_graph_format::MAX_MESHES = 256
Largest supported mesh table in one scene replacement.

Related types: foundation::usize

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

LEGACY_TECHNIQUE_COUNT

constexpr foundation::usize ludus::content::render_graph_format::LEGACY_TECHNIQUE_COUNT = 5
Legacy program roles, including the one ray role; their numeric IDs remain stable.

Related types: foundation::usize

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

MAX_AUTHORED_TECHNIQUES

constexpr foundation::usize ludus::content::render_graph_format::MAX_AUTHORED_TECHNIQUES = 8
Maximum authored techniques, matching the build-manifest configuration bound.

Related types: foundation::usize

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

ADDITIONAL_VARIANTS_PER_FAMILY

constexpr foundation::usize ludus::content::render_graph_format::ADDITIONAL_VARIANTS_PER_FAMILY = MAX_AUTHORED_TECHNIQUES - 1
Number of additional shader pairs per raster coverage family.

Related types: foundation::usize

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

RASTER_TECHNIQUE_COUNT

constexpr foundation::usize ludus::content::render_graph_format::RASTER_TECHNIQUE_COUNT = 4
Number of raster stage pairs; ray traversal uses separate compute/image roles.

Related types: foundation::usize

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

ADDITIONAL_RASTER_TECHNIQUE_COUNT

constexpr foundation::usize ludus::content::render_graph_format::ADDITIONAL_RASTER_TECHNIQUE_COUNT =
RASTER_TECHNIQUE_COUNT * ADDITIONAL_VARIANTS_PER_FAMILY
Additional raster roles encode family as (role - LEGACY_TECHNIQUE_COUNT) modulo RASTER_TECHNIQUE_COUNT.

Related types: foundation::usize

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

SCENE_TECHNIQUE_COUNT

constexpr foundation::usize ludus::content::render_graph_format::SCENE_TECHNIQUE_COUNT = LEGACY_TECHNIQUE_COUNT + ADDITIONAL_RASTER_TECHNIQUE_COUNT
Bounded shader-pair slots, independent of how many graph passes reuse a pair.

Related types: foundation::usize

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

IMAGE_TECHNIQUE_COUNT

constexpr foundation::usize ludus::content::render_graph_format::IMAGE_TECHNIQUE_COUNT = 3
Renderer-owned image roles: bilinear and two MetalFX Spatial color interpretations.

Related types: foundation::usize

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

TECHNIQUE_COUNT

constexpr foundation::usize ludus::content::render_graph_format::TECHNIQUE_COUNT = SCENE_TECHNIQUE_COUNT + IMAGE_TECHNIQUE_COUNT
All scene shader pairs and image operations.

Related types: foundation::usize

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

MAX_RAY_PASSES

constexpr foundation::usize ludus::content::render_graph_format::MAX_RAY_PASSES = 12
Maximum consecutive ray invocations in one configuration.

Related types: foundation::usize

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

MAX_RAY_PROGRAMS

constexpr foundation::usize ludus::content::render_graph_format::MAX_RAY_PROGRAMS = 16
Maximum distinct callback sets shared by all configurations in one shader package. This bounds callback selection, independently of each configuration's invocation count.

Related types: foundation::usize

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

MAX_RAY_BUFFERS

constexpr foundation::usize ludus::content::render_graph_format::MAX_RAY_BUFFERS = 2
Read/write uint4 storage slots per ray invocation; shared across passes and frames.

Related types: foundation::usize

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

RAY_BUFFER_WORD_BYTES

constexpr foundation::uint32 ludus::content::render_graph_format::RAY_BUFFER_WORD_BYTES = 16
Byte width of one persistent buffer word, matching RWStructuredBuffer<uint4>.

Related types: foundation::uint32

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

MAX_RAY_BUFFER_PIXEL_BYTES

constexpr foundation::uint32 ludus::content::render_graph_format::MAX_RAY_BUFFER_PIXEL_BYTES = 4096
Maximum logical bytes per RenderSize pixel in shared uint4 storage.

Related types: foundation::uint32

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

MAX_RAY_BUFFER_BYTES

constexpr foundation::uint32 ludus::content::render_graph_format::MAX_RAY_BUFFER_BYTES = 256 * 1024 * 1024
Maximum bytes in one persistent buffer, fixed or resolved per pixel.

Related types: foundation::uint32

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

TECHNIQUE_STAGE_COUNT

constexpr foundation::usize ludus::content::render_graph_format::TECHNIQUE_STAGE_COUNT = 2
Number of shader stages (vertex and fragment) of one technique.

Related types: foundation::usize

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

SHADER_TARGET_COUNT

constexpr foundation::usize ludus::content::render_graph_format::SHADER_TARGET_COUNT = 4
Number of artifact targets a generation may carry.

Related types: foundation::usize

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

MAX_UNIFORM_VALUES

constexpr foundation::usize ludus::content::render_graph_format::MAX_UNIFORM_VALUES = 64
Largest logical float32 uniform value table supplied by one draw item.

Related types: foundation::usize

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

MAX_UNIFORM_BINDINGS

constexpr foundation::usize ludus::content::render_graph_format::MAX_UNIFORM_BINDINGS = 16
Largest number of uniform bindings across every technique of one plan.

Related types: foundation::usize

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

UNIFORM_SLOT_COUNT

constexpr foundation::usize ludus::content::render_graph_format::UNIFORM_SLOT_COUNT = 8
Largest uniform binding slot plus one; matches the RG1 build profile (slots 0-7).

Related types: foundation::usize

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

MAX_UNIFORM_BLOCKS

constexpr foundation::usize ludus::content::render_graph_format::MAX_UNIFORM_BLOCKS = MAX_UNIFORM_BINDINGS * SHADER_TARGET_COUNT
Largest number of per-target block records: one per binding and carried target.

Related types: foundation::usize

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

MAX_UNIFORM_FIELDS

constexpr foundation::usize ludus::content::render_graph_format::MAX_UNIFORM_FIELDS = 256
Largest number of per-target field records across every binding.

Related types: foundation::usize

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

MAX_UNIFORM_BLOCK_BYTES

constexpr foundation::usize ludus::content::render_graph_format::MAX_UNIFORM_BLOCK_BYTES = 1024
Largest occupied byte size of one uniform block on any target.

Related types: foundation::usize

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

MAX_UNIFORM_SETS

constexpr foundation::usize ludus::content::render_graph_format::MAX_UNIFORM_SETS = 16
Largest number of distinct per-draw uniform value sets one technique prepares per extraction.

Related types: foundation::usize

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

PASS_FIELD_COUNT

constexpr foundation::usize ludus::content::render_graph_format::PASS_FIELD_COUNT = 21
Number of explicitly serialized four-byte fields in a current pass record (uint32 or float32).

Related types: foundation::usize

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

PASS_DENOISING_QUALITY_FIELD

constexpr foundation::usize ludus::content::render_graph_format::PASS_DENOISING_QUALITY_FIELD = 18
Serialized four-byte field index of Pass::DenoisingQuality, stable since it was appended in runtime package version 16; later versions append fields after it.

Related types: foundation::usize

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

MAX_ACCUMULATION_SAMPLES

constexpr foundation::uint32 ludus::content::render_graph_format::MAX_ACCUMULATION_SAMPLES = 4096
Maximum samples in an authored Accumulate operation; zero selects individual ray samples.

Related types: foundation::uint32

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

MIN_TONE_MAPPING_EXPOSURE

constexpr foundation::float32 ludus::content::render_graph_format::MIN_TONE_MAPPING_EXPOSURE = .01F
Smallest admitted positive linear exposure multiplier for an authored ToneMap operation.

Related types: foundation::float32

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

MAX_TONE_MAPPING_EXPOSURE

constexpr foundation::float32 ludus::content::render_graph_format::MAX_TONE_MAPPING_EXPOSURE = 64
Largest admitted linear exposure multiplier; zero bypasses tone mapping and display encoding.

Related types: foundation::float32

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

ABSENT

constexpr foundation::uint32 ludus::content::render_graph_format::ABSENT = ~foundation::uint32{0}
Resource or input index absent from the declared plan.

Related types: foundation::uint32

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

MAX_TARGET_EXTENT

constexpr foundation::uint32 ludus::content::render_graph_format::MAX_TARGET_EXTENT = 16384
Largest resolved image dimension and scale component admitted by graph authoring.

Related types: foundation::uint32

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

MAX_STORAGE_BUFFERS

constexpr foundation::usize ludus::content::render_graph_format::MAX_STORAGE_BUFFERS = 2
Maximum named structured buffers in one native triangle-ray invocation.

Related types: foundation::usize

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

FIRST_STORAGE_SLOT

constexpr foundation::uint32 ludus::content::render_graph_format::FIRST_STORAGE_SLOT = 6
First user storage slot; lower slots belong to the renderer's ray interface.

Related types: foundation::uint32

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

MAX_STORAGE_STRIDE

constexpr foundation::uint32 ludus::content::render_graph_format::MAX_STORAGE_STRIDE = 4096
Maximum reflected element stride, in bytes.

Related types: foundation::uint32

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

MAX_STORAGE_ELEMENTS

constexpr foundation::uint32 ludus::content::render_graph_format::MAX_STORAGE_ELEMENTS = 16 * 1024 * 1024
Maximum fixed or per-pixel element count admitted by authoring.

Related types: foundation::uint32

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

STORAGE_BUFFER_FIELD_COUNT

constexpr foundation::usize ludus::content::render_graph_format::STORAGE_BUFFER_FIELD_COUNT = 4
Number of serialized uint32 fields in a structured storage record.

Related types: foundation::usize

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

RESOURCE_FIELD_COUNT

constexpr foundation::usize ludus::content::render_graph_format::RESOURCE_FIELD_COUNT = 9
Number of explicitly serialized resource fields in the current runtime layout.

Related types: foundation::usize

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

PACKAGE_MAGIC

constexpr foundation::uint32 ludus::content::render_graph_format::PACKAGE_MAGIC = 0x4752554CU
"LURG" read as a little-endian uint32.

Related types: foundation::uint32

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

RAY_PATH_CAPTURE_PACKAGE_MAGIC

constexpr foundation::uint32 ludus::content::render_graph_format::RAY_PATH_CAPTURE_PACKAGE_MAGIC = 0x5052554CU
"LURP" read as a little-endian uint32: an editor-only diagnostic ray path capture generation. Its layout is a runtime package's, but its ray kernel is the LUDUS_RAY_PATH_CAPTURE variant compiled from the same source snapshot. Runtime decoding rejects this magic, so a shipping host never loads it; see docs/architecture/render-graph-authoring.md, "Ray path inspection".

Related types: foundation::uint32

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

CAPTURE_PROFILE_PACKAGE_MAGIC

constexpr foundation::uint32 ludus::content::render_graph_format::CAPTURE_PROFILE_PACKAGE_MAGIC = 0x4352554CU
"LURC" read as a little-endian uint32: a frame capture profile generation. Its layout is a runtime package's, but its ray kernels link scene_interface.capture_visibility_queries in place of visibility_queries. Runtime decoding rejects this magic, so the larger shadow-query budget never reaches an interactive graph; see docs/architecture/render-graph-frame-capture.md.

Related types: foundation::uint32

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

METALFX_SPATIAL_PACKAGE_VERSION

constexpr foundation::uint32 ludus::content::render_graph_format::METALFX_SPATIAL_PACKAGE_VERSION = 17
First generation admitting MetalFX Spatial roles; version 16's pass layout is unchanged.

Related types: foundation::uint32

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

SOFTWARE_RAY_PACKAGE_VERSION

constexpr foundation::uint32 ludus::content::render_graph_format::SOFTWARE_RAY_PACKAGE_VERSION = 18
First generation carrying software/native ray traversal requirements per pass.

Related types: foundation::uint32

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

CUSTOM_RAY_PACKAGE_VERSION

constexpr foundation::uint32 ludus::content::render_graph_format::CUSTOM_RAY_PACKAGE_VERSION = 19
First generation admitting authored custom compute traversal without native ray resources.

Related types: foundation::uint32

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

NATIVE_RAY_PIPELINE_PACKAGE_VERSION

constexpr foundation::uint32 ludus::content::render_graph_format::NATIVE_RAY_PIPELINE_PACKAGE_VERSION = 20
First generation carrying native ray-stage artifacts and explicit hardware invocation.

Related types: foundation::uint32

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

RAY_WORKGROUP_PACKAGE_VERSION

constexpr foundation::uint32 ludus::content::render_graph_format::RAY_WORKGROUP_PACKAGE_VERSION = 21
First generation carrying reflected X/Y/Z dimensions on ray compute stages.

Related types: foundation::uint32

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

COMPUTE_BVH_PACKAGE_VERSION

constexpr foundation::uint32 ludus::content::render_graph_format::COMPUTE_BVH_PACKAGE_VERSION = 22
First generation admitting the ComputeBvh pass traversal; version 21's layout is unchanged.

Related types: foundation::uint32

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

CLUSTERED_FORWARD_PACKAGE_VERSION

constexpr foundation::uint32 ludus::content::render_graph_format::CLUSTERED_FORWARD_PACKAGE_VERSION = 23
First generation admitting the clustered forward fragment role; record widths are unchanged.

Related types: foundation::uint32

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

CLUSTERED_DEFERRED_PACKAGE_VERSION

constexpr foundation::uint32 ludus::content::render_graph_format::CLUSTERED_DEFERRED_PACKAGE_VERSION = 24
First generation carrying the four clustered deferred support stages; record widths are unchanged.

Related types: foundation::uint32

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

LTC_TABLE_PACKAGE_VERSION

constexpr foundation::uint32 ludus::content::render_graph_format::LTC_TABLE_PACKAGE_VERSION = 25
First generation carrying the scene resource word after the storage records.

Related types: foundation::uint32

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

SCENE_RESOURCE_LTC_TABLE

constexpr foundation::uint32 ludus::content::render_graph_format::SCENE_RESOURCE_LTC_TABLE = 1U
Scene resource bit: the linked scene ray kernel reads the renderer-owned LTC table.

Related types: foundation::uint32

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

SCENE_RESOURCE_FAILURE_SUMMARY

constexpr foundation::uint32 ludus::content::render_graph_format::SCENE_RESOURCE_FAILURE_SUMMARY = 2U
Scene resource bit: every ray kernel counts its latched pixels by failure reason in a renderer-owned summary at LUDUS_GRAPH_FAILURE_BINDING, its last binding (RenderGraph::PollRayFailures). Packages without the bit report no reasons; rebuilding the graph adds it.

Related types: foundation::uint32

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

RASTER_MESH_LIGHT_PACKAGE_VERSION

constexpr foundation::uint32 ludus::content::render_graph_format::RASTER_MESH_LIGHT_PACKAGE_VERSION = 26
First generation using mesh-triangle and LTC storage in the deferred resolve.

Related types: foundation::uint32

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

RASTER_MESH_LIGHT_POLYGON_PACKAGE_VERSION

constexpr foundation::uint32 ludus::content::render_graph_format::RASTER_MESH_LIGHT_POLYGON_PACKAGE_VERSION = 27
First generation whose deferred resolve reads convex emitter polygon records instead of triangles.

Related types: foundation::uint32

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

TILED_RAY_PACKAGE_VERSION

constexpr foundation::uint32 ludus::content::render_graph_format::TILED_RAY_PACKAGE_VERSION = 28
First generation whose ray kernels dispatch the ray uniform's tile region, so a frame capture may split a sample into row bands (RenderGraph::SetRayTileCount); the record layout is unchanged.

Related types: foundation::uint32

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

RASTER_TONE_MAPPING_PACKAGE_VERSION

constexpr foundation::uint32 ludus::content::render_graph_format::RASTER_TONE_MAPPING_PACKAGE_VERSION = 29
First generation carrying a display curve per pass and admitting ToneMap on clustered deferred raster output.

Related types: foundation::uint32

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

RASTER_MESH_LIGHT_BOUND_PACKAGE_VERSION

constexpr foundation::uint32 ludus::content::render_graph_format::RASTER_MESH_LIGHT_BOUND_PACKAGE_VERSION = 30
First generation whose deferred resolve reads a bounding-sphere header word in each emitter polygon record (deferred_layout.h), which it uses to cull and to evaluate far records as points.

Related types: foundation::uint32

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

OPAQUE_GBUFFER_PACKAGE_VERSION

constexpr foundation::uint32 ludus::content::render_graph_format::OPAQUE_GBUFFER_PACKAGE_VERSION = 31
First generation whose clustered deferred packages carry DeferredOpaqueGBufferFragment.

Related types: foundation::uint32

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

LIGHT_TRANSFORMER_PACKAGE_VERSION

constexpr foundation::uint32 ludus::content::render_graph_format::LIGHT_TRANSFORMER_PACKAGE_VERSION = 32
First generation admitting the scene-resource Light Transformer bit; model assets remain caller-owned inputs.

Related types: foundation::uint32

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

SCENE_RESOURCE_LIGHT_TRANSFORMER

constexpr foundation::uint32 ludus::content::render_graph_format::SCENE_RESOURCE_LIGHT_TRANSFORMER = 4U
Requires fixed-scale trained model setup at graph initialization and GPU encoder preparation per scene.

Related types: foundation::uint32

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

CAPTURE_WARMUP_PACKAGE_VERSION

constexpr foundation::uint32 ludus::content::render_graph_format::CAPTURE_WARMUP_PACKAGE_VERSION = 33
First generation carrying MAX_RAY_PROGRAMS capture warm-up invocation counts after the scene resource word. Earlier packages imply zero. This metadata does not alter interactive accumulation or shader execution.

Related types: foundation::uint32

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

PACKAGE_VERSION

constexpr foundation::uint32 ludus::content::render_graph_format::PACKAGE_VERSION = CAPTURE_WARMUP_PACKAGE_VERSION
Current runtime generation layout version.

Related types: foundation::uint32

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

DENOISING_PACKAGE_VERSION

constexpr foundation::uint32 ludus::content::render_graph_format::DENOISING_PACKAGE_VERSION = 16
First package carrying explicit OIDN denoising quality per ray pass.

Related types: foundation::uint32

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

BILINEAR_PACKAGE_VERSION

constexpr foundation::uint32 ludus::content::render_graph_format::BILINEAR_PACKAGE_VERSION = 15
First package carrying the renderer-owned bilinear image operation.

Related types: foundation::uint32

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

TONE_MAPPING_PACKAGE_VERSION

constexpr foundation::uint32 ludus::content::render_graph_format::TONE_MAPPING_PACKAGE_VERSION = 14
First generation carrying explicit ToneMap exposure multipliers.

Related types: foundation::uint32

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

ACCUMULATION_PACKAGE_VERSION

constexpr foundation::uint32 ludus::content::render_graph_format::ACCUMULATION_PACKAGE_VERSION = 13
First generation requiring explicit Accumulate operations in the source graph.

Related types: foundation::uint32

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

FORWARD_PACKAGE_VERSION

constexpr foundation::uint32 ludus::content::render_graph_format::FORWARD_PACKAGE_VERSION = 12
First generation carrying the six forward support roles and texture names.

Related types: foundation::uint32

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

PIXEL_BUFFER_PACKAGE_VERSION

constexpr foundation::uint32 ludus::content::render_graph_format::PIXEL_BUFFER_PACKAGE_VERSION = 11
Last generation before forward material stages; adds pixel-derived storage.

Related types: foundation::uint32

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

VISIBILITY_PACKAGE_VERSION

constexpr foundation::uint32 ludus::content::render_graph_format::VISIBILITY_PACKAGE_VERSION = 10
First generation carrying visibility color/depth resource indices in pass records.

Related types: foundation::uint32

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

ORDERED_PACKAGE_VERSION

constexpr foundation::uint32 ludus::content::render_graph_format::ORDERED_PACKAGE_VERSION = 9
First generation with ordered callback selectors and persistent buffer references.

Related types: foundation::uint32

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

STORAGE_PACKAGE_VERSION

constexpr foundation::uint32 ludus::content::render_graph_format::STORAGE_PACKAGE_VERSION = 8
Structured-storage records with the previous ten-word pass layout.

Related types: foundation::uint32

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

INDEPENDENT_PROGRAM_PACKAGE_VERSION

constexpr foundation::uint32 ludus::content::render_graph_format::INDEPENDENT_PROGRAM_PACKAGE_VERSION = 7
First generation supporting independent raster shader pairs, without storage records.

Related types: foundation::uint32

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

NATIVE_RAY_PACKAGE_VERSION

constexpr foundation::uint32 ludus::content::render_graph_format::NATIVE_RAY_PACKAGE_VERSION = 6
First generation using native hardware ray traversal.

Related types: foundation::uint32

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

SCENE_PACKAGE_VERSION

constexpr foundation::uint32 ludus::content::render_graph_format::SCENE_PACKAGE_VERSION = 5
Last package version carrying explicit scene inputs with portable software ray traversal.

Related types: foundation::uint32

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

VIEW_PACKAGE_VERSION

constexpr foundation::uint32 ludus::content::render_graph_format::VIEW_PACKAGE_VERSION = 4
Version with view-relative resources and implicit full-scene pass inputs.

Related types: foundation::uint32

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

NAMED_PACKAGE_VERSION

constexpr foundation::uint32 ludus::content::render_graph_format::NAMED_PACKAGE_VERSION = 3
Version with pass names and fixed resource extents.

Related types: foundation::uint32

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

LEGACY_PACKAGE_VERSION

constexpr foundation::uint32 ludus::content::render_graph_format::LEGACY_PACKAGE_VERSION = 2
Previous numeric-only runtime generation, accepted with fallback debug names.

Related types: foundation::uint32

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

MAX_PASS_NAME_BYTES

constexpr foundation::usize ludus::content::render_graph_format::MAX_PASS_NAME_BYTES = 127
Maximum encoded UTF-8 bytes of an authored pass name (excludes terminating zero).

Related types: foundation::usize

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

IDENTITY_BYTES

constexpr foundation::usize ludus::content::render_graph_format::IDENTITY_BYTES = 32
SHA-256 digest width of interface and generation identities.

Related types: foundation::usize

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

MAX_PACKAGE_BYTES

constexpr foundation::usize ludus::content::render_graph_format::MAX_PACKAGE_BYTES = foundation::usize{16} * 1024 * 1024
Largest accepted runtime generation.

Related types: foundation::usize

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

MAX_ARTIFACT_BYTES

constexpr foundation::usize ludus::content::render_graph_format::MAX_ARTIFACT_BYTES = foundation::usize{2} * 1024 * 1024
Largest single stage artifact, matching the RG1 per-artifact bound.

Related types: foundation::usize

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

MAX_ENTRY_BYTES

constexpr foundation::usize ludus::content::render_graph_format::MAX_ENTRY_BYTES = 63
Largest stage entry-point or GLSL ES uniform block name.

Related types: foundation::usize

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

LEGACY_RAY_STAGE_ROLE_COUNT

constexpr foundation::usize ludus::content::render_graph_format::LEGACY_RAY_STAGE_ROLE_COUNT = 4
Legacy and scene callback compute roles plus shared image stages.

Related types: foundation::usize

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

RAY_STAGE_ROLE_COUNT

constexpr foundation::usize ludus::content::render_graph_format::RAY_STAGE_ROLE_COUNT = LEGACY_RAY_STAGE_ROLE_COUNT + 2
Compute/image roles including persistent compute and native ray-stage roles.

Related types: foundation::usize

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

LEGACY_STAGE_ROLE_COUNT

constexpr foundation::usize ludus::content::render_graph_format::LEGACY_STAGE_ROLE_COUNT =
RASTER_TECHNIQUE_COUNT * TECHNIQUE_STAGE_COUNT + LEGACY_RAY_STAGE_ROLE_COUNT
Legacy stage-role prefix, including ray roles whose IDs remain stable.

Related types: foundation::usize

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

ADDITIONAL_RASTER_STAGE_COUNT

constexpr foundation::usize ludus::content::render_graph_format::ADDITIONAL_RASTER_STAGE_COUNT =
ADDITIONAL_RASTER_TECHNIQUE_COUNT * TECHNIQUE_STAGE_COUNT
Additional vertex/fragment roles; each pair follows its compiled technique ID.

Related types: foundation::usize

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

FORWARD_STAGE_ROLE_FIRST

constexpr foundation::usize ludus::content::render_graph_format::FORWARD_STAGE_ROLE_FIRST =
LEGACY_STAGE_ROLE_COUNT + ADDITIONAL_RASTER_STAGE_COUNT + 1
First appended forward material support role; earlier role IDs stay stable.

Related types: foundation::usize

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

FORWARD_STAGE_ROLE_COUNT

constexpr foundation::usize ludus::content::render_graph_format::FORWARD_STAGE_ROLE_COUNT = 6
Number of forward material and lighting support stages.

Related types: foundation::usize

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

FORWARD_INPUT_COUNT

constexpr foundation::usize ludus::content::render_graph_format::FORWARD_INPUT_COUNT = 16
Authored forward vertex interface size.

Related types: foundation::usize

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

NATIVE_RAY_STAGE_ROLE

constexpr foundation::usize ludus::content::render_graph_format::NATIVE_RAY_STAGE_ROLE = FORWARD_STAGE_ROLE_FIRST + FORWARD_STAGE_ROLE_COUNT
Appended native Metal stage role; earlier role identifiers stay stable.

Related types: foundation::usize

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

CLUSTERED_FORWARD_FRAGMENT_ROLE

constexpr foundation::usize ludus::content::render_graph_format::CLUSTERED_FORWARD_FRAGMENT_ROLE = NATIVE_RAY_STAGE_ROLE + 1
Fragment-role marker selecting the complete clustered material ABI for all forward stages.

Related types: foundation::usize

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

FORWARD_DEPTH_STAGE_ROLE

constexpr foundation::usize ludus::content::render_graph_format::FORWARD_DEPTH_STAGE_ROLE = CLUSTERED_FORWARD_FRAGMENT_ROLE + 1
Void clustered forward prepass fragment sharing the authored material vertex entry.

Related types: foundation::usize

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

DEFERRED_STAGE_ROLE_FIRST

constexpr foundation::usize ludus::content::render_graph_format::DEFERRED_STAGE_ROLE_FIRST = FORWARD_DEPTH_STAGE_ROLE + 1
First appended deferred support role; earlier stage IDs are unchanged.

Related types: foundation::usize

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

DEFERRED_STAGE_ROLE_COUNT

constexpr foundation::usize ludus::content::render_graph_format::DEFERRED_STAGE_ROLE_COUNT = 4
Geometry fragment, lighting vertex/fragment and depth-copy fragment roles.

Related types: foundation::usize

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

DEFERRED_OPAQUE_GBUFFER_STAGE_ROLE

constexpr foundation::usize ludus::content::render_graph_format::DEFERRED_OPAQUE_GBUFFER_STAGE_ROLE =
DEFERRED_STAGE_ROLE_FIRST + DEFERRED_STAGE_ROLE_COUNT
Appended G-buffer fragment compiled without the alpha-coverage test, for opaque materials; packages from OPAQUE_GBUFFER_PACKAGE_VERSION carry it with every deferred target.

Related types: foundation::usize

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

STAGE_ROLE_COUNT

constexpr foundation::usize ludus::content::render_graph_format::STAGE_ROLE_COUNT = DEFERRED_OPAQUE_GBUFFER_STAGE_ROLE + 1
Complete role table including clustered deferred support.

Related types: foundation::usize

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

MAX_STAGES

constexpr foundation::usize ludus::content::render_graph_format::MAX_STAGES = STAGE_ROLE_COUNT * SHADER_TARGET_COUNT
Largest stage table: one artifact per role and target.

Related types: foundation::usize

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

STATIC_INPUT_COUNT

constexpr foundation::usize ludus::content::render_graph_format::STATIC_INPUT_COUNT = 6
Renderer static vertex/instance interface: position plus four transform rows and color.

Related types: foundation::usize

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

HEADER_FIELD_COUNT

constexpr foundation::usize ludus::content::render_graph_format::HEADER_FIELD_COUNT = 10
Fixed uint32 fields before the identities.

Related types: foundation::usize

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

HEADER_BYTES

constexpr foundation::usize ludus::content::render_graph_format::HEADER_BYTES = HEADER_FIELD_COUNT * sizeof(foundation::uint32) + 2 * IDENTITY_BYTES
Serialized header width.

Related types: foundation::usize

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

RESOURCE_RECORD_BYTES

constexpr foundation::usize ludus::content::render_graph_format::RESOURCE_RECORD_BYTES = RESOURCE_FIELD_COUNT * sizeof(foundation::uint32)
Serialized resource record width, derived from the explicit field schema.

Related types: foundation::usize

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

RELATIVE_RESOURCE_RECORD_BYTES

constexpr foundation::usize ludus::content::render_graph_format::RELATIVE_RESOURCE_RECORD_BYTES = 8 * sizeof(foundation::uint32)
Serialized resource width for relative-size package versions 4 through 10.

Related types: foundation::usize

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

STORAGE_BUFFER_RECORD_BYTES

constexpr foundation::usize ludus::content::render_graph_format::STORAGE_BUFFER_RECORD_BYTES =
STORAGE_BUFFER_FIELD_COUNT * sizeof(foundation::uint32)
Serialized structured storage record width; fields are encoded independently of host padding.

Related types: foundation::usize

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

CAMERA_RECORD_BYTES

constexpr foundation::usize ludus::content::render_graph_format::CAMERA_RECORD_BYTES = sizeof(foundation::uint32)
Serialized camera record width; matches Camera's one field.

Related types: foundation::usize

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

PASS_RECORD_BYTES

constexpr foundation::usize ludus::content::render_graph_format::PASS_RECORD_BYTES = PASS_FIELD_COUNT * sizeof(foundation::uint32)
Serialized pass record width; version 5 appends SceneData to the nine legacy fields.

Related types: foundation::usize

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

UNIFORM_BINDING_RECORD_BYTES

constexpr foundation::usize ludus::content::render_graph_format::UNIFORM_BINDING_RECORD_BYTES = 5 * sizeof(foundation::uint32)
Serialized uniform binding record width; matches UniformBinding's five fields.

Related types: foundation::usize

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

UNIFORM_BLOCK_RECORD_BYTES

constexpr foundation::usize ludus::content::render_graph_format::UNIFORM_BLOCK_RECORD_BYTES = 3 * sizeof(foundation::uint32)
Serialized uniform block record width; matches UniformBlock's three fields.

Related types: foundation::usize

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

UNIFORM_FIELD_RECORD_BYTES

constexpr foundation::usize ludus::content::render_graph_format::UNIFORM_FIELD_RECORD_BYTES = 5 * sizeof(foundation::uint32)
Serialized uniform field record width; matches UniformField's five fields.

Related types: foundation::usize

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

STAGE_FIELD_COUNT

constexpr foundation::usize ludus::content::render_graph_format::STAGE_FIELD_COUNT = 6
Fixed uint32 fields at the start of each stage record.

Related types: foundation::usize

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

RAY_WORKGROUP_DIMENSIONS

constexpr foundation::usize ludus::content::render_graph_format::RAY_WORKGROUP_DIMENSIONS = 3
Reflected X, Y and Z words on a ray compute stage in version 19 and later.

Related types: foundation::usize

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

INPUT_RECORD_BYTES

constexpr foundation::usize ludus::content::render_graph_format::INPUT_RECORD_BYTES = 2 * sizeof(foundation::uint32)
Serialized width of one (location, format) stage input pair.

Related types: foundation::usize

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

SCENE_DATA_GEOMETRY

static const SceneDataValue ludus::content::render_graph_format::SCENE_DATA_GEOMETRY = 1
Vertices, indices, instances, transforms and surface attributes. Required for rendering.

Related types: SceneDataValue

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

SCENE_DATA_MATERIALS

static const SceneDataValue ludus::content::render_graph_format::SCENE_DATA_MATERIALS = 2
Material records and retained material texture views.

Related types: SceneDataValue

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

SCENE_DATA_LIGHTS

static const SceneDataValue ludus::content::render_graph_format::SCENE_DATA_LIGHTS = 4
Analytic lights, geometric emitters and environment; emitter emission is a material dependency.

Related types: SceneDataValue

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

SCENE_DATA_ALL

static const SceneDataValue ludus::content::render_graph_format::SCENE_DATA_ALL = SCENE_DATA_GEOMETRY | SCENE_DATA_MATERIALS | SCENE_DATA_LIGHTS
Every admitted scene data group, selected by a full Scene connection.

Related types: SceneDataValue

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

Functions

IsImageTechnique

LUDUS_INLINE constexpr bool ludus::content::render_graph_format::IsImageTechnique(Technique technique) noexcept
Whether this is a valid renderer-owned image operation without scene shader stages.

Related types: Technique

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

GetTechniqueFamily

LUDUS_INLINE constexpr Technique ludus::content::render_graph_format::GetTechniqueFamily(Technique technique) noexcept
Return a scene coverage family, or an image operation unchanged; no allocation.

Precondition

The numeric role is less than TECHNIQUE_COUNT.

Related types: Technique

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

IsToneMappingAdmitted

LUDUS_INLINE constexpr bool ludus::content::render_graph_format::IsToneMappingAdmitted(const Pass &pass) noexcept
Whether a pass's ToneMap fields form an admitted pair: a zero exposure with the Reinhard (zero) code, or an exposure in [MIN_TONE_MAPPING_EXPOSURE, MAX_TONE_MAPPING_EXPOSURE] with either curve on a RayTracing or ColorAndDepth pass. A raster pass additionally needs the clustered deferred profile, whose lighting resolve applies it; that program check belongs to its consumer.

Related types: Pass

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

GetRasterStageRole

LUDUS_INLINE constexpr foundation::usize ludus::content::render_graph_format::GetRasterStageRole(Technique technique, foundation::usize stage) noexcept
Return a raster pair's vertex (stage 0) or fragment (stage 1) role.

Precondition

technique is a bounded raster role and stage is below TECHNIQUE_STAGE_COUNT.

Related types: Technique ยท foundation::usize

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