[][src]Module shine_gltf::buffer

Contains Buffer, View, and other related data structures.

Structs

Buffer

A buffer points to binary data representing geometry, animations, or skins.

ByteStride

The stride, in bytes, between vertex attributes.

View

A view into a buffer generally representing a subset of the buffer.

Enums

Target

Specifies the target a GPU buffer should be bound to.

Constants

ARRAY_BUFFER

Corresponds to GL_ARRAY_BUFFER.

ELEMENT_ARRAY_BUFFER

Corresponds to GL_ELEMENT_ARRAY_BUFFER.

MAX_BYTE_STRIDE

The maximum byte stride.

MIN_BYTE_STRIDE

The minimum byte stride.

VALID_TARGETS

All valid GPU buffer targets.