Skip to content
API referenceDevelopmentRuntime scriptingEngine ccf7d03f
Synced
  • Creates an interleaved vertex layout.

API: scripting
Project: Inno.Rendering
Scope: Runtime

public InnoEngine.Rendering.RenderVertexLayout.RenderVertexLayout(System.Collections.Generic.IReadOnlyList<InnoEngine.Rendering.RenderVertexAttribute> attributes, int stride = 0)

Parameter attributes: Unique attributes in ascending byte order. Attributes with offset -1 are packed after the preceding attribute.

Parameter stride: Explicit positive stream stride, or zero to use the end of the final attribute. A larger stride preserves trailing application-defined padding.