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

Copyright (c) Theophilus Eriata. All Rights Reserved. More...

#include <SceneSelectionPass.h>

Inheritance diagram for xiiSceneSelectionPass:
[legend]

Public Member Functions

xiiResult Build (xiiRenderPipelinePassContext &context) override
Public Member Functions inherited from xiiRenderPipelinePass
virtual xiiResult Configure (const xiiVariantDictionary &properties)
xiiResult GetProperties (xiiVariantDictionary &out_properties) const
virtual void GetPins (xiiDynamicArray< xiiRenderPipelinePin > &out_pins) const
xiiResult InitializePinBindings (xiiArrayPtr< const xiiRenderPipelinePin > pins) const
xiiResult GetConfiguredPins (xiiDynamicArray< xiiRenderPipelinePin > &out_pins, xiiStringBuilder *out_error=nullptr) const
xiiResult GetConfiguredPins (xiiArrayPtr< const xiiRenderPipelinePin > declarations, xiiDynamicArray< xiiRenderPipelinePin > &out_pins, xiiStringBuilder *out_error=nullptr) const
 Apply the same authored contracts to declarations resolved by an external authoring context.
virtual xiiBitflags< xiiRenderPipelineDeviceFeature > GetRequiredDeviceFeatures () const
virtual xiiBitflags< xiiRenderExtractionCategory > GetExtractionRequirements () const
virtual xiiBitflags< xiiRenderPipelineFeature > GetRuntimeFeatures () const
virtual xiiResult BuildTemporalHistory (xiiRenderPipelinePassContext &)
virtual xiiResult ValidatePipeline (const xiiRenderPipelineResourceDescriptor &, xiiArrayPtr< const xiiUInt32 >, xiiUInt32, xiiStringBuilder *) const
virtual void InvalidateTemporalHistory ()
 Clears view-local history after camera cuts and configuration changes.
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.

Public Attributes

xiiRenderPipelineTextureInputPin m_InputColor
xiiRenderPipelineTextureInputPin m_InputSceneDepth
xiiRenderPipelineTextureInputPin m_InputSelectionSurface {xiiGALResourceFormat::RGBA32UInt, true}
xiiRenderPipelineTextureOutputPin m_OutputColor
xiiColor m_VisibleColor = xiiColor(1.0f, 0.5f, 0.0f, 1.0f)
xiiColor m_OccludedColor = xiiColor(0.2f, 0.4f, 1.0f, 0.5f)
float m_fFillOpacity = 0.1f
xiiUInt32 m_uiOutlineWidth = 1
Public Attributes inherited from xiiRenderPipelinePass
xiiVariantDictionary m_ParameterOverrides
 Authored, occurrence-local parameter overrides. Kept separate from compile-time pass properties.
xiiDynamicArray< xiiRenderPipelinePinConfiguration * > m_PinConfigurations
 Authoring-only owned objects. Runtime pass instances consume compiled pins instead.

Additional Inherited Members

Static Public Member Functions inherited from xiiNoBase
static const xiiRTTI * GetStaticRTTI ()

Detailed Description

Copyright (c) Theophilus Eriata. All Rights Reserved.

Composites selected mesh surfaces onto display-linear scene color. SelectionSurface is the native RGBA32UInt nearest-surface output from a selected-only scene mesh query. Comparing its reversed depth with SceneDepth distinguishes visible and occluded outlines, including objects fully behind other geometry. Editor.SelectionOverlay controls the pass. No CPU readback.

Member Function Documentation

◆ Build()

xiiResult xiiSceneSelectionPass::Build ( xiiRenderPipelinePassContext & context)
overridevirtual

Implements xiiRenderPipelinePass.


The documentation for this class was generated from the following files:
  • /home/runner/work/XII/XII/Source/EditorPlugins/Scene/SharedPluginScene/Scene/SceneSelectionPass.h
  • /home/runner/work/XII/XII/Source/EditorPlugins/Scene/SharedPluginScene/Scene/Implementation/SceneSelectionPass.cpp