Contents

LowLevelMeshResource.Layout

An object that describes a set of attributes that share a buffer index, offset, and stride.

Declaration

struct Layout

Overview

If you interleave your data (that is, represent it with a structure), use one Layout object where bufferStride equals MemoryLayout<Type>.stride. If you store attributes separately, use one Layout per attribute.

Topics

Creating a layout

Configuring vertex stepping

Initializers

Instance Properties

See Also

Describing the mesh layout