Synced
RenderVertexLayout.Constructor
Section titled “RenderVertexLayout.Constructor”
- Creates an interleaved vertex layout.
Required contracts
Section titled “Required contracts”API: scripting
Project: Inno.Rendering
Scope: Runtime
Declaration
Section titled “Declaration”public InnoEngine.Rendering.RenderVertexLayout.RenderVertexLayout(System.Collections.Generic.IReadOnlyList<InnoEngine.Rendering.RenderVertexAttribute> attributes, int stride = 0)Parameters
Section titled “Parameters”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.