|
|
xiiWorld * | GetWorld () const |
| | Copyright (c) Theophilus Eriata. All Rights Reserved.
|
|
xiiViewHandle | GetHandle () const |
|
xiiStringView | GetName () const |
|
void | SetName (xiiStringView sName) |
|
xiiGALTextureView * | GetRenderTargetView () const |
|
void | SetRenderTargetView (xiiGALTextureView *pRenderTargetView) |
| | Retains the offscreen output view and its texture until replaced or this view is destroyed.
|
|
const xiiGALSwapChain * | GetSwapChain () const |
| | Sets the swapchain that this view will be rendering into.
|
|
void | SetSwapChain (const xiiGALSwapChain *pSwapChain) |
|
void | SetCamera (xiiCamera *pCamera) |
|
xiiCamera * | GetCamera () |
|
const xiiCamera * | GetCamera () const |
|
void | SetCullingCamera (const xiiCamera *pCamera) |
|
const xiiCamera * | GetCullingCamera () const |
|
void | SetLodCamera (const xiiCamera *pCamera) |
|
const xiiCamera * | GetLodCamera () const |
|
xiiEnum< xiiCameraUsageHint > | GetCameraUsageHint () const |
|
void | SetCameraUsageHint (xiiEnum< xiiCameraUsageHint > hint) |
|
void | SetViewRenderMode (xiiEnum< xiiViewRenderMode > value) |
|
xiiEnum< xiiViewRenderMode > | GetViewRenderMode () const |
| void | SetRenderPath (xiiEnum< xiiRenderPath > value) |
|
xiiEnum< xiiRenderPath > | GetRenderPath () const |
|
xiiResult | SetSensorProfile (xiiSensorProfileHandle hProfile) |
| | Configures passes that opt into the view sensor profile. An invalid handle disables them.
|
|
xiiSensorProfileHandle | GetSensorProfile () const |
| xiiSharedPtr< xiiGALTexture > | GetSensorOutputTexture () const |
|
xiiResult | SetDisplayOutputSettings (const xiiDisplayOutputSettings &settings) |
| | Applies validated, view-local exposure, tone-mapping and display calibration.
|
|
const xiiDisplayOutputSettings & | GetDisplayOutputSettings () const |
|
xiiUInt64 | GetDisplayOutputSettingsRevision () const |
|
void | InvalidateTemporalHistory () |
| | Invalidates all per-view temporal lighting and reconstruction history after a camera cut or teleport.
|
|
void | SetViewport (const xiiRectFloat &viewport) |
|
const xiiRectFloat & | GetViewport () const |
| void | SetRenderScale (float fRenderScale) |
|
float | GetRenderScale () const |
| | Returns the configured per-view render scale factor (1.0 = native).
|
|
float | GetRenderResolutionScale () const |
| | Returns the dynamic render scale applied to this view (1.0 = native viewport resolution).
|
|
xiiUInt32 | GetRenderResolutionWidth () const |
| | Returns the dynamic internal render resolution width for this view.
|
|
xiiUInt32 | GetRenderResolutionHeight () const |
| | Returns the dynamic internal render resolution height for this view.
|
|
const xiiViewData & | GetData () const |
|
bool | IsValid () const |
| void | SetRenderEnabled (bool bEnabled) |
|
bool | IsRenderEnabled () const |
| xiiResult | ComputePickingRay (float fNormalizedScreenPosX, float fNormalizedScreenPosY, xiiVec3 &out_vRayStartPos, xiiVec3 &out_vRayDir) const |
| xiiResult | ComputeScreenSpacePos (const xiiVec3 &vWorldPos, xiiVec3 &out_vScreenPosNormalized) const |
|
xiiResult | ComputeWorldSpacePos (float fNormalizedScreenPosX, float fNormalizedScreenPosY, xiiVec3 &out_vWorldPos) const |
| | Calculates the near-plane world position at the normalized screen coordinates.
|
|
void | ConvertScreenPixelPosToNormalizedPos (xiiVec3 &inout_vPixelPos) |
| | Converts a screen-space position from pixel coordinates to normalized coordinates.
|
|
void | ConvertScreenNormalizedPosToPixelPos (xiiVec3 &inout_vNormalizedPos) |
| | Converts a screen-space position from normalized coordinates to pixel coordinates.
|
|
const xiiMat4 & | GetProjectionMatrix (xiiCameraEye eye) const |
| | Native projections use ZeroToOne reversed Z (near=1, far=0), unlike Core camera projections.
|
|
const xiiMat4 & | GetInverseProjectionMatrix (xiiCameraEye eye) const |
|
const xiiMat4 & | GetViewMatrix (xiiCameraEye eye) const |
|
const xiiMat4 & | GetInverseViewMatrix (xiiCameraEye eye) const |
|
const xiiMat4 & | GetViewProjectionMatrix (xiiCameraEye eye) const |
|
const xiiMat4 & | GetInverseViewProjectionMatrix (xiiCameraEye eye) const |
|
void | ComputeCullingFrustum (xiiFrustum &out_frustum) const |
|
void | SetRenderPipelineResource (const xiiRenderPipelineResourceHandle &pipeline) |
|
const xiiRenderPipelineResourceHandle & | GetRenderPipelineResource () const |
| const xiiRenderPipelineInstance & | GetRenderPipelineInstance () const |
|
xiiBitflags< xiiRenderExtractionCategory > | GetExtractionRequirements () const |
|
const xiiRenderExtractionStatistics & | GetExtractionStatistics () const |
|
void | SetRenderGraphExtractionRequirements (xiiBitflags< xiiRenderExtractionCategory > requirements) |
| | Custom graph builders default to All for compatibility; specialize their demand explicitly.
|
|
bool | IsGpuSceneInitialized () const |
|
const xiiGpuInstanceData * | GetGpuInstanceData () const |
|
xiiArrayPtr< const xiiUInt32 > | GetGpuInstanceSelection () const |
|
xiiBitflags< xiiRenderPipelineFeature > | GetRuntimeFeatures () const |
|
void | SetRenderGraphRuntimeFeatures (xiiBitflags< xiiRenderPipelineFeature > features) |
| xiiResult | ResolveRenderedMesh (xiiUInt32 uiGpuObjectId, xiiGpuInstanceSource &out_source) const |
| | Copyright (c) Theophilus Eriata. All Rights Reserved.
|
|
void | SetPipelineParameter (xiiStringView name, const xiiVariant &value) |
|
void | RemovePipelineParameter (xiiStringView name) |
|
const xiiVariantDictionary & | GetPipelineParameters () const |
|
void | SetRenderGraphBuilder (RenderGraphBuilder builder) |
|
const RenderGraphBuilder & | GetRenderGraphBuilder () const |
|
xiiUInt32 | GetRenderGraphBuilderVersion () const |
|
xiiRenderGraph * | GetRenderGraph () |
|
const xiiRenderGraph * | GetRenderGraph () const |
|
xiiExtractedRenderData * | GetExtractedRenderData () |
|
const xiiExtractedRenderData * | GetExtractedRenderData () const |
|
xiiRenderGraphBlackboard & | GetBlackboard () |
|
const xiiRenderGraphBlackboard & | GetBlackboard () const |
|
xiiRenderGraphResourceCache & | GetResourceCache () |
|
const xiiRenderGraphResourceCache & | GetResourceCache () const |
|
xiiRenderGraphTimestampProfiler & | GetProfiler () |
| | Returns the device-wide GPU timestamp profiler.
|
|
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.
|
Encapsulates a view on the given world through the given camera and rendered with the specified RenderPipeline into the given render target setup.
The view owns a generation-checked context for its rendering pipeline. Persistent GPU resources are stored by xiiViewRenderResourceManager so they are released before allocator and GAL shutdown regardless of world lifetime. A selected render pipeline resource populates the graph each frame.