Vixen
02b45cc4

EffectVertexInput

struct Core/Vixen.Shaders/Effect.cs:323
csharp
public readonly record struct EffectVertexInput

One vertex attribute the shader reads, and where it reads it.

No guide page documents this yet — the page shows what the code says about itself.

Remarks

Not zero-based, and that is the reason this is carried at all: a shader's stream variables take locations before its vertex inputs do, so ForwardPlus's four attributes start at five. A host that assumed otherwise builds a pipeline the driver refuses.

Fields and properties (3)

  • public string Name

    The name the shader's vertex entry point gave it.

  • public int Location

    The attribute location, which is the shader's to assign.

  • public ShaderValueKind Kind

    Its type, which decides the format a buffer has to supply.

Methods (1)

  • public EffectVertexInput(string Name, int Location, ShaderValueKind Kind)

    One vertex attribute the shader reads, and where it reads it.

Used by (7)

  • ClusteredShadingDeviceTestsVixen.Graphics.Golden.Tests
  • EffectVixen.Shaders
  • EffectLoaderVixen.Shaders
  • IrradianceBounceDeviceTestsVixen.Graphics.Golden.Tests
  • IrradianceShadingDeviceTestsVixen.Graphics.Golden.Tests
  • SurfaceCardCaptureDeviceTestsVixen.Graphics.Golden.Tests
  • VertexSchemaVixen.Rendering