Vixen
02b45cc4
csharp
public readonly record struct VertexChannel

One attribute a vertex buffer holds, under the name a shader asks for it by.

Read the guide page for this →

Fields and properties (3)

  • public string Name

    The shader's parameter or stream name — position, normal, texcoord.

  • public VertexFormat Format

    How the bytes at are read.

  • public int Offset

    Where the attribute starts inside one vertex, in bytes.

Methods (1)

  • public VertexChannel(string Name, VertexFormat Format, int Offset)

    One attribute a vertex buffer holds, under the name a shader asks for it by.

Used by (1)

  • VertexSchemaVixen.Rendering