BUFFER

Description

interface Tinman.Gpu.Types.BUFFER<T out>

A readonly 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.

Public / Operators

operator []


public operator [] → (get)

index : int32

The zero-based element index.

value : T

The element value.

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