Contents

LowLevelBufferResource

A GPU-managed buffer for arbitrary per-draw data such as uniforms and custom parameters.

Declaration

final class LowLevelBufferResource

Overview

Buffer contents can be read and written synchronously on the CPU via span-based accessors, or on the GPU by writing to a MTLBuffer returned by replace(commandBuffer:).

Topics

Inspecting the descriptor

Reading buffer contents

Replacing buffer contents

Instance Methods

See Also

GPU resources