Table of Contents

Class MgfxPassInfo

Namespace
ShadowDusk.Core
Assembly
ShadowDusk.Core.dll

One pass within a technique: its name, FX annotations, the vertex/pixel shader it binds (by index into the effect's shader list, or -1 when absent), and its render state.

public sealed record MgfxPassInfo : IEquatable<MgfxPassInfo>
Inheritance
MgfxPassInfo
Implements
Inherited Members

Constructors

MgfxPassInfo(string, IReadOnlyList<AnnotationInfo>, int, int, RenderStateBlock)

One pass within a technique: its name, FX annotations, the vertex/pixel shader it binds (by index into the effect's shader list, or -1 when absent), and its render state.

public MgfxPassInfo(string Name, IReadOnlyList<AnnotationInfo> Annotations, int VertexShaderIndex, int PixelShaderIndex, RenderStateBlock RenderState)

Parameters

Name string

The pass name.

Annotations IReadOnlyList<AnnotationInfo>

FX annotations attached to the pass.

VertexShaderIndex int

Index of the vertex shader in the effect's shader list, or -1 if none.

PixelShaderIndex int

Index of the pixel shader in the effect's shader list, or -1 if none.

RenderState RenderStateBlock

The render states declared in the pass.

Properties

Annotations

FX annotations attached to the pass.

public IReadOnlyList<AnnotationInfo> Annotations { get; init; }

Property Value

IReadOnlyList<AnnotationInfo>

Name

The pass name.

public string Name { get; init; }

Property Value

string

PixelShaderIndex

Index of the pixel shader in the effect's shader list, or -1 if none.

public int PixelShaderIndex { get; init; }

Property Value

int

RenderState

The render states declared in the pass.

public RenderStateBlock RenderState { get; init; }

Property Value

RenderStateBlock

VertexShaderIndex

Index of the vertex shader in the effect's shader list, or -1 if none.

public int VertexShaderIndex { get; init; }

Property Value

int