Skip to content
API referenceDevelopmentRuntime scriptingEngine ccf7d03f
Synced
  • Creates a vertex attribute declaration.

API: scripting
Project: Inno.Rendering
Scope: Runtime

public InnoEngine.Rendering.RenderVertexAttribute.RenderVertexAttribute(InnoEngine.Rendering.RenderVertexSemantic semantic, InnoEngine.Rendering.RenderVertexFormat format, int byteOffset = -1)

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.