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
ClassbyteTypebyteNamestringSemanticstringAnnotationsIReadOnlyList<AnnotationInfo>RowCountbyteColumnCountbyteMembersIReadOnlyList<EffectParameterInfo>ElementsIReadOnlyList<EffectParameterInfo>
Properties
Annotations
public IReadOnlyList<AnnotationInfo> Annotations { get; init; }
Property Value
Class
public byte Class { get; init; }
Property Value
ColumnCount
public byte ColumnCount { get; init; }
Property Value
Elements
public IReadOnlyList<EffectParameterInfo> Elements { get; init; }
Property Value
Members
public IReadOnlyList<EffectParameterInfo> Members { get; init; }
Property Value
Name
public string Name { get; init; }
Property Value
RowCount
public byte RowCount { get; init; }
Property Value
Semantic
public string? Semantic { get; init; }
Property Value
Type
public byte Type { get; init; }