Enumeration BufferUsage

Usage patterns of a buffer's data store for optimization purposes.

Enumeration Members

DYNAMIC_COPY: 35050

The contents are intended to be respecified repeatedly by reading data from WebGL, and used many times as the source for WebGL drawing and image specification commands.

DYNAMIC_DRAW: 35048

The contents are intended to be respecified repeatedly by the application, and used many times as the source for WebGL drawing and image specification commands.

DYNAMIC_READ: 35049

The contents are intended to be respecified repeatedly by reading data from WebGL, and queried many times by the application.

STATIC_COPY: 35046

The contents are intended to be specified once by reading data from WebGL, and used many times as the source for WebGL drawing and image specification commands.

STATIC_DRAW: 35044

The contents are intended to be specified once by the application, and used many times as the source for WebGL drawing and image specification commands.

STATIC_READ: 35045

The contents are intended to be specified once by reading data from WebGL, and queried many times by the application.

STREAM_COPY: 35042

The contents are intended to be specified once by reading data from WebGL, and used at most a few times as the source for WebGL drawing and image specification commands.

STREAM_DRAW: 35040

The contents are intended to be specified once by the application, and used at most a few times as the source for WebGL drawing and image specification commands.

STREAM_READ: 35041

The contents are intended to be specified once by reading data from WebGL, and queried at most a few times by the application.