Table of Contents

Class RenderView

Namespace
Stride.Rendering
Assembly
Stride.Rendering.dll

Defines a view used during rendering. This is usually a frustum and some camera parameters.

public class RenderView
Inheritance
RenderView
Derived

Fields

FarClipPlane

Near clip plane.

public float FarClipPlane

Field Value

float

Features

The part of the view specific to a given RootRenderFeature.

public readonly List<RenderViewFeature> Features

Field Value

List<RenderViewFeature>

Frustum

The frustum extracted from the view projection matrix.

public BoundingFrustum Frustum

Field Value

BoundingFrustum

Index

Index in Views.

public int Index

Field Value

int

NearClipPlane

Far clip plane.

public float NearClipPlane

Field Value

float

Projection

The projection matrix for this view.

public Matrix Projection

Field Value

Matrix

RenderObjects

List of visible render objects.

public readonly ConcurrentCollector<RenderObject> RenderObjects

Field Value

ConcurrentCollector<RenderObject>

RenderStages

List of data sepcific to each RenderStage for this RenderView.

public readonly List<RenderViewStage> RenderStages

Field Value

List<RenderViewStage>

View

The view matrix for this view.

public Matrix View

Field Value

Matrix

ViewProjection

The view projection matrix for this view.

public Matrix ViewProjection

Field Value

Matrix

ViewSize

The size of the view being rendered.

public Vector2 ViewSize

Field Value

Vector2

VisiblityIgnoreDepthPlanes

Ignore depth planes in visibility test

public bool VisiblityIgnoreDepthPlanes

Field Value

bool

Properties

CullingMask

The culling mask.

public RenderGroupMask CullingMask { get; set; }

Property Value

RenderGroupMask

CullingMode

The culling mode.

public CameraCullingMode CullingMode { get; set; }

Property Value

CameraCullingMode

Flags

public RenderViewFlags Flags { get; set; }

Property Value

RenderViewFlags

LightingView

The view used for lighting (useful to share lighting results for two very close views such as VR)

public RenderView LightingView { get; set; }

Property Value

RenderView

Remarks

This is a temporary workaround until shadow maps have a real scope: global or view-dependent (single view or multiple views).

Methods

ToString()

Returns a string that represents the current object.

public override string ToString()

Returns

string

A string that represents the current object.