instancedVertexLayout property

  1. @override
VertexLayout? get instancedVertexLayout

The explicit pipeline vertex layout this geometry's vertex shader expects, or null for the shader bundle's default interleaved layout.

A non-null layout signals the encoders that the shader consumes the model transform from the instance-rate vertex buffer (slot 1) rather than a per-draw uniform, so every draw must bind an instance buffer.

Implementation

@override
gpu.VertexLayout? get instancedVertexLayout => kUnskinnedInstancedLayout;