ludus::graphics::renderer¶
Ludus Wiki · API overview · Browse API
Namespace
Declared in modules/graphics/renderer/include/ludus/graphics/renderer/deferred_layout.h
Related declarations¶
- ludus::graphics::renderer::AreaLightSamples
- ludus::graphics::renderer::BakedLighting
- ludus::graphics::renderer::DirectLight
- ludus::graphics::renderer::EnvironmentDescription
- ludus::graphics::renderer::EnvironmentMap
- ludus::graphics::renderer::FlatMaterial
- ludus::graphics::renderer::GpuPreview
- ludus::graphics::renderer::GpuPreviewFrame
- ludus::graphics::renderer::GpuPreviewGraphBuffer
- ludus::graphics::renderer::GpuPreviewGraphInvocation
- ludus::graphics::renderer::GpuPreviewImage
- ludus::graphics::renderer::GpuPreviewInfo
- ludus::graphics::renderer::GpuPreviewOptions
- ludus::graphics::renderer::LightClusterDescription
- ludus::graphics::renderer::LightClusters
- ludus::graphics::renderer::LightingOutput
- ludus::graphics::renderer::LightSelection
- ludus::graphics::renderer::LightTransformerAnchor
- ludus::graphics::renderer::LightTransformerEncoding
- ludus::graphics::renderer::LightTransformerModelDescription
- ludus::graphics::renderer::LightTransformerPreparationReport
- ludus::graphics::renderer::LightTransformerQuery
- ludus::graphics::renderer::LightTransformerScenePoint
- ludus::graphics::renderer::Limits
- ludus::graphics::renderer::LitMaterialDescription
- ludus::graphics::renderer::MaterialDescription
- ludus::graphics::renderer::MaterialProgram
- ludus::graphics::renderer::MaterialVersion
- ludus::graphics::renderer::Mesh
- ludus::graphics::renderer::MeshDescription
- ludus::graphics::renderer::OverlayCommand
- ludus::graphics::renderer::OverlayList
- ludus::graphics::renderer::OverlayRenderer
- ludus::graphics::renderer::OverlayStyle
- ludus::graphics::renderer::OverlayVertex
- ludus::graphics::renderer::PanelLuminaire
- ludus::graphics::renderer::PanelLuminaireSelection
- ludus::graphics::renderer::PlanarAreaLightDescription
- ludus::graphics::renderer::PreparedOverlay
- ludus::graphics::renderer::PreparedSelectionOutline
- ludus::graphics::renderer::PreparedView
- ludus::graphics::renderer::Presentation
- ludus::graphics::renderer::ProjectionDescription
- ludus::graphics::renderer::RasterViewport
- ludus::graphics::renderer::RayPathCaptureDescription
- ludus::graphics::renderer::RayPathCaptureReport
- ludus::graphics::renderer::RayPathEvent
- ludus::graphics::renderer::RayPathSummary
- ludus::graphics::renderer::ReferenceBsdf
- ludus::graphics::renderer::ReferenceBsdfEvaluation
- ludus::graphics::renderer::ReferenceBsdfRandomContext
- ludus::graphics::renderer::ReferenceBsdfSample
- ludus::graphics::renderer::ReferenceCapture
- ludus::graphics::renderer::ReferenceCaptureDescription
- ludus::graphics::renderer::ReferenceCaptureInfo
- ludus::graphics::renderer::ReferencePixel
- ludus::graphics::renderer::ReferenceRenderingOptions
- ludus::graphics::renderer::Renderer
- ludus::graphics::renderer::RenderGraph
- ludus::graphics::renderer::RenderGraphActivation
- ludus::graphics::renderer::RenderGraphActivationReport
- ludus::graphics::renderer::RenderGraphAllocationReport
- ludus::graphics::renderer::RenderGraphAttachmentPool
- ludus::graphics::renderer::RenderGraphCapture
- ludus::graphics::renderer::RenderGraphCaptureInfo
- ludus::graphics::renderer::RenderGraphCapturePixel
- ludus::graphics::renderer::RenderGraphCaptureSettings
- ludus::graphics::renderer::RenderGraphCoverageRecord
- ludus::graphics::renderer::RenderGraphItem
- ludus::graphics::renderer::RenderGraphMesh
- ludus::graphics::renderer::RenderGraphPackage
- ludus::graphics::renderer::RenderGraphPlan
- ludus::graphics::renderer::RenderGraphPoolReport
- ludus::graphics::renderer::RenderGraphPrograms
- ludus::graphics::renderer::RenderGraphRayFailures
- ludus::graphics::renderer::RenderGraphRayWorkload
- ludus::graphics::renderer::RenderGraphReport
- ludus::graphics::renderer::RenderGraphSceneDescription
- ludus::graphics::renderer::RenderGraphSceneResourceReport
- ludus::graphics::renderer::RenderGraphSceneRevisions
- ludus::graphics::renderer::SceneItem
- ludus::graphics::renderer::SceneShaderDiagnostics
- ludus::graphics::renderer::SceneShaderInputs
- ludus::graphics::renderer::SceneShaderMaterial
- ludus::graphics::renderer::SelectionOutlineRenderer
- ludus::graphics::renderer::SelectionOutlineStyle
- ludus::graphics::renderer::SelectionOutlineView
- ludus::graphics::renderer::ShadowAtlas
- ludus::graphics::renderer::ShadowAtlasDescription
- ludus::graphics::renderer::ShadowRegion
- ludus::graphics::renderer::Snapshot
- ludus::graphics::renderer::StaticLightingBake
- ludus::graphics::renderer::StaticLightingBakeDescription
- ludus::graphics::renderer::StaticLightingBakeDiagnostics
- ludus::graphics::renderer::StaticLightingBakeProfile
- ludus::graphics::renderer::StaticLightingBakeProgress
- ludus::graphics::renderer::StaticLightingChart
- ludus::graphics::renderer::StaticLightingScheduleDescription
- ludus::graphics::renderer::StaticLightingSurfaceDescription
- ludus::graphics::renderer::SurfaceParameters
- ludus::graphics::renderer::SurfacePoint
- ludus::graphics::renderer::SurfacePointCloud
- ludus::graphics::renderer::SurfacePointSampling
- ludus::graphics::renderer::TriangleAreaLightDescription
- ludus::graphics::renderer::UniformSet
- ludus::graphics::renderer::ViewDescription
- ludus::graphics::renderer::ViewMapping
- ludus::graphics::renderer::ViewportFrame
- ludus::graphics::renderer::ViewportImage
- ludus::graphics::renderer::ViewReport
- ludus::graphics::renderer::VirtualScreen
- ludus::graphics::renderer::VisibilityRasterPass
- ludus::graphics::renderer::WaveAperture
- ludus::graphics::renderer::WaveBeam
- ludus::graphics::renderer::WaveField
- ludus::graphics::renderer::WaveMoments
- ludus::graphics::renderer::WorldGridDescription
- ludus::graphics::renderer::WorldGridLine
- ludus::graphics::renderer::WorldGridPlane
Enumerations¶
LightKind¶
enum class LightKind : ludus::foundation::uint8
Related types: ludus::foundation::uint8
Directional¶
Directional
Point¶
Point
Spot¶
Spot
AreaOneSided¶
AreaOneSided
AreaTwoSided¶
AreaTwoSided
Declared in modules/graphics/renderer/include/ludus/graphics/renderer/light_selection.hpp
LightTransformerPreparationIssue¶
enum class LightTransformerPreparationIssue : foundation::uint8
Related types: foundation::uint8
None¶
None
MaterialInterface¶
MaterialInterface
AnalyticLights¶
AnalyticLights
Environment¶
Environment
Materials¶
Materials
Sampling¶
Sampling
FixedScale¶
FixedScale
ModelAsset¶
ModelAsset
EmbeddingCapacity¶
EmbeddingCapacity
DeviceCapacity¶
DeviceCapacity
Declared in modules/graphics/renderer/include/ludus/graphics/renderer/light_transformer_encoder.hpp
AreaLightQuadrature¶
enum class AreaLightQuadrature : ludus::foundation::uint8
Related types: ludus::foundation::uint8
Centroid¶
Centroid
ThreePoint¶
ThreePoint
Declared in modules/graphics/renderer/include/ludus/graphics/renderer/lighting.hpp
MaterialDebugView¶
enum class MaterialDebugView : ludus::foundation::uint8
renderer_lit_debug, renderer_clustered_authored_debug). Ordinary lit programs ignore it and shade normally. Debug colours are pre-compensated for RasterViewport's PBR Neutral (ToneCurve::PbrNeutral) + sRGB presentation at exposure one (InvertPbrNeutral), so they display as described; RGBA8 scene targets clip scene values above one, which limits a white debug colour to 0.87 display-linear. Related types: ludus::foundation::uint8
None¶
None = MATERIAL_DEBUG_VIEW_NONE
NormalWorld¶
NormalWorld = MATERIAL_DEBUG_VIEW_NORMAL_WORLD
LinearDepth¶
LinearDepth = MATERIAL_DEBUG_VIEW_LINEAR_DEPTH
Roughness¶
Roughness = MATERIAL_DEBUG_VIEW_ROUGHNESS
Metallic¶
Metallic = MATERIAL_DEBUG_VIEW_METALLIC
TexcoordUv¶
TexcoordUv = MATERIAL_DEBUG_VIEW_TEXCOORD_UV
LightCount¶
LightCount = MATERIAL_DEBUG_VIEW_LIGHT_COUNT
Wireframe¶
Wireframe = MATERIAL_DEBUG_VIEW_WIREFRAME
Declared in modules/graphics/renderer/include/ludus/graphics/renderer/lighting.hpp
SpatialAntialiasing¶
enum class SpatialAntialiasing : ludus::foundation::uint8
Related types: ludus::foundation::uint8
Off¶
Off
Fast¶
Fast
Balanced¶
Balanced
Declared in modules/graphics/renderer/include/ludus/graphics/renderer/lighting.hpp
MaterialAlpha¶
enum class MaterialAlpha : ludus::foundation::uint8
Related types: ludus::foundation::uint8
Opaque¶
Opaque
Masked¶
Masked
Painter¶
Painter
Declared in modules/graphics/renderer/include/ludus/graphics/renderer/materials.hpp
OverlayDepth¶
enum class OverlayDepth : foundation::uint8
Related types: foundation::uint8
Always¶
Always
Conventional¶
Conventional
ReverseZ¶
ReverseZ
Declared in modules/graphics/renderer/include/ludus/graphics/renderer/overlays.hpp
ReferenceTraversal¶
enum class ReferenceTraversal : ludus::foundation::uint8
Related types: ludus::foundation::uint8
NativeQueries¶
NativeQueries
CpuOracle¶
CpuOracle
GpuCompute¶
GpuCompute
Declared in modules/graphics/renderer/include/ludus/graphics/renderer/reference.hpp
ReferenceLightSampling¶
enum class ReferenceLightSampling : ludus::foundation::uint8
Related types: ludus::foundation::uint8
UniformArea¶
UniformArea
ResampledProjectedSolidAngle¶
ResampledProjectedSolidAngle
ResampledFormFactor¶
ResampledFormFactor
Declared in modules/graphics/renderer/include/ludus/graphics/renderer/reference.hpp
ReferenceFailure¶
enum class ReferenceFailure : ludus::foundation::uint8
Related types: ludus::foundation::uint8
None¶
None
InvalidHit¶
InvalidHit
InvalidEmitterPdf¶
InvalidEmitterPdf
InvalidSurfaceParameters¶
InvalidSurfaceParameters
InvalidLightSample¶
InvalidLightSample
InvalidBsdfEvaluation¶
InvalidBsdfEvaluation
InvalidDirectContribution¶
InvalidDirectContribution
InvalidShadowSegment¶
InvalidShadowSegment
InvalidBsdfSample¶
InvalidBsdfSample
InvalidThroughput¶
InvalidThroughput
InvalidRayOrigin¶
InvalidRayOrigin
InvalidRadiance¶
InvalidRadiance
InvalidAccumulation¶
InvalidAccumulation
InvalidCameraRay¶
InvalidCameraRay
InvalidSceneLayout¶
InvalidSceneLayout
TraversalCapacityExceeded¶
TraversalCapacityExceeded
OpticalRegionCapacity¶
OpticalRegionCapacity
OpticalPropagationCapacity¶
OpticalPropagationCapacity
Declared in modules/graphics/renderer/include/ludus/graphics/renderer/reference.hpp
RenderGraphFailureReason¶
enum class RenderGraphFailureReason : foundation::uint8
Related types: foundation::uint8
Unspecified¶
Unspecified
InvalidRadiance¶
InvalidRadiance
InterfaceVersion¶
InterfaceVersion
SurfaceBudget¶
SurfaceBudget
VisibilityBudget¶
VisibilityBudget
LineBudget¶
LineBudget
InvalidRay¶
InvalidRay
Traversal¶
Traversal
RandomExhausted¶
RandomExhausted
InvalidArgument¶
InvalidArgument
LightSample¶
LightSample
StorageCapacity¶
StorageCapacity
StoredRecord¶
StoredRecord
SceneData¶
SceneData
InvalidWeight¶
InvalidWeight
BsdfOnlyLights¶
BsdfOnlyLights
PrimaryMaterial¶
PrimaryMaterial
PhotonCamera¶
PhotonCamera
PhotonCapacity¶
PhotonCapacity
PhotonDispatch¶
PhotonDispatch
GeometrySamplingLights¶
GeometrySamplingLights
GeometryStatisticsCapacity¶
GeometryStatisticsCapacity
WaveDirection¶
WaveDirection
WaveResolution¶
WaveResolution
WaveCapacity¶
WaveCapacity
WaveConnection¶
WaveConnection
WavePropagationCapacity¶
WavePropagationCapacity
FixedDimensionMaterial¶
FixedDimensionMaterial
Declared in modules/graphics/renderer/include/ludus/graphics/renderer/render_graph.hpp
RayPathEventKind¶
enum class RayPathEventKind : foundation::uint8
Related types: foundation::uint8
Closest¶
Closest
Visibility¶
Visibility
RasterFirstHit¶
RasterFirstHit
Declared in modules/graphics/renderer/include/ludus/graphics/renderer/render_graph.hpp
RayPathOutcome¶
enum class RayPathOutcome : foundation::uint8
Related types: foundation::uint8
Miss¶
Miss
Hit¶
Hit
Failure¶
Failure
Declared in modules/graphics/renderer/include/ludus/graphics/renderer/render_graph.hpp
RenderGraphLayout¶
enum class RenderGraphLayout : foundation::uint8
Related types: foundation::uint8
Static¶
Static
Unsupported¶
Unsupported
Declared in modules/graphics/renderer/include/ludus/graphics/renderer/render_graph.hpp
RenderGraphMaterial¶
enum class RenderGraphMaterial : foundation::uint8
Related types: foundation::uint8
Opaque¶
Opaque
Masked¶
Masked
Transparent¶
Transparent
Unsupported¶
Unsupported
Declared in modules/graphics/renderer/include/ludus/graphics/renderer/render_graph.hpp
RenderGraphCoverage¶
enum class RenderGraphCoverage : foundation::uint8
Related types: foundation::uint8
Covered¶
Covered
Unsupported¶
Unsupported
Conflicting¶
Conflicting
IntentionallyExcluded¶
IntentionallyExcluded
Declared in modules/graphics/renderer/include/ludus/graphics/renderer/render_graph.hpp
RenderGraphReason¶
enum class RenderGraphReason : foundation::uint8
Related types: foundation::uint8
None¶
None
Layout¶
Layout
Material¶
Material
Duplicate¶
Duplicate
Declared in modules/graphics/renderer/include/ludus/graphics/renderer/render_graph.hpp
RenderGraphCoveragePolicy¶
enum class RenderGraphCoveragePolicy : foundation::uint8
Related types: foundation::uint8
RejectIncomplete¶
RejectIncomplete
DiagnosticColor¶
DiagnosticColor
Declared in modules/graphics/renderer/include/ludus/graphics/renderer/render_graph.hpp
RenderGraphPackageStatus¶
enum class RenderGraphPackageStatus : foundation::uint8
.lurgrt runtime generation. Related types: foundation::uint8
Ready¶
Ready
Malformed¶
Malformed
UnsupportedVersion¶
UnsupportedVersion
CapacityExceeded¶
CapacityExceeded
OutOfMemory¶
OutOfMemory
InvalidState¶
InvalidState
Declared in modules/graphics/renderer/include/ludus/graphics/renderer/render_graph_activation.hpp
RenderGraphCandidateState¶
enum class RenderGraphCandidateState : foundation::uint8
Related types: foundation::uint8
None¶
None
Preparing¶
Preparing
NeedsUpdate¶
NeedsUpdate
Failed¶
Failed
RestartRequired¶
RestartRequired
Declared in modules/graphics/renderer/include/ludus/graphics/renderer/render_graph_activation.hpp
RenderGraphAllocation¶
enum class RenderGraphAllocation : foundation::uint8
Related types: foundation::uint8
ExactPool¶
ExactPool
SerialControl¶
SerialControl
Declared in modules/graphics/renderer/include/ludus/graphics/renderer/render_graph_activation.hpp
RenderGraphPreference¶
enum class RenderGraphPreference : foundation::uint8
Related types: foundation::uint8
Automatic¶
Automatic
ForceRaster¶
ForceRaster
Declared in modules/graphics/renderer/include/ludus/graphics/renderer/render_graph_activation.hpp
RenderGraphRenderer¶
enum class RenderGraphRenderer : foundation::uint8
Related types: foundation::uint8
Raster¶
Raster
HardwareRayTracing¶
HardwareRayTracing
ComputeRayTracing¶
ComputeRayTracing
Declared in modules/graphics/renderer/include/ludus/graphics/renderer/render_graph_activation.hpp
RenderGraphCapturePhase¶
enum class RenderGraphCapturePhase : foundation::uint8
Related types: foundation::uint8
Idle¶
Idle
Initializing¶
Initializing
AwaitingScene¶
AwaitingScene
PreparingScene¶
PreparingScene
Rendering¶
Rendering
ReadingBack¶
ReadingBack
Complete¶
Complete
Stopped¶
Stopped
Failed¶
Failed
Declared in modules/graphics/renderer/include/ludus/graphics/renderer/render_graph_capture.hpp
RenderGraphCaptureProblem¶
enum class RenderGraphCaptureProblem : foundation::uint8
Related types: foundation::uint8
None¶
None
NoOutput¶
NoOutput
RasterRoute¶
RasterRoute
NoAccumulation¶
NoAccumulation
InvalidSettings¶
InvalidSettings
GraphFailure¶
GraphFailure
ReadbackFailure¶
ReadbackFailure
LatchedPixels¶
LatchedPixels
UntiledPackage¶
UntiledPackage
Declared in modules/graphics/renderer/include/ludus/graphics/renderer/render_graph_capture.hpp
DepthConvention¶
enum class DepthConvention : ludus::foundation::uint8
Related types: ludus::foundation::uint8
Conventional¶
Conventional
ReverseZ¶
ReverseZ
Declared in modules/graphics/renderer/include/ludus/graphics/renderer/renderer.hpp
Layer¶
enum class Layer : ludus::foundation::uint8
Related types: ludus::foundation::uint8
Opaque¶
Opaque
Overlay¶
Overlay
Declared in modules/graphics/renderer/include/ludus/graphics/renderer/renderer.hpp
SceneMemoryBudget¶
enum class SceneMemoryBudget : foundation::uint8
Related types: foundation::uint8
None¶
None
CpuScene¶
CpuScene
CpuScratch¶
CpuScratch
GpuPreview¶
GpuPreview
RhiResources¶
RhiResources
DeviceStorageRange¶
DeviceStorageRange
Declared in modules/graphics/renderer/include/ludus/graphics/renderer/scene_shader.hpp
ToneCurve¶
enum class ToneCurve : ludus::foundation::uint8
Related types: ludus::foundation::uint8
Reinhard¶
Reinhard = 1
PbrNeutral¶
PbrNeutral = 2
Declared in modules/graphics/renderer/include/ludus/graphics/renderer/tone_mapping.hpp
ViewportColorMode¶
enum class ViewportColorMode : ludus::foundation::uint8
Related types: ludus::foundation::uint8
PreferHdr¶
PreferHdr
Linear8¶
Linear8
Declared in modules/graphics/renderer/include/ludus/graphics/renderer/viewport.hpp
ScreenFit¶
enum class ScreenFit : ludus::foundation::uint8
Related types: ludus::foundation::uint8
Fit¶
Fit
Fill¶
Fill
Stretch¶
Stretch
IntegerFit¶
IntegerFit
Declared in modules/graphics/renderer/include/ludus/graphics/renderer/views.hpp
ProjectionKind¶
enum class ProjectionKind : ludus::foundation::uint8
Related types: ludus::foundation::uint8
Orthographic¶
Orthographic
Perspective¶
Perspective
PerspectiveInfinite¶
PerspectiveInfinite
Declared in modules/graphics/renderer/include/ludus/graphics/renderer/views.hpp
ProjectionSpace¶
enum class ProjectionSpace : ludus::foundation::uint8
Related types: ludus::foundation::uint8
LogicalScreen¶
LogicalScreen
OutputRegion¶
OutputRegion
Declared in modules/graphics/renderer/include/ludus/graphics/renderer/views.hpp
Aliases¶
LightingLayoutValue¶
typedef uint ludus::graphics::renderer::LightingLayoutValue = foundation::uint32
Related types: foundation::uint32
Declared in modules/graphics/renderer/include/ludus/graphics/renderer/lighting_layout.h
RenderGraphCaptureIdentity¶
using ludus::graphics::renderer::RenderGraphCaptureIdentity =
foundation::StaticArray<foundation::uint8, content::render_graph_format::CAPTURE_IDENTITY_BYTES>
Related types: content::render_graph_format::CAPTURE_IDENTITY_BYTES · foundation::StaticArray · foundation::uint8
Declared in modules/graphics/renderer/include/ludus/graphics/renderer/render_graph_capture.hpp
Constants and variables¶
DEFERRED_TARGET_COUNT¶
static const LightingLayoutValue ludus::graphics::renderer::DEFERRED_TARGET_COUNT = 3
Related types: LightingLayoutValue
Declared in modules/graphics/renderer/include/ludus/graphics/renderer/deferred_layout.h
DEFERRED_VIEW_ROWS¶
static const LightingLayoutValue ludus::graphics::renderer::DEFERRED_VIEW_ROWS = 4
Related types: LightingLayoutValue
Declared in modules/graphics/renderer/include/ludus/graphics/renderer/deferred_layout.h
DEFERRED_VIEW_WORDS¶
static const LightingLayoutValue ludus::graphics::renderer::DEFERRED_VIEW_WORDS = DEFERRED_VIEW_ROWS + 3
Related types: LightingLayoutValue
Declared in modules/graphics/renderer/include/ludus/graphics/renderer/deferred_layout.h
DEFERRED_NORMAL_BINDING¶
static const LightingLayoutValue ludus::graphics::renderer::DEFERRED_NORMAL_BINDING = LUDUS_DEFERRED_NORMAL_BINDING
Related types: LightingLayoutValue
Declared in modules/graphics/renderer/include/ludus/graphics/renderer/deferred_layout.h
DEFERRED_BASE_BINDING¶
static const LightingLayoutValue ludus::graphics::renderer::DEFERRED_BASE_BINDING = LUDUS_DEFERRED_BASE_BINDING
Related types: LightingLayoutValue
Declared in modules/graphics/renderer/include/ludus/graphics/renderer/deferred_layout.h
DEFERRED_EMISSION_BINDING¶
static const LightingLayoutValue ludus::graphics::renderer::DEFERRED_EMISSION_BINDING = LUDUS_DEFERRED_EMISSION_BINDING
Related types: LightingLayoutValue
Declared in modules/graphics/renderer/include/ludus/graphics/renderer/deferred_layout.h
DEFERRED_DEPTH_BINDING¶
static const LightingLayoutValue ludus::graphics::renderer::DEFERRED_DEPTH_BINDING = LUDUS_DEFERRED_DEPTH_BINDING
Related types: LightingLayoutValue
Declared in modules/graphics/renderer/include/ludus/graphics/renderer/deferred_layout.h
DEFERRED_VIEW_BINDING¶
static const LightingLayoutValue ludus::graphics::renderer::DEFERRED_VIEW_BINDING = LUDUS_DEFERRED_VIEW_BINDING
Related types: LightingLayoutValue
Declared in modules/graphics/renderer/include/ludus/graphics/renderer/deferred_layout.h
DEFERRED_BINDING_COUNT¶
static const LightingLayoutValue ludus::graphics::renderer::DEFERRED_BINDING_COUNT = DEFERRED_VIEW_BINDING + 1
Related types: LightingLayoutValue
Declared in modules/graphics/renderer/include/ludus/graphics/renderer/deferred_layout.h
DEFERRED_MESH_LIGHT_BINDING¶
static const LightingLayoutValue ludus::graphics::renderer::DEFERRED_MESH_LIGHT_BINDING = LUDUS_DEFERRED_MESH_LIGHT_BINDING
Related types: LightingLayoutValue
Declared in modules/graphics/renderer/include/ludus/graphics/renderer/deferred_layout.h
DEFERRED_LTC_BINDING¶
static const LightingLayoutValue ludus::graphics::renderer::DEFERRED_LTC_BINDING = LUDUS_DEFERRED_LTC_BINDING
Related types: LightingLayoutValue
Declared in modules/graphics/renderer/include/ludus/graphics/renderer/deferred_layout.h
MAX_MESH_LIGHT_POLYGON_CORNERS¶
static const LightingLayoutValue ludus::graphics::renderer::MAX_MESH_LIGHT_POLYGON_CORNERS = 64
Related types: LightingLayoutValue
Declared in modules/graphics/renderer/include/ludus/graphics/renderer/deferred_layout.h
MESH_LIGHT_POLYGON_HEADER_WORDS¶
static const LightingLayoutValue ludus::graphics::renderer::MESH_LIGHT_POLYGON_HEADER_WORDS = 3
Related types: LightingLayoutValue
Declared in modules/graphics/renderer/include/ludus/graphics/renderer/deferred_layout.h
MESH_LIGHT_POLYGON_BOUND_WORD¶
static const LightingLayoutValue ludus::graphics::renderer::MESH_LIGHT_POLYGON_BOUND_WORD = 2
Related types: LightingLayoutValue
Declared in modules/graphics/renderer/include/ludus/graphics/renderer/deferred_layout.h
MAX_MESH_LIGHT_POLYGON_WORDS¶
static const LightingLayoutValue ludus::graphics::renderer::MAX_MESH_LIGHT_POLYGON_WORDS =
MESH_LIGHT_POLYGON_HEADER_WORDS + MAX_MESH_LIGHT_POLYGON_CORNERS
Related types: LightingLayoutValue
Declared in modules/graphics/renderer/include/ludus/graphics/renderer/deferred_layout.h
MAX_RASTER_MESH_LIGHT_POLYGONS¶
static const LightingLayoutValue ludus::graphics::renderer::MAX_RASTER_MESH_LIGHT_POLYGONS = 32768
Related types: LightingLayoutValue
Declared in modules/graphics/renderer/include/ludus/graphics/renderer/deferred_layout.h
MESH_LIGHT_GRID_HEADER_WORDS¶
static const LightingLayoutValue ludus::graphics::renderer::MESH_LIGHT_GRID_HEADER_WORDS = 3
Related types: LightingLayoutValue
Declared in modules/graphics/renderer/include/ludus/graphics/renderer/deferred_layout.h
MESH_LIGHT_GRID_CULL_WORD¶
static const LightingLayoutValue ludus::graphics::renderer::MESH_LIGHT_GRID_CULL_WORD = 2
Related types: LightingLayoutValue
Declared in modules/graphics/renderer/include/ludus/graphics/renderer/deferred_layout.h
MESH_LIGHT_GRID_CELLS_PER_AXIS¶
static const LightingLayoutValue ludus::graphics::renderer::MESH_LIGHT_GRID_CELLS_PER_AXIS = 32
Related types: LightingLayoutValue
Declared in modules/graphics/renderer/include/ludus/graphics/renderer/deferred_layout.h
MESH_LIGHT_GRID_CELLS_PER_WORD¶
static const LightingLayoutValue ludus::graphics::renderer::MESH_LIGHT_GRID_CELLS_PER_WORD = 2
Related types: LightingLayoutValue
Declared in modules/graphics/renderer/include/ludus/graphics/renderer/deferred_layout.h
MESH_LIGHT_GRID_ENTRIES_PER_WORD¶
static const LightingLayoutValue ludus::graphics::renderer::MESH_LIGHT_GRID_ENTRIES_PER_WORD = 4
Related types: LightingLayoutValue
Declared in modules/graphics/renderer/include/ludus/graphics/renderer/deferred_layout.h
MAX_MESH_LIGHT_GRID_ASSIGNMENTS¶
static const LightingLayoutValue ludus::graphics::renderer::MAX_MESH_LIGHT_GRID_ASSIGNMENTS = 1048576
Related types: LightingLayoutValue
Declared in modules/graphics/renderer/include/ludus/graphics/renderer/deferred_layout.h
MESH_LIGHT_SHADOW_CASTER_CORNER¶
static const LightingLayoutValue ludus::graphics::renderer::MESH_LIGHT_SHADOW_CASTER_CORNER = 1
Related types: LightingLayoutValue
Declared in modules/graphics/renderer/include/ludus/graphics/renderer/deferred_layout.h
MESH_LIGHT_SHADOW_HEADER_WORDS¶
static const LightingLayoutValue ludus::graphics::renderer::MESH_LIGHT_SHADOW_HEADER_WORDS = 1
Related types: LightingLayoutValue
Declared in modules/graphics/renderer/include/ludus/graphics/renderer/deferred_layout.h
MESH_LIGHT_SHADOW_CASTER_WORDS¶
static const LightingLayoutValue ludus::graphics::renderer::MESH_LIGHT_SHADOW_CASTER_WORDS = 5
Related types: LightingLayoutValue
Declared in modules/graphics/renderer/include/ludus/graphics/renderer/deferred_layout.h
MESH_LIGHT_SHADOW_FACE_COUNT¶
static const LightingLayoutValue ludus::graphics::renderer::MESH_LIGHT_SHADOW_FACE_COUNT = 6
Related types: LightingLayoutValue
Declared in modules/graphics/renderer/include/ludus/graphics/renderer/deferred_layout.h
MAX_MESH_LIGHT_SHADOW_CASTERS¶
static const LightingLayoutValue ludus::graphics::renderer::MAX_MESH_LIGHT_SHADOW_CASTERS = 256
Related types: LightingLayoutValue
Declared in modules/graphics/renderer/include/ludus/graphics/renderer/deferred_layout.h
MESH_LIGHT_SHADOW_ATLAS_TEXELS¶
static const LightingLayoutValue ludus::graphics::renderer::MESH_LIGHT_SHADOW_ATLAS_TEXELS = 2048
Related types: LightingLayoutValue
Declared in modules/graphics/renderer/include/ludus/graphics/renderer/deferred_layout.h
MIN_MESH_LIGHT_SHADOW_FACE_TEXELS¶
static const LightingLayoutValue ludus::graphics::renderer::MIN_MESH_LIGHT_SHADOW_FACE_TEXELS = 32
Related types: LightingLayoutValue
Declared in modules/graphics/renderer/include/ludus/graphics/renderer/deferred_layout.h
MAX_MESH_LIGHT_SHADOW_FACE_TEXELS¶
static const LightingLayoutValue ludus::graphics::renderer::MAX_MESH_LIGHT_SHADOW_FACE_TEXELS = 512
Related types: LightingLayoutValue
Declared in modules/graphics/renderer/include/ludus/graphics/renderer/deferred_layout.h
MESH_LIGHT_SHADOW_GUTTER_TEXELS¶
static const LightingLayoutValue ludus::graphics::renderer::MESH_LIGHT_SHADOW_GUTTER_TEXELS = 4
Related types: LightingLayoutValue
Declared in modules/graphics/renderer/include/ludus/graphics/renderer/deferred_layout.h
DEFERRED_MESH_LIGHT_SHADOW_BINDING¶
static const LightingLayoutValue ludus::graphics::renderer::DEFERRED_MESH_LIGHT_SHADOW_BINDING = LUDUS_DEFERRED_MESH_LIGHT_SHADOW_BINDING
Related types: LightingLayoutValue
Declared in modules/graphics/renderer/include/ludus/graphics/renderer/deferred_layout.h
DEFERRED_MAX_HALF¶
static const LightingLayoutValue ludus::graphics::renderer::DEFERRED_MAX_HALF = 65504
Related types: LightingLayoutValue
Declared in modules/graphics/renderer/include/ludus/graphics/renderer/deferred_layout.h
MAX_ENVIRONMENT_RADIANCE¶
constexpr ludus::foundation::float32 ludus::graphics::renderer::MAX_ENVIRONMENT_RADIANCE = 1e12F
Related types: ludus::foundation::float32
Declared in modules/graphics/renderer/include/ludus/graphics/renderer/environment.hpp
MAX_DIRECT_LIGHTS¶
constexpr ludus::foundation::uint32 ludus::graphics::renderer::MAX_DIRECT_LIGHTS = CLUSTERED_LIGHT_COUNT
Related types: ludus::foundation::uint32
Declared in modules/graphics/renderer/include/ludus/graphics/renderer/light_selection.hpp
DEFAULT_LIGHT_RANGE_METERS¶
constexpr ludus::foundation::float32 ludus::graphics::renderer::DEFAULT_LIGHT_RANGE_METERS = 10
Related types: ludus::foundation::float32
Declared in modules/graphics/renderer/include/ludus/graphics/renderer/light_selection.hpp
DEFAULT_SPOT_INNER_COSINE¶
constexpr ludus::foundation::float32 ludus::graphics::renderer::DEFAULT_SPOT_INNER_COSINE = 0.9F
Related types: ludus::foundation::float32
Declared in modules/graphics/renderer/include/ludus/graphics/renderer/light_selection.hpp
DEFAULT_SPOT_OUTER_COSINE¶
constexpr ludus::foundation::float32 ludus::graphics::renderer::DEFAULT_SPOT_OUTER_COSINE = 0.8F
Related types: ludus::foundation::float32
Declared in modules/graphics/renderer/include/ludus/graphics/renderer/light_selection.hpp
MAX_PANEL_LUMINAIRES¶
constexpr ludus::foundation::uint32 ludus::graphics::renderer::MAX_PANEL_LUMINAIRES = 8
Related types: ludus::foundation::uint32
Declared in modules/graphics/renderer/include/ludus/graphics/renderer/light_selection.hpp
MAX_PANEL_LUMINAIRE_COORDINATE¶
constexpr ludus::foundation::float32 ludus::graphics::renderer::MAX_PANEL_LUMINAIRE_COORDINATE = 1000000
Related types: ludus::foundation::float32
Declared in modules/graphics/renderer/include/ludus/graphics/renderer/light_selection.hpp
MAX_PANEL_LUMINAIRE_HALF_EXTENT¶
constexpr ludus::foundation::float32 ludus::graphics::renderer::MAX_PANEL_LUMINAIRE_HALF_EXTENT = 1000
Related types: ludus::foundation::float32
Declared in modules/graphics/renderer/include/ludus/graphics/renderer/light_selection.hpp
MIN_PANEL_LUMINAIRE_HALF_EXTENT¶
constexpr ludus::foundation::float32 ludus::graphics::renderer::MIN_PANEL_LUMINAIRE_HALF_EXTENT = 0.001F
Related types: ludus::foundation::float32
Declared in modules/graphics/renderer/include/ludus/graphics/renderer/light_selection.hpp
MAX_PANEL_LUMINAIRE_RADIANCE_SCALE¶
constexpr ludus::foundation::float32 ludus::graphics::renderer::MAX_PANEL_LUMINAIRE_RADIANCE_SCALE = 1000000
Related types: ludus::foundation::float32
Declared in modules/graphics/renderer/include/ludus/graphics/renderer/light_selection.hpp
MIN_PANEL_LUMINAIRE_BEAM_WIDTH¶
constexpr ludus::foundation::float32 ludus::graphics::renderer::MIN_PANEL_LUMINAIRE_BEAM_WIDTH = 0.001F
Related types: ludus::foundation::float32
Declared in modules/graphics/renderer/include/ludus/graphics/renderer/light_selection.hpp
MAX_PANEL_LUMINAIRE_BEAM_WIDTH¶
constexpr ludus::foundation::float32 ludus::graphics::renderer::MAX_PANEL_LUMINAIRE_BEAM_WIDTH = 1
Related types: ludus::foundation::float32
Declared in modules/graphics/renderer/include/ludus/graphics/renderer/light_selection.hpp
MAX_PANEL_LUMINAIRE_BEAM_SLOPE¶
constexpr ludus::foundation::float32 ludus::graphics::renderer::MAX_PANEL_LUMINAIRE_BEAM_SLOPE = 2
Related types: ludus::foundation::float32
Declared in modules/graphics/renderer/include/ludus/graphics/renderer/light_selection.hpp
DEFAULT_PANEL_LUMINAIRE_HALF_EXTENT¶
constexpr ludus::foundation::float32 ludus::graphics::renderer::DEFAULT_PANEL_LUMINAIRE_HALF_EXTENT = 0.35F
Related types: ludus::foundation::float32
Declared in modules/graphics/renderer/include/ludus/graphics/renderer/light_selection.hpp
DEFAULT_PANEL_LUMINAIRE_RADIANCE_SCALE¶
constexpr ludus::foundation::float32 ludus::graphics::renderer::DEFAULT_PANEL_LUMINAIRE_RADIANCE_SCALE = 6
Related types: ludus::foundation::float32
Declared in modules/graphics/renderer/include/ludus/graphics/renderer/light_selection.hpp
DEFAULT_PANEL_LUMINAIRE_BEAM_WIDTH¶
constexpr ludus::foundation::float32 ludus::graphics::renderer::DEFAULT_PANEL_LUMINAIRE_BEAM_WIDTH = 0.02F
Related types: ludus::foundation::float32
Declared in modules/graphics/renderer/include/ludus/graphics/renderer/light_selection.hpp
DEFAULT_PANEL_LUMINAIRE_BEAM_STEERING¶
constexpr ludus::foundation::float32 ludus::graphics::renderer::DEFAULT_PANEL_LUMINAIRE_BEAM_STEERING = 0.12F
Related types: ludus::foundation::float32
Declared in modules/graphics/renderer/include/ludus/graphics/renderer/light_selection.hpp
DEFAULT_PANEL_LUMINAIRE_BEAM_SPREAD¶
constexpr ludus::foundation::float32 ludus::graphics::renderer::DEFAULT_PANEL_LUMINAIRE_BEAM_SPREAD = 0.08F
Related types: ludus::foundation::float32
Declared in modules/graphics/renderer/include/ludus/graphics/renderer/light_selection.hpp
DEFAULT_PANEL_LUMINAIRE_BEAM_TWIST¶
constexpr ludus::foundation::float32 ludus::graphics::renderer::DEFAULT_PANEL_LUMINAIRE_BEAM_TWIST = 0.04F
Related types: ludus::foundation::float32
Declared in modules/graphics/renderer/include/ludus/graphics/renderer/light_selection.hpp
LIGHT_TRANSFORMER_DIMENSION¶
constexpr foundation::usize ludus::graphics::renderer::LIGHT_TRANSFORMER_DIMENSION = LUDUS_LIGHT_TRANSFORMER_DIMENSION
Related types: foundation::usize
Declared in modules/graphics/renderer/include/ludus/graphics/renderer/light_transformer.hpp
LIGHT_TRANSFORMER_DECODER_WEIGHTS¶
constexpr foundation::usize ludus::graphics::renderer::LIGHT_TRANSFORMER_DECODER_WEIGHTS = LUDUS_LIGHT_TRANSFORMER_WEIGHT_COUNT
Related types: foundation::usize
Declared in modules/graphics/renderer/include/ludus/graphics/renderer/light_transformer.hpp
LIGHT_TRANSFORMER_RESULT_BUFFER¶
constexpr foundation::usize ludus::graphics::renderer::LIGHT_TRANSFORMER_RESULT_BUFFER = 3
Related types: foundation::usize
Declared in modules/graphics/renderer/include/ludus/graphics/renderer/light_transformer.hpp
AREA_TRIANGLE_CORNERS¶
constexpr ludus::foundation::usize ludus::graphics::renderer::AREA_TRIANGLE_CORNERS = 3
Related types: ludus::foundation::usize
Declared in modules/graphics/renderer/include/ludus/graphics/renderer/lighting.hpp
POINT_SHADOW_FACES¶
constexpr ludus::foundation::uint32 ludus::graphics::renderer::POINT_SHADOW_FACES = 6
Related types: ludus::foundation::uint32
Declared in modules/graphics/renderer/include/ludus/graphics/renderer/lighting.hpp
MAX_CLUSTER_COORDINATE¶
constexpr foundation::float32 ludus::graphics::renderer::MAX_CLUSTER_COORDINATE = 1000000
Related types: foundation::float32
Declared in modules/graphics/renderer/include/ludus/graphics/renderer/lighting.hpp
MIN_CLUSTER_EXTENT¶
constexpr foundation::float32 ludus::graphics::renderer::MIN_CLUSTER_EXTENT = 0.01F
Related types: foundation::float32
Declared in modules/graphics/renderer/include/ludus/graphics/renderer/lighting.hpp
MAX_CLUSTER_EXTENT¶
constexpr foundation::float32 ludus::graphics::renderer::MAX_CLUSTER_EXTENT = 2 * MAX_CLUSTER_COORDINATE
Related types: foundation::float32
Declared in modules/graphics/renderer/include/ludus/graphics/renderer/lighting.hpp
SHADOW_REGION_CAPACITY¶
static const LightingLayoutValue ludus::graphics::renderer::SHADOW_REGION_CAPACITY = 80
Related types: LightingLayoutValue
Declared in modules/graphics/renderer/include/ludus/graphics/renderer/lighting_layout.h
SHADOW_REGION_WORDS¶
static const LightingLayoutValue ludus::graphics::renderer::SHADOW_REGION_WORDS = 6
Related types: LightingLayoutValue
Declared in modules/graphics/renderer/include/ludus/graphics/renderer/lighting_layout.h
SHADOW_DATA_WORDS¶
static const LightingLayoutValue ludus::graphics::renderer::SHADOW_DATA_WORDS = SHADOW_REGION_CAPACITY * SHADOW_REGION_WORDS
Related types: LightingLayoutValue
Declared in modules/graphics/renderer/include/ludus/graphics/renderer/lighting_layout.h
FORWARD_HEADER_WORDS¶
static const LightingLayoutValue ludus::graphics::renderer::FORWARD_HEADER_WORDS = 9
Related types: LightingLayoutValue
Declared in modules/graphics/renderer/include/ludus/graphics/renderer/lighting_layout.h
FORWARD_LIGHT_COUNT¶
static const LightingLayoutValue ludus::graphics::renderer::FORWARD_LIGHT_COUNT = 8
Related types: LightingLayoutValue
Declared in modules/graphics/renderer/include/ludus/graphics/renderer/lighting_layout.h
FORWARD_LIGHT_WORDS¶
static const LightingLayoutValue ludus::graphics::renderer::FORWARD_LIGHT_WORDS = 4
Related types: LightingLayoutValue
Declared in modules/graphics/renderer/include/ludus/graphics/renderer/lighting_layout.h
FORWARD_SHADOW_OFFSET¶
static const LightingLayoutValue ludus::graphics::renderer::FORWARD_SHADOW_OFFSET =
(FORWARD_HEADER_WORDS + FORWARD_LIGHT_COUNT * FORWARD_LIGHT_WORDS) * 16
Related types: LightingLayoutValue
Declared in modules/graphics/renderer/include/ludus/graphics/renderer/lighting_layout.h
FORWARD_SURFACE_OFFSET¶
static const LightingLayoutValue ludus::graphics::renderer::FORWARD_SURFACE_OFFSET = FORWARD_SHADOW_OFFSET + SHADOW_DATA_WORDS * 16
Related types: LightingLayoutValue
Declared in modules/graphics/renderer/include/ludus/graphics/renderer/lighting_layout.h
CLUSTERED_LIGHT_COUNT¶
static const LightingLayoutValue ludus::graphics::renderer::CLUSTERED_LIGHT_COUNT = 128
Related types: LightingLayoutValue
Declared in modules/graphics/renderer/include/ludus/graphics/renderer/lighting_layout.h
CLUSTERED_GRID_ROWS¶
static const LightingLayoutValue ludus::graphics::renderer::CLUSTERED_GRID_ROWS = 3
Related types: LightingLayoutValue
Declared in modules/graphics/renderer/include/ludus/graphics/renderer/lighting_layout.h
CLUSTERED_GRID_WORDS¶
static const LightingLayoutValue ludus::graphics::renderer::CLUSTERED_GRID_WORDS = CLUSTERED_GRID_ROWS + 2
Related types: LightingLayoutValue
Declared in modules/graphics/renderer/include/ludus/graphics/renderer/lighting_layout.h
CLUSTERED_AUTHORED_BINDING_COUNT¶
static const LightingLayoutValue ludus::graphics::renderer::CLUSTERED_AUTHORED_BINDING_COUNT = 11
Related types: LightingLayoutValue
Declared in modules/graphics/renderer/include/ludus/graphics/renderer/lighting_layout.h
CLUSTERED_SHADOW_OFFSET¶
static const LightingLayoutValue ludus::graphics::renderer::CLUSTERED_SHADOW_OFFSET =
(FORWARD_HEADER_WORDS + CLUSTERED_LIGHT_COUNT * FORWARD_LIGHT_WORDS) * 16
Related types: LightingLayoutValue
Declared in modules/graphics/renderer/include/ludus/graphics/renderer/lighting_layout.h
CLUSTERED_GRID_OFFSET¶
static const LightingLayoutValue ludus::graphics::renderer::CLUSTERED_GRID_OFFSET = CLUSTERED_SHADOW_OFFSET + SHADOW_DATA_WORDS * 16
Related types: LightingLayoutValue
Declared in modules/graphics/renderer/include/ludus/graphics/renderer/lighting_layout.h
CLUSTERED_SURFACE_OFFSET¶
static const LightingLayoutValue ludus::graphics::renderer::CLUSTERED_SURFACE_OFFSET = CLUSTERED_GRID_OFFSET + CLUSTERED_GRID_WORDS * 16
Related types: LightingLayoutValue
Declared in modules/graphics/renderer/include/ludus/graphics/renderer/lighting_layout.h
LIGHTING_PROFILE_VERSION¶
static const LightingLayoutValue ludus::graphics::renderer::LIGHTING_PROFILE_VERSION = 8
Related types: LightingLayoutValue
Declared in modules/graphics/renderer/include/ludus/graphics/renderer/lighting_layout.h
MATERIAL_DEBUG_VIEW_NONE¶
static const LightingLayoutValue ludus::graphics::renderer::MATERIAL_DEBUG_VIEW_NONE = 0
Related types: LightingLayoutValue
Declared in modules/graphics/renderer/include/ludus/graphics/renderer/lighting_layout.h
MATERIAL_DEBUG_VIEW_NORMAL_WORLD¶
static const LightingLayoutValue ludus::graphics::renderer::MATERIAL_DEBUG_VIEW_NORMAL_WORLD = 1
Related types: LightingLayoutValue
Declared in modules/graphics/renderer/include/ludus/graphics/renderer/lighting_layout.h
MATERIAL_DEBUG_VIEW_LINEAR_DEPTH¶
static const LightingLayoutValue ludus::graphics::renderer::MATERIAL_DEBUG_VIEW_LINEAR_DEPTH = 2
Related types: LightingLayoutValue
Declared in modules/graphics/renderer/include/ludus/graphics/renderer/lighting_layout.h
MATERIAL_DEBUG_VIEW_ROUGHNESS¶
static const LightingLayoutValue ludus::graphics::renderer::MATERIAL_DEBUG_VIEW_ROUGHNESS = 3
Related types: LightingLayoutValue
Declared in modules/graphics/renderer/include/ludus/graphics/renderer/lighting_layout.h
MATERIAL_DEBUG_VIEW_METALLIC¶
static const LightingLayoutValue ludus::graphics::renderer::MATERIAL_DEBUG_VIEW_METALLIC = 4
Related types: LightingLayoutValue
Declared in modules/graphics/renderer/include/ludus/graphics/renderer/lighting_layout.h
MATERIAL_DEBUG_VIEW_TEXCOORD_UV¶
static const LightingLayoutValue ludus::graphics::renderer::MATERIAL_DEBUG_VIEW_TEXCOORD_UV = 5
Related types: LightingLayoutValue
Declared in modules/graphics/renderer/include/ludus/graphics/renderer/lighting_layout.h
MATERIAL_DEBUG_VIEW_LIGHT_COUNT¶
static const LightingLayoutValue ludus::graphics::renderer::MATERIAL_DEBUG_VIEW_LIGHT_COUNT = 6
Related types: LightingLayoutValue
Declared in modules/graphics/renderer/include/ludus/graphics/renderer/lighting_layout.h
MATERIAL_DEBUG_VIEW_WIREFRAME¶
static const LightingLayoutValue ludus::graphics::renderer::MATERIAL_DEBUG_VIEW_WIREFRAME = 7
Related types: LightingLayoutValue
Declared in modules/graphics/renderer/include/ludus/graphics/renderer/lighting_layout.h
MATERIAL_DEBUG_WIREFRAME_RED¶
static const LightingLayoutValue ludus::graphics::renderer::MATERIAL_DEBUG_WIREFRAME_RED = 219
Related types: LightingLayoutValue
Declared in modules/graphics/renderer/include/ludus/graphics/renderer/lighting_layout.h
MATERIAL_DEBUG_WIREFRAME_GREEN¶
static const LightingLayoutValue ludus::graphics::renderer::MATERIAL_DEBUG_WIREFRAME_GREEN = 224
Related types: LightingLayoutValue
Declared in modules/graphics/renderer/include/ludus/graphics/renderer/lighting_layout.h
MATERIAL_DEBUG_WIREFRAME_BLUE¶
static const LightingLayoutValue ludus::graphics::renderer::MATERIAL_DEBUG_WIREFRAME_BLUE = 235
Related types: LightingLayoutValue
Declared in modules/graphics/renderer/include/ludus/graphics/renderer/lighting_layout.h
MATERIAL_DEBUG_WIREFRAME_EDGE_ON_PERCENT¶
static const LightingLayoutValue ludus::graphics::renderer::MATERIAL_DEBUG_WIREFRAME_EDGE_ON_PERCENT = 35
Related types: LightingLayoutValue
Declared in modules/graphics/renderer/include/ludus/graphics/renderer/lighting_layout.h
MATERIAL_DEBUG_LIGHT_COUNT_SATURATION¶
static const LightingLayoutValue ludus::graphics::renderer::MATERIAL_DEBUG_LIGHT_COUNT_SATURATION = 16
Related types: LightingLayoutValue
Declared in modules/graphics/renderer/include/ludus/graphics/renderer/lighting_layout.h
POINT_NEIGHBOR_RESULT_BUFFER¶
constexpr foundation::usize ludus::graphics::renderer::POINT_NEIGHBOR_RESULT_BUFFER = 3
Related types: foundation::usize
Declared in modules/graphics/renderer/include/ludus/graphics/renderer/point_neighbors.hpp
VISIBILITY_GRAPH_FIXED_RESOURCES¶
constexpr foundation::uint32 ludus::graphics::renderer::VISIBILITY_GRAPH_FIXED_RESOURCES = 11
Related types: foundation::uint32
Declared in modules/graphics/renderer/include/ludus/graphics/renderer/render_graph.hpp
VISIBILITY_GRAPH_RESOURCE_CAPACITY¶
constexpr foundation::uint32 ludus::graphics::renderer::VISIBILITY_GRAPH_RESOURCE_CAPACITY =
VISIBILITY_GRAPH_FIXED_RESOURCES +
static_cast<foundation::uint32>(content::render_graph_format::MAX_STORAGE_BUFFERS) +
2 * static_cast<foundation::uint32>(content::render_graph_format::MAX_MESHES)
Related types: foundation::uint32
Declared in modules/graphics/renderer/include/ludus/graphics/renderer/render_graph.hpp
RENDER_GRAPH_RAY_CPU_BYTES¶
constexpr foundation::usize ludus::graphics::renderer::RENDER_GRAPH_RAY_CPU_BYTES =
foundation::usize{2} * 1024 * 1024 * 1024 * (sizeof(foundation::usize) > sizeof(foundation::uint32) ? 2 : 1)
Related types: foundation::usize
Declared in modules/graphics/renderer/include/ludus/graphics/renderer/render_graph.hpp
RENDER_GRAPH_RAY_GPU_BYTES¶
constexpr foundation::usize ludus::graphics::renderer::RENDER_GRAPH_RAY_GPU_BYTES =
foundation::usize{2} * 1024 * 1024 * 1024 * (sizeof(foundation::usize) > sizeof(foundation::uint32) ? 3 : 1)
Related types: foundation::usize
Declared in modules/graphics/renderer/include/ludus/graphics/renderer/render_graph.hpp
RENDER_GRAPH_FAILURE_AUTHORED_FIRST¶
constexpr foundation::uint32 ludus::graphics::renderer::RENDER_GRAPH_FAILURE_AUTHORED_FIRST = 32
Related types: foundation::uint32
Declared in modules/graphics/renderer/include/ludus/graphics/renderer/render_graph.hpp
MAX_RENDER_GRAPH_FAILURE_REASONS¶
constexpr foundation::uint32 ludus::graphics::renderer::MAX_RENDER_GRAPH_FAILURE_REASONS = 64
Related types: foundation::uint32
Declared in modules/graphics/renderer/include/ludus/graphics/renderer/render_graph.hpp
RAY_PATH_INVALID_INDEX¶
constexpr foundation::uint32 ludus::graphics::renderer::RAY_PATH_INVALID_INDEX = 0xffffffffU
Related types: foundation::uint32
Declared in modules/graphics/renderer/include/ludus/graphics/renderer/render_graph.hpp
DEFAULT_RAY_PATH_SAMPLES¶
constexpr foundation::uint32 ludus::graphics::renderer::DEFAULT_RAY_PATH_SAMPLES = 16
Related types: foundation::uint32
Declared in modules/graphics/renderer/include/ludus/graphics/renderer/render_graph.hpp
MAX_RENDER_GRAPH_CAPTURE_SAMPLES¶
constexpr foundation::uint32 ludus::graphics::renderer::MAX_RENDER_GRAPH_CAPTURE_SAMPLES = 65536
Related types: foundation::uint32
Declared in modules/graphics/renderer/include/ludus/graphics/renderer/render_graph.hpp
MAX_RENDER_GRAPH_RAY_TILES¶
constexpr foundation::uint32 ludus::graphics::renderer::MAX_RENDER_GRAPH_RAY_TILES = 128
Related types: foundation::uint32
Declared in modules/graphics/renderer/include/ludus/graphics/renderer/render_graph.hpp
RENDER_GRAPH_ACCUMULATION_WORDS¶
constexpr foundation::uint32 ludus::graphics::renderer::RENDER_GRAPH_ACCUMULATION_WORDS = 2
Related types: foundation::uint32
Declared in modules/graphics/renderer/include/ludus/graphics/renderer/render_graph.hpp
MAX_RAY_PATH_SAMPLES¶
constexpr foundation::uint32 ludus::graphics::renderer::MAX_RAY_PATH_SAMPLES = 256
Related types: foundation::uint32
Declared in modules/graphics/renderer/include/ludus/graphics/renderer/render_graph.hpp
DEFAULT_RAY_PATH_RECORDS¶
constexpr foundation::uint32 ludus::graphics::renderer::DEFAULT_RAY_PATH_RECORDS = 1024
Related types: foundation::uint32
Declared in modules/graphics/renderer/include/ludus/graphics/renderer/render_graph.hpp
MAX_RAY_PATH_RECORDS¶
constexpr foundation::uint32 ludus::graphics::renderer::MAX_RAY_PATH_RECORDS = 2048
Related types: foundation::uint32
Declared in modules/graphics/renderer/include/ludus/graphics/renderer/render_graph.hpp
RENDER_GRAPH_POOL_CAPACITY¶
constexpr foundation::uint32 ludus::graphics::renderer::RENDER_GRAPH_POOL_CAPACITY =
static_cast<foundation::uint32>(content::render_graph_format::MAX_RESOURCES)
Related types: foundation::uint32
Declared in modules/graphics/renderer/include/ludus/graphics/renderer/render_graph.hpp
MIN_RENDER_GRAPH_CAPTURE_SAMPLES¶
constexpr foundation::uint32 ludus::graphics::renderer::MIN_RENDER_GRAPH_CAPTURE_SAMPLES = 1
Related types: foundation::uint32
Declared in modules/graphics/renderer/include/ludus/graphics/renderer/render_graph_capture.hpp
DEFAULT_RENDER_GRAPH_CAPTURE_SAMPLES¶
constexpr foundation::uint32 ludus::graphics::renderer::DEFAULT_RENDER_GRAPH_CAPTURE_SAMPLES = 64
Related types: foundation::uint32
Declared in modules/graphics/renderer/include/ludus/graphics/renderer/render_graph_capture.hpp
MAX_RENDER_GRAPH_CAPTURE_VISIBILITY_QUERIES¶
constexpr foundation::uint32 ludus::graphics::renderer::MAX_RENDER_GRAPH_CAPTURE_VISIBILITY_QUERIES = 256
Related types: foundation::uint32
Declared in modules/graphics/renderer/include/ludus/graphics/renderer/render_graph_capture.hpp
RENDER_GRAPH_CAPTURE_QUERY_NANOSECONDS¶
constexpr foundation::uint32 ludus::graphics::renderer::RENDER_GRAPH_CAPTURE_QUERY_NANOSECONDS = 8
Related types: foundation::uint32
Declared in modules/graphics/renderer/include/ludus/graphics/renderer/render_graph_capture.hpp
RENDER_GRAPH_CAPTURE_QUERIES_PER_LIGHT¶
constexpr foundation::uint32 ludus::graphics::renderer::RENDER_GRAPH_CAPTURE_QUERIES_PER_LIGHT = 2
Related types: foundation::uint32
Declared in modules/graphics/renderer/include/ludus/graphics/renderer/render_graph_capture.hpp
RENDER_GRAPH_CAPTURE_TILE_NANOSECONDS¶
constexpr foundation::uint64 ludus::graphics::renderer::RENDER_GRAPH_CAPTURE_TILE_NANOSECONDS = 250'000'000
Related types: foundation::uint64
Declared in modules/graphics/renderer/include/ludus/graphics/renderer/render_graph_capture.hpp
SCENE_SHADER_INTERFACE_VERSION¶
constexpr foundation::uint32 ludus::graphics::renderer::SCENE_SHADER_INTERFACE_VERSION = LUDUS_SCENE_SHADER_INTERFACE_VERSION
Related types: foundation::uint32
Declared in modules/graphics/renderer/include/ludus/graphics/renderer/scene_shader.hpp
SCENE_LINE_INTERVAL_CAPACITY¶
constexpr foundation::uint32 ludus::graphics::renderer::SCENE_LINE_INTERVAL_CAPACITY = LUDUS_SCENE_LINE_INTERVAL_CAPACITY
FindVisibleLineIntervals result, the length of the Slang LineVisibility::Intervals array. The query keeps at most one fewer occluded intervals while it scans; a segment that needs more fails the query rather than approximating its visibility. Related types: foundation::uint32
Declared in modules/graphics/renderer/include/ludus/graphics/renderer/scene_shader.hpp
SCENE_LINE_INTERVAL_MERGE_TOLERANCE¶
constexpr foundation::float32 ludus::graphics::renderer::SCENE_LINE_INTERVAL_MERGE_TOLERANCE =
static_cast<foundation::float32>(LUDUS_SCENE_LINE_INTERVAL_MERGE_TOLERANCE)
Related types: foundation::float32
Declared in modules/graphics/renderer/include/ludus/graphics/renderer/scene_shader.hpp
DEFAULT_SCENE_MATERIAL¶
constexpr foundation::uint32 ludus::graphics::renderer::DEFAULT_SCENE_MATERIAL = ~foundation::uint32{0}
Related types: foundation::uint32
Declared in modules/graphics/renderer/include/ludus/graphics/renderer/scene_shader.hpp
INHERIT_SCENE_MATERIAL¶
constexpr foundation::uint32 ludus::graphics::renderer::INHERIT_SCENE_MATERIAL = DEFAULT_SCENE_MATERIAL - 1
Related types: foundation::uint32
Declared in modules/graphics/renderer/include/ludus/graphics/renderer/scene_shader.hpp
MAX_STATIC_LIGHTING_RANGES¶
constexpr foundation::uint32 ludus::graphics::renderer::MAX_STATIC_LIGHTING_RANGES = 1024
Related types: foundation::uint32
Declared in modules/graphics/renderer/include/ludus/graphics/renderer/static_lighting.hpp
PBR_NEUTRAL_FRESNEL_AT_NORMAL¶
constexpr ludus::foundation::float32 ludus::graphics::renderer::PBR_NEUTRAL_FRESNEL_AT_NORMAL = 0.04F
Related types: ludus::foundation::float32
Declared in modules/graphics/renderer/include/ludus/graphics/renderer/tone_mapping.hpp
PBR_NEUTRAL_COMPRESSION_START¶
constexpr ludus::foundation::float32 ludus::graphics::renderer::PBR_NEUTRAL_COMPRESSION_START = 0.8F - PBR_NEUTRAL_FRESNEL_AT_NORMAL
Related types: ludus::foundation::float32
Declared in modules/graphics/renderer/include/ludus/graphics/renderer/tone_mapping.hpp
PBR_NEUTRAL_DESATURATION¶
constexpr ludus::foundation::float32 ludus::graphics::renderer::PBR_NEUTRAL_DESATURATION = 0.15F
Related types: ludus::foundation::float32
Declared in modules/graphics/renderer/include/ludus/graphics/renderer/tone_mapping.hpp
PBR_NEUTRAL_INVERSE_LIMIT¶
constexpr ludus::foundation::float32 ludus::graphics::renderer::PBR_NEUTRAL_INVERSE_LIMIT = 0.995F
Related types: ludus::foundation::float32
Declared in modules/graphics/renderer/include/ludus/graphics/renderer/tone_mapping.hpp
WORLD_GRID_HALF_LINE_COUNT¶
constexpr foundation::int32 ludus::graphics::renderer::WORLD_GRID_HALF_LINE_COUNT = 40
Related types: foundation::int32
Declared in modules/graphics/renderer/include/ludus/graphics/renderer/world_grid.hpp
WORLD_GRID_AXIS_COUNT¶
constexpr foundation::usize ludus::graphics::renderer::WORLD_GRID_AXIS_COUNT = 3
Related types: foundation::usize
Declared in modules/graphics/renderer/include/ludus/graphics/renderer/world_grid.hpp
WORLD_GRID_LINE_CAPACITY¶
constexpr foundation::usize ludus::graphics::renderer::WORLD_GRID_LINE_CAPACITY =
2 * (2 * static_cast<foundation::usize>(WORLD_GRID_HALF_LINE_COUNT) + 1) + WORLD_GRID_AXIS_COUNT
Related types: foundation::usize
Declared in modules/graphics/renderer/include/ludus/graphics/renderer/world_grid.hpp
Functions¶
ReadLightTransformerDecoderWeights¶
rhi::RasterStatus ludus::graphics::renderer::ReadLightTransformerDecoderWeights(foundation::BorrowedView< const foundation::uint8 > bytes, foundation::Array< foundation::float32 > &outWeights) noexcept
| Parameter | Description |
|---|---|
bytes |
Exact complete asset, consumed before return; trailing bytes reject.
|
outWeights |
Replaced only on Ready with LIGHT_TRANSFORMER_DECODER_WEIGHTS finite scalars.
|
Returns
Related types: foundation::BorrowedView · foundation::Array · foundation::float32 · foundation::uint8 · rhi::RasterStatus
Declared in modules/graphics/renderer/include/ludus/graphics/renderer/light_transformer.hpp
PrepareLightTransformerDecoder¶
rhi::RasterStatus ludus::graphics::renderer::PrepareLightTransformerDecoder(foundation::BorrowedView< const foundation::float32 > weights, foundation::BorrowedView< const LightTransformerAnchor > anchors, foundation::BorrowedView< const LightTransformerQuery > queries, rhi::DeviceHandle device, const rhi::RasterShaderDescription &shader, foundation::usize maximumBufferBytes, rhi::ComputeWorkload &outWorkload) noexcept
| Parameter | Description |
|---|---|
device |
Ready owner-thread compute device, between frames.
|
weights |
Offline-adapted parameters in the canonical packed order; copied.
|
anchors |
At least 32 finite encoded anchors in matched model coordinates; copied.
|
queries |
Finite model queries; nonzero normals are normalized; copied.
|
shader |
Cooked renderer_light_transformer_decoder recipe. Artifact survives through Poll.
|
maximumBufferBytes |
Explicit budget for parameters, weights, anchors, queries, tree and results.
|
outWorkload |
Empty owner, acquired only on Ready/Pending; failure preserves it.
|
Returns
Related types: foundation::BorrowedView · rhi::ComputeWorkload · foundation::float32 · foundation::usize · rhi::RasterStatus · LightTransformerAnchor · LightTransformerQuery · rhi::DeviceHandle · rhi::RasterShaderDescription
Declared in modules/graphics/renderer/include/ludus/graphics/renderer/light_transformer.hpp
PrepareLightTransformerEncoder¶
rhi::RasterStatus ludus::graphics::renderer::PrepareLightTransformerEncoder(foundation::BorrowedView< const foundation::uint8 > encoderAsset, foundation::BorrowedView< const LightTransformerScenePoint > points, foundation::math::Vector4 worldToModel, rhi::DeviceHandle device, const rhi::RasterShaderDescription &shader, foundation::usize maximumBufferBytes, LightTransformerEncoding &outEncoding, foundation::BorrowedView< const foundation::float32 > decoderWeights={}, rhi::BufferHandle destination={}, foundation::usize destinationBytes=0) noexcept
| Parameter | Description |
|---|---|
encoderAsset |
Complete offline
--encoder-output asset, copied/validated synchronously. |
points |
128..20000 finite model-space surface points, copied. Point order determines FPS ties.
|
worldToModel |
XYZ world translation and W positive uniform scale: (positionWorld-XYZ)*W.
|
device |
Ready compute owner-thread device between frames; Metal and Vulkan use the same kernels.
|
shader |
Cooked renderer_light_transformer_encoder recipe; retain artifact through Poll.
|
maximumBufferBytes |
Explicit total logical GPU buffer budget; reduce points or raise it on CapacityExceeded.
|
outEncoding |
Empty owner, replaced only on Ready/Pending. Failure preserves it.
|
decoderWeights |
Optional canonical decoder parameters, copied into the packet for the graph template. Empty keeps the standalone encoder packet.
|
destination |
Optional borrowed graph-owned storage; kept alive through workload Reset.
|
destinationBytes |
Usable destination capacity, zero when no destination is supplied.
|
Returns
Related types: foundation::BorrowedView · foundation::float32 · foundation::uint8 · foundation::usize · rhi::RasterStatus · foundation::math::Vector4 · LightTransformerEncoding · LightTransformerScenePoint · rhi::BufferHandle · rhi::DeviceHandle · rhi::RasterShaderDescription
Declared in modules/graphics/renderer/include/ludus/graphics/renderer/light_transformer_encoder.hpp
PrepareLightTransformerEncodedQueries¶
rhi::RasterStatus ludus::graphics::renderer::PrepareLightTransformerEncodedQueries(foundation::BorrowedView< const foundation::float32 > weights, const LightTransformerEncoding &encoding, foundation::BorrowedView< const LightTransformerQuery > queries, rhi::DeviceHandle device, const rhi::RasterShaderDescription &shader, foundation::usize maximumBufferBytes, rhi::ComputeWorkload &outWorkload) noexcept
| Parameter | Description |
|---|---|
weights |
Canonical decoder parameters; copied and required finite.
|
encoding |
Successfully prepared encoder, kept alive until the query workload resets. Execute its encoder graph before executing this query graph on the same device.
|
queries |
Model-space queries, copied/normalized as in PrepareLightTransformerDecoder.
|
device |
Same ready owner-thread device as encoding, between frames.
|
shader |
Cooked renderer_light_transformer_encoded_queries recipe, retained through Poll.
|
maximumBufferBytes |
Total logical storage budget, including the borrowed packet prefix.
|
outWorkload |
Empty owner, acquired only on Ready/Pending. Failure preserves it.
|
Returns
Related types: foundation::BorrowedView · rhi::ComputeWorkload · foundation::float32 · foundation::usize · rhi::RasterStatus · LightTransformerEncoding · LightTransformerQuery · rhi::DeviceHandle · rhi::RasterShaderDescription
Declared in modules/graphics/renderer/include/ludus/graphics/renderer/light_transformer_encoder.hpp
PrepareLightTransformerPacketQueries¶
rhi::RasterStatus ludus::graphics::renderer::PrepareLightTransformerPacketQueries(foundation::BorrowedView< const foundation::float32 > weights, rhi::BufferHandle packet, foundation::usize packetBytes, foundation::BorrowedView< const LightTransformerQuery > queries, rhi::DeviceHandle device, const rhi::RasterShaderDescription &shader, foundation::usize maximumBufferBytes, rhi::ComputeWorkload &outWorkload) noexcept
| Parameter | Description |
|---|---|
weights |
Canonical finite decoder parameters, copied.
|
packet |
Ready same-device buffer produced by a completed encoder or Light Transformer graph frame. Caller keeps its owner alive until the query workload resets; arbitrary/uninitialized data is unsupported.
|
packetBytes |
Complete accessible packet prefix, a positive multiple of sixteen.
|
queries |
Model-space queries, copied and normalized before return.
|
device |
Ready owner-thread device, between frames.
|
shader |
Cooked renderer_light_transformer_encoded_queries artifact, retained through Poll.
|
maximumBufferBytes |
Logical storage budget, including borrowed packet bytes.
|
outWorkload |
Empty owner, acquired only on Ready/Pending. Failure preserves it.
|
Returns
Related types: foundation::BorrowedView · rhi::ComputeWorkload · foundation::float32 · foundation::usize · rhi::RasterStatus · LightTransformerQuery · rhi::BufferHandle · rhi::DeviceHandle · rhi::RasterShaderDescription
Declared in modules/graphics/renderer/include/ludus/graphics/renderer/light_transformer_encoder.hpp
ResolveMeshEmissionPower¶
rhi::RasterStatus ludus::graphics::renderer::ResolveMeshEmissionPower(foundation::math::Vector3 color, foundation::float32 lumens, foundation::float64 areaWorld, bool isTwoSided, foundation::math::Vector3 &outEmission) noexcept
Related types: foundation::float32 · foundation::float64 · rhi::RasterStatus · foundation::math::Vector3
Declared in modules/graphics/renderer/include/ludus/graphics/renderer/lighting.hpp
BuildTriangleAreaLights¶
rhi::RasterStatus ludus::graphics::renderer::BuildTriangleAreaLights(const TriangleAreaLightDescription &description, AreaLightSamples &outSamples) noexcept
Related types: rhi::RasterStatus · AreaLightSamples · TriangleAreaLightDescription
Declared in modules/graphics/renderer/include/ludus/graphics/renderer/lighting.hpp
BuildPlanarAreaLight¶
rhi::RasterStatus ludus::graphics::renderer::BuildPlanarAreaLight(const PlanarAreaLightDescription &description, DirectLight &outLight) noexcept
Related types: rhi::RasterStatus · DirectLight · PlanarAreaLightDescription
Declared in modules/graphics/renderer/include/ludus/graphics/renderer/lighting.hpp
BuildPointShadowMatrix¶
rhi::RasterStatus ludus::graphics::renderer::BuildPointShadowMatrix(ludus::foundation::math::Vector3 positionWorld, ludus::foundation::uint32 face, ludus::foundation::float32 nearDistance, ludus::foundation::float32 farDistance, ludus::foundation::math::Matrix4 &outWorldToClip) noexcept
Related types: ludus::foundation::float32 · ludus::foundation::uint32 · rhi::RasterStatus · ludus::foundation::math::Matrix4 · ludus::foundation::math::Vector3
Declared in modules/graphics/renderer/include/ludus/graphics/renderer/lighting.hpp
SelectDirectLights¶
rhi::RasterStatus ludus::graphics::renderer::SelectDirectLights(const DirectLight *lights, ludus::foundation::usize count, LightSelection &output) noexcept
Related types: ludus::foundation::usize · rhi::RasterStatus · DirectLight · LightSelection
Declared in modules/graphics/renderer/include/ludus/graphics/renderer/lighting.hpp
NormalizeDirectLights¶
rhi::RasterStatus ludus::graphics::renderer::NormalizeDirectLights(const DirectLight *lights, ludus::foundation::usize count, LightSelection &output) noexcept
Related types: ludus::foundation::usize · rhi::RasterStatus · DirectLight · LightSelection
Declared in modules/graphics/renderer/include/ludus/graphics/renderer/lighting.hpp
NormalizePanelLuminaires¶
rhi::RasterStatus ludus::graphics::renderer::NormalizePanelLuminaires(const PanelLuminaire *luminairesOrNull, ludus::foundation::usize count, PanelLuminaireSelection &outSelection) noexcept
| Parameter | Description |
|---|---|
luminairesOrNull |
Borrowed for the call; may be null only when count is zero.
|
count |
Number of submitted luminaires.
|
outSelection |
Replaced on success.
|
Returns
Related types: ludus::foundation::usize · rhi::RasterStatus · PanelLuminaire · PanelLuminaireSelection
Declared in modules/graphics/renderer/include/ludus/graphics/renderer/lighting.hpp
BuildLightClusters¶
rhi::RasterStatus ludus::graphics::renderer::BuildLightClusters(const LightClusterDescription &description, const DirectLight *lights, ludus::foundation::usize count, LightClusters &output) noexcept
Related types: ludus::foundation::usize · rhi::RasterStatus · DirectLight · LightClusterDescription · LightClusters
Declared in modules/graphics/renderer/include/ludus/graphics/renderer/lighting.hpp
DecodeSurfaceParameters¶
rhi::RasterStatus ludus::graphics::renderer::DecodeSurfaceParameters(ludus::foundation::math::Vector4 texel, ludus::foundation::float32 metallic, ludus::foundation::float32 roughness, ludus::foundation::float32 normalScale, SurfaceParameters &outParameters) noexcept
Related types: ludus::foundation::float32 · rhi::RasterStatus · ludus::foundation::math::Vector4 · SurfaceParameters
Declared in modules/graphics/renderer/include/ludus/graphics/renderer/lighting.hpp
BuildDirectionalShadowMatrix¶
rhi::RasterStatus ludus::graphics::renderer::BuildDirectionalShadowMatrix(const ludus::foundation::math::Aabb3 &bounds, ludus::foundation::math::Vector3 direction, ludus::foundation::uint32 resolution, ludus::foundation::math::Matrix4 &output) noexcept
Related types: ludus::foundation::uint32 · rhi::RasterStatus · ludus::foundation::math::Aabb3 · ludus::foundation::math::Matrix4 · ludus::foundation::math::Vector3
Declared in modules/graphics/renderer/include/ludus/graphics/renderer/lighting.hpp
EvaluateLitBrdf¶
rhi::RasterStatus ludus::graphics::renderer::EvaluateLitBrdf(ludus::foundation::math::Vector3 baseColor, ludus::foundation::float32 metallic, ludus::foundation::float32 roughness, ludus::foundation::math::Vector3 normal, ludus::foundation::math::Vector3 view, ludus::foundation::math::Vector3 light, ludus::foundation::math::Vector3 &output) noexcept
Related types: ludus::foundation::float32 · rhi::RasterStatus · ludus::foundation::math::Vector3
Declared in modules/graphics/renderer/include/ludus/graphics/renderer/lighting.hpp
PreparePointNeighborWorkload¶
rhi::RasterStatus ludus::graphics::renderer::PreparePointNeighborWorkload(rhi::DeviceHandle device, const foundation::geometry::PointSearchTree &tree, foundation::BorrowedView< const foundation::math::Vector3 > positionsWorld, foundation::uint32 neighborCount, const rhi::RasterShaderDescription &shader, foundation::usize maximumBufferBytes, rhi::ComputeWorkload &outWorkload) noexcept
| Parameter | Description |
|---|---|
device |
Ready compute-capable Metal/Vulkan/WebGPU device; owner thread, between frames.
|
tree |
Nonempty balanced tree built by PointSearchTree; copied into immutable GPU storage.
|
positionsWorld |
Finite queries within MAX_POINT_SEARCH_COORDINATE; copied as float4 records.
|
neighborCount |
1..MAX_POINT_NEIGHBORS, no more than the tree's point count.
|
shader |
Cooked renderer_point_neighbors Compute artifact; retained until workload.Poll completes.
|
maximumBufferBytes |
Logical bytes for parameters, tree, queries and results; device limits also apply.
|
outWorkload |
Empty owner; acquired on Ready/Pending, preserved on failure.
|
Returns
Related types: foundation::BorrowedView · foundation::geometry::PointSearchTree · rhi::ComputeWorkload · foundation::usize · foundation::uint32 · rhi::RasterStatus · foundation::math::Vector3 · rhi::DeviceHandle · rhi::RasterShaderDescription
Declared in modules/graphics/renderer/include/ludus/graphics/renderer/point_neighbors.hpp
EvaluateReferenceBsdf¶
rhi::RasterStatus ludus::graphics::renderer::EvaluateReferenceBsdf(const ReferenceBsdf &, ludus::foundation::math::Vector3 normal, ludus::foundation::math::Vector3 view, ludus::foundation::math::Vector3 light, ReferenceBsdfEvaluation &, ReferenceBsdfRandomContext random={}) noexcept
Related types: rhi::RasterStatus · ludus::foundation::math::Vector3 · ReferenceBsdf · ReferenceBsdfEvaluation · ReferenceBsdfRandomContext
Declared in modules/graphics/renderer/include/ludus/graphics/renderer/reference.hpp
SampleReferenceBsdf¶
rhi::RasterStatus ludus::graphics::renderer::SampleReferenceBsdf(const ReferenceBsdf &, ludus::foundation::math::Vector3 normal, ludus::foundation::math::Vector3 view, ludus::foundation::math::Vector3 samples, ReferenceBsdfSample &, ReferenceBsdfRandomContext random={}) noexcept
Related types: rhi::RasterStatus · ludus::foundation::math::Vector3 · ReferenceBsdf · ReferenceBsdfRandomContext · ReferenceBsdfSample
Declared in modules/graphics/renderer/include/ludus/graphics/renderer/reference.hpp
ResolveRenderGraphResource¶
rhi::RasterStatus ludus::graphics::renderer::ResolveRenderGraphResource(const content::render_graph_format::Resource &resource, foundation::uint32 referenceWidth, foundation::uint32 referenceHeight, content::render_graph_format::Resource &outResource) noexcept
| Parameter | Description |
|---|---|
resource |
Authored fixed dimensions or a validated view-relative ratio; borrowed for the call.
|
referenceWidth |
Drawable pixels, before render scale; zero suspends relative resolution.
|
referenceHeight |
Drawable pixels, with the same contract as referenceWidth.
|
outResource |
Resolved copy, unchanged on failure; its policy remains intact for later resizes.
|
Returns
Related types: foundation::uint32 · rhi::RasterStatus · content::render_graph_format::Resource
Declared in modules/graphics/renderer/include/ludus/graphics/renderer/render_graph.hpp
DescribeRenderGraphFailureReason¶
const char * ludus::graphics::renderer::DescribeRenderGraphFailureReason(foundation::uint32 reason) noexcept
| Parameter | Description |
|---|---|
reason |
A RenderGraphFailureReason value or an authored reason below MAX_RENDER_GRAPH_FAILURE_REASONS.
|
Returns
Related types: foundation::uint32
Declared in modules/graphics/renderer/include/ludus/graphics/renderer/render_graph.hpp
SetRenderGraphRayInterface¶
void ludus::graphics::renderer::SetRenderGraphRayInterface(rhi::RasterShaderDescription &inoutDescription, rhi::ShaderStage stage, bool hasPersistentBuffers=false, bool hasVisibilityBuffer=false, bool hasNativeRayQueries=true) noexcept
| Parameter | Description |
|---|---|
inoutDescription |
Receives binding metadata and the legacy 64x1x1 Compute default. Cooked headers and version 19+ packages replace that default with reflected dimensions.
|
stage |
Compute for the linked ray kernel, Vertex/Fragment for the image recipe.
|
hasVisibilityBuffer |
Adds paired unfiltered visibility/depth compute texture inputs.
|
hasPersistentBuffers |
Use the extended two-buffer compute ABI; image stages are unchanged.
|
hasNativeRayQueries |
Include the acceleration-structure binding. False uses only ordinary compute buffers/textures; the artifact must contain software traversal and no native ray instructions.
|
Related types: rhi::ShaderStage · rhi::RasterShaderDescription
Declared in modules/graphics/renderer/include/ludus/graphics/renderer/render_graph.hpp
SetRenderGraphForwardInterface¶
void ludus::graphics::renderer::SetRenderGraphForwardInterface(rhi::RasterShaderDescription &inoutDescription, content::render_graph_format::StageRole role, bool isClustered=false) noexcept
| Parameter | Description |
|---|---|
inoutDescription |
Receives exact inputs, bindings and uniform member metadata.
|
role |
A forward material/output, ForwardDepth or deferred support role; other roles leave the description unchanged.
|
isClustered |
Select the clustered material layout; old forward packages retain their ABI.
|
Related types: content::render_graph_format::StageRole · rhi::RasterShaderDescription
Declared in modules/graphics/renderer/include/ludus/graphics/renderer/render_graph.hpp
RequiresHardwareRayTracing¶
bool ludus::graphics::renderer::RequiresHardwareRayTracing(const RenderGraphPlan &plan) noexcept
Related types: RenderGraphPlan
Declared in modules/graphics/renderer/include/ludus/graphics/renderer/render_graph_activation.hpp
RequiresNativeRayPipeline¶
bool ludus::graphics::renderer::RequiresNativeRayPipeline(const RenderGraphPlan &plan) noexcept
Related types: RenderGraphPlan
Declared in modules/graphics/renderer/include/ludus/graphics/renderer/render_graph_activation.hpp
UsesRayTracing¶
bool ludus::graphics::renderer::UsesRayTracing(const RenderGraphPlan &plan) noexcept
Related types: RenderGraphPlan
Declared in modules/graphics/renderer/include/ludus/graphics/renderer/render_graph_activation.hpp
RequiresDenoising¶
bool ludus::graphics::renderer::RequiresDenoising(const RenderGraphPlan &plan) noexcept
Related types: RenderGraphPlan
Declared in modules/graphics/renderer/include/ludus/graphics/renderer/render_graph_activation.hpp
IsDenoisingAvailable¶
bool ludus::graphics::renderer::IsDenoisingAvailable() noexcept
Declared in modules/graphics/renderer/include/ludus/graphics/renderer/render_graph_activation.hpp
SelectRenderGraphRenderer¶
rhi::RasterStatus ludus::graphics::renderer::SelectRenderGraphRenderer(rhi::DeviceHandle device, RenderGraphPreference preference, RenderGraphRenderer &outRenderer) noexcept
| Parameter | Description |
|---|---|
device |
Live RHI device; call on its owner thread between frames.
|
preference |
Automatic or ForceRaster; an unknown value is InvalidDescription.
|
outRenderer |
Written only on Ready; invalid/lost devices preserve it.
|
Returns
Related types: RenderGraphRenderer · RenderGraphPreference · rhi::RasterStatus · rhi::DeviceHandle
Declared in modules/graphics/renderer/include/ludus/graphics/renderer/render_graph_activation.hpp
ComputeRenderGraphCaptureTileCount¶
foundation::uint32 ludus::graphics::renderer::ComputeRenderGraphCaptureTileCount(const RenderGraphRayWorkload &workload) noexcept
| Parameter | Description |
|---|---|
workload |
Pixels and lights of one sample, from RenderGraph::GetRayWorkload.
|
Returns
Related types: foundation::uint32 · RenderGraphRayWorkload
Declared in modules/graphics/renderer/include/ludus/graphics/renderer/render_graph_capture.hpp
FindRenderGraphCaptureProblem¶
RenderGraphCaptureProblem ludus::graphics::renderer::FindRenderGraphCaptureProblem(const RenderGraphPlan &plan, foundation::uint32 output) noexcept
| Parameter | Description |
|---|---|
plan |
Numeric plan; borrowed for the call.
|
output |
Logical resource to capture; ABSENT selects the plan's only exported colour resource.
|
Returns
Related types: foundation::uint32 · RenderGraphCaptureProblem · RenderGraphPlan
Declared in modules/graphics/renderer/include/ludus/graphics/renderer/render_graph_capture.hpp
PrepareSurfacePointCloud¶
rhi::RasterStatus ludus::graphics::renderer::PrepareSurfacePointCloud(const RenderGraphSceneDescription &scene, const SurfacePointSampling &sampling, SurfacePointCloud &outCloud) noexcept
| Parameter | Description |
|---|---|
scene |
Complete static extraction with HasMaterialInterface=true. Consumed synchronously.
|
sampling |
Positive explicit budgets; source textures are borrowed only for this call.
|
outCloud |
Replaced only on success. Previous output is excluded from MaximumBytes.
|
Returns
Related types: rhi::RasterStatus · RenderGraphSceneDescription · SurfacePointCloud · SurfacePointSampling
Declared in modules/graphics/renderer/include/ludus/graphics/renderer/surface_points.hpp
ApplyPbrNeutral¶
ludus::foundation::math::Vector3 ludus::graphics::renderer::ApplyPbrNeutral(ludus::foundation::math::Vector3 color) noexcept
Related types: ludus::foundation::math::Vector3
Declared in modules/graphics/renderer/include/ludus/graphics/renderer/tone_mapping.hpp
InvertPbrNeutral¶
ludus::foundation::math::Vector3 ludus::graphics::renderer::InvertPbrNeutral(ludus::foundation::math::Vector3 display) noexcept
Related types: ludus::foundation::math::Vector3
Declared in modules/graphics/renderer/include/ludus/graphics/renderer/tone_mapping.hpp
ApplyReinhard¶
ludus::foundation::math::Vector3 ludus::graphics::renderer::ApplyReinhard(ludus::foundation::math::Vector3 color) noexcept
Related types: ludus::foundation::math::Vector3
Declared in modules/graphics/renderer/include/ludus/graphics/renderer/tone_mapping.hpp
ApplyToneCurve¶
ludus::foundation::math::Vector3 ludus::graphics::renderer::ApplyToneCurve(ToneCurve curve, ludus::foundation::math::Vector3 color) noexcept
Related types: ToneCurve · ludus::foundation::math::Vector3
Declared in modules/graphics/renderer/include/ludus/graphics/renderer/tone_mapping.hpp
ResolveViewMapping¶
rhi::RasterStatus ludus::graphics::renderer::ResolveViewMapping(VirtualScreen screen, rhi::RasterRectangle region, ludus::foundation::uint32 drawableWidth, ludus::foundation::uint32 drawableHeight, ViewMapping &output) noexcept
Related types: ludus::foundation::uint32 · rhi::RasterStatus · ViewMapping · VirtualScreen · rhi::RasterRectangle
Declared in modules/graphics/renderer/include/ludus/graphics/renderer/views.hpp
SplitViewRectangle¶
rhi::RasterStatus ludus::graphics::renderer::SplitViewRectangle(rhi::RasterRectangle parent, ludus::foundation::uint32 columns, ludus::foundation::uint32 rows, ludus::foundation::uint32 column, ludus::foundation::uint32 row, rhi::RasterRectangle &output) noexcept
Related types: ludus::foundation::uint32 · rhi::RasterStatus · rhi::RasterRectangle
Declared in modules/graphics/renderer/include/ludus/graphics/renderer/views.hpp
MapPhysicalToVirtual¶
rhi::RasterStatus ludus::graphics::renderer::MapPhysicalToVirtual(const ViewMapping &mapping, ludus::foundation::math::Vector2 pixel, ludus::foundation::math::Vector2 &output, bool clamp=false) noexcept
Related types: rhi::RasterStatus · ludus::foundation::math::Vector2 · ViewMapping
Declared in modules/graphics/renderer/include/ludus/graphics/renderer/views.hpp
MapWindowToVirtual¶
rhi::RasterStatus ludus::graphics::renderer::MapWindowToVirtual(const ViewMapping &mapping, ludus::foundation::math::Vector2 point, ludus::foundation::math::Vector2 pixelsPerWindowUnit, ludus::foundation::math::Vector2 &output, bool clamp=false) noexcept
Related types: rhi::RasterStatus · ludus::foundation::math::Vector2 · ViewMapping
Declared in modules/graphics/renderer/include/ludus/graphics/renderer/views.hpp
MapVirtualToPhysical¶
rhi::RasterStatus ludus::graphics::renderer::MapVirtualToPhysical(const ViewMapping &mapping, ludus::foundation::math::Vector2 point, ludus::foundation::math::Vector2 &output) noexcept
Related types: rhi::RasterStatus · ludus::foundation::math::Vector2 · ViewMapping
Declared in modules/graphics/renderer/include/ludus/graphics/renderer/views.hpp
BuildViewDescription¶
rhi::RasterStatus ludus::graphics::renderer::BuildViewDescription(const ProjectionDescription &projection, const ViewMapping &mapping, ViewDescription &output, ProjectionSpace space=ProjectionSpace::LogicalScreen) noexcept
Related types: ProjectionSpace · rhi::RasterStatus · ProjectionDescription · ViewDescription · ViewMapping
Declared in modules/graphics/renderer/include/ludus/graphics/renderer/views.hpp
TryPropagateWaveBeam¶
bool ludus::graphics::renderer::TryPropagateWaveBeam(const WaveBeam &beam, foundation::float64 distanceWorld, WaveBeam &outBeam, WaveMoments &outMoments) noexcept
Related types: foundation::float64 · WaveBeam · WaveMoments
Declared in modules/graphics/renderer/include/ludus/graphics/renderer/wave_tracing.hpp
TryEvaluateWaveAperture¶
bool ludus::graphics::renderer::TryEvaluateWaveAperture(const WaveAperture &aperture, foundation::BorrowedView< const foundation::float64 > transmission, foundation::math::Vector3d receiverApertureWorld, WaveField &outField) noexcept
Related types: foundation::BorrowedView · foundation::float64 · foundation::math::Vector3d · WaveAperture · WaveField
Declared in modules/graphics/renderer/include/ludus/graphics/renderer/wave_tracing.hpp
BuildWorldGridPlane¶
bool ludus::graphics::renderer::BuildWorldGridPlane(const ViewDescription &view, WorldGridPlane &outPlane, bool &outIsVisible) noexcept
| Parameter | Description |
|---|---|
view |
Camera, projection and WorldGrid inputs, validated as BuildWorldGridLines does.
|
outPlane |
Receives the plane; untouched on failure or for a disabled grid.
|
outIsVisible |
Receives false for a disabled grid or a shadow caster view, true otherwise.
|
Returns
Related types: ViewDescription · WorldGridPlane
Declared in modules/graphics/renderer/include/ludus/graphics/renderer/world_grid.hpp
BuildWorldGridLines¶
bool ludus::graphics::renderer::BuildWorldGridLines(const ViewDescription &view, foundation::BorrowedView< WorldGridLine > outLines, foundation::usize &outCount, foundation::float32 &outSpacing) noexcept
| Parameter | Description |
|---|---|
view |
Camera, projection and optional WorldGrid inputs. Shadow caster views omit the guide.
|
outLines |
Valid caller-owned storage of at least WORLD_GRID_LINE_CAPACITY elements.
|
outCount |
Receives the number of initialized lines; zero for a disabled grid.
|
outSpacing |
Receives minor spacing in world units; zero for a disabled grid.
|
Returns
Related types: foundation::BorrowedView · foundation::float32 · foundation::usize · ViewDescription · WorldGridLine
Declared in modules/graphics/renderer/include/ludus/graphics/renderer/world_grid.hpp