usage property

GPUFlagsConstant get usage

The usage read-only property of the GPUBuffer interface contains the representing the allowed usages of the GPUBuffer.

usage is set via the usage property in the descriptor object passed into the originating GPUDevice.createBuffer call.

Implementation

external GPUFlagsConstant get usage;