BUFFER_RW

Description

interface Tinman.Gpu.Types.BUFFER_RW<T>

A read/write one-dimensional buffer that holds struct elements.

Compatible resource objects may be created with the following methods:

The component type of a buffer must satisfy additional constraints, in order to ensure that the resulting memory layout is the same across GPUs and graphics APIs. See BUFFER for details.

Public / Operators

operator []


public operator [] → (get,set)

index : int32

The zero-based element index.

value : T

The element value.

Accesses the index in-th element of this array buffer.