XII Release 0.1.0
Loading...
Searching...
No Matches
xiiRenderPipelineProfileConfig Class Reference

#include <RenderPipelineProfileConfig.h>

Inheritance diagram for xiiRenderPipelineProfileConfig:
[legend]

Public Member Functions

void SaveRuntimeData (xiiChunkStreamWriter &stream) const override
void LoadRuntimeData (xiiChunkStreamReader &stream) override
xiiStringView GetResourceReference (xiiRenderPipelineUsage::Enum usage) const
Public Member Functions inherited from xiiProfileConfigData
 xiiProfileConfigData ()
 Copyright (c) Theophilus Eriata. All Rights Reserved.
Public Member Functions inherited from xiiReflectedClass
virtual const xiiRTTI * GetDynamicRTTI () const
bool IsInstanceOf (const xiiRTTI *pType) const
 Returns whether the type of this instance is of the given type or derived from it.
template<typename T>
XII_ALWAYS_INLINE bool IsInstanceOf () const
 Returns whether the type of this instance is of the given type or derived from it.

Static Public Member Functions

static xiiResult ResolveResource (xiiStringView explicitReference, const xiiPlatformProfile *profile, xiiRenderPipelineUsage::Enum usage, xiiRenderPipelineResourceHandle &out_resource, xiiStringBuilder *out_error=nullptr)
Static Public Member Functions inherited from xiiNoBase
static const xiiRTTI * GetStaticRTTI ()

Public Attributes

xiiString m_sGamePipeline
xiiString m_sEditorScenePipeline
xiiString m_sAssetPreviewPipeline
xiiString m_sTexturePreviewPipeline = "RenderPipelines/TexturePreview.xiiBinRenderPipeline"
xiiString m_sCubeTexturePreviewPipeline = "RenderPipelines/TextureCubePreview.xiiBinRenderPipeline"

Detailed Description

Project/platform policy selects resource references, never embeds a rendering stack. The existing platform profile owns, edits and persists this configuration.

Member Function Documentation

◆ LoadRuntimeData()

void xiiRenderPipelineProfileConfig::LoadRuntimeData ( xiiChunkStreamReader & stream)
overridevirtual

Reimplemented from xiiProfileConfigData.

◆ ResolveResource()

xiiResult xiiRenderPipelineProfileConfig::ResolveResource ( xiiStringView explicitReference,
const xiiPlatformProfile * profile,
xiiRenderPipelineUsage::Enum usage,
xiiRenderPipelineResourceHandle & out_resource,
xiiStringBuilder * out_error = nullptr )
static

Explicit view references take precedence over the selected project policy. Empty selection fails and clears the handle; loading/compilation validates the chosen resource. No default implementation or fallback graph is created by this operation.

◆ SaveRuntimeData()

void xiiRenderPipelineProfileConfig::SaveRuntimeData ( xiiChunkStreamWriter & stream) const
overridevirtual

Reimplemented from xiiProfileConfigData.


The documentation for this class was generated from the following files:
  • /home/runner/work/XII/XII/Source/Engine/GraphicsCore/Pipeline/RenderPipelineProfileConfig.h
  • /home/runner/work/XII/XII/Source/Engine/GraphicsCore/Pipeline/Implementation/RenderPipelineProfileConfig.cpp