Table of Contents

Class EffectParameterInfo

Namespace
ShadowDusk.Core
Assembly
ShadowDusk.Core.dll

One .mgfx parameter record. MonoGame 3.8.2's Effect.ReadParameters reads Elements (array elements) and Members (struct members) as RECURSIVE parameter collections — elements first, then members, each a full nested parameter record (mirroring mgfxc's EffectObject.WriteParameter). A value-typed leaf (Scalar/Vector/Matrix with no elements/members) additionally carries a raw default-value blob of RowCountColumnCount4 bytes.

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

Constructors

EffectParameterInfo(byte, byte, string, string?, IReadOnlyList<AnnotationInfo>, byte, byte, IReadOnlyList<EffectParameterInfo>, IReadOnlyList<EffectParameterInfo>)

One .mgfx parameter record. MonoGame 3.8.2's Effect.ReadParameters reads Elements (array elements) and Members (struct members) as RECURSIVE parameter collections — elements first, then members, each a full nested parameter record (mirroring mgfxc's EffectObject.WriteParameter). A value-typed leaf (Scalar/Vector/Matrix with no elements/members) additionally carries a raw default-value blob of RowCountColumnCount4 bytes.

public EffectParameterInfo(byte Class, byte Type, string Name, string? Semantic, IReadOnlyList<AnnotationInfo> Annotations, byte RowCount, byte ColumnCount, IReadOnlyList<EffectParameterInfo> Members, IReadOnlyList<EffectParameterInfo> Elements)

Parameters

Class byte
Type byte
Name string
Semantic string
Annotations IReadOnlyList<AnnotationInfo>
RowCount byte
ColumnCount byte
Members IReadOnlyList<EffectParameterInfo>
Elements IReadOnlyList<EffectParameterInfo>

Properties

Annotations

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

Property Value

IReadOnlyList<AnnotationInfo>

Class

public byte Class { get; init; }

Property Value

byte

ColumnCount

public byte ColumnCount { get; init; }

Property Value

byte

Elements

public IReadOnlyList<EffectParameterInfo> Elements { get; init; }

Property Value

IReadOnlyList<EffectParameterInfo>

Members

public IReadOnlyList<EffectParameterInfo> Members { get; init; }

Property Value

IReadOnlyList<EffectParameterInfo>

Name

public string Name { get; init; }

Property Value

string

RowCount

public byte RowCount { get; init; }

Property Value

byte

Semantic

public string? Semantic { get; init; }

Property Value

string

Type

public byte Type { get; init; }

Property Value

byte