Synced
RenderVertexAttribute.Constructor
Section titled “RenderVertexAttribute.Constructor”
- Creates a vertex attribute declaration.
Required contracts
Section titled “Required contracts”API: engine
Project: Inno.Rendering
Declaration
Section titled “Declaration”public Inno.Rendering.RenderVertexAttribute.RenderVertexAttribute(Inno.Rendering.RenderVertexSemantic semantic, Inno.Rendering.RenderVertexFormat format, int byteOffset = -1)Parameters
Section titled “Parameters”Parameter semantic: Shader input semantic.
Parameter format: Packed component representation.
Parameter byteOffset: Explicit byte offset in the stream, or -1 to place the attribute directly after the preceding attribute.