Contents

LowLevelArgumentTable

A table of buffer slices and textures bound to a single shader function.

Declaration

final class LowLevelArgumentTable

Overview

A LowLevelArgumentTable binds a set of LowLevelBufferSlice and LowLevelTextureResource objects at indexed slots. Its layout is described by an LowLevelArgumentTable.Descriptor that must match the argumentTableDescriptor on the corresponding material function.

Create a LowLevelArgumentTable using makeArgumentTable(descriptor:buffers:textures:).

Topics

Inspecting the table

Accessing textures

Accessing buffer slices

See Also

Pipeline and render targets