@awayjs/stage
Version:
Stage for AwayJS
35 lines (34 loc) • 1.21 kB
JavaScript
var _a;
import { ContextGLVertexBufferFormat } from '../base/ContextGLVertexBufferFormat';
export var BUFFER_FORMATS_MAP = (_a = {},
_a[1] = [
ContextGLVertexBufferFormat.BYTE_1,
ContextGLVertexBufferFormat.BYTE_2,
ContextGLVertexBufferFormat.BYTE_3,
ContextGLVertexBufferFormat.BYTE_4
],
_a[2] = [
ContextGLVertexBufferFormat.SHORT_1,
ContextGLVertexBufferFormat.SHORT_2,
ContextGLVertexBufferFormat.SHORT_3,
ContextGLVertexBufferFormat.SHORT_4
],
_a[4] = [
ContextGLVertexBufferFormat.FLOAT_1,
ContextGLVertexBufferFormat.FLOAT_2,
ContextGLVertexBufferFormat.FLOAT_3,
ContextGLVertexBufferFormat.FLOAT_4,
],
_a[5] = [
ContextGLVertexBufferFormat.UNSIGNED_BYTE_1,
ContextGLVertexBufferFormat.UNSIGNED_BYTE_2,
ContextGLVertexBufferFormat.UNSIGNED_BYTE_3,
ContextGLVertexBufferFormat.UNSIGNED_BYTE_4,
],
_a[6] = [
ContextGLVertexBufferFormat.UNSIGNED_SHORT_1,
ContextGLVertexBufferFormat.UNSIGNED_SHORT_2,
ContextGLVertexBufferFormat.UNSIGNED_SHORT_3,
ContextGLVertexBufferFormat.UNSIGNED_SHORT_4,
],
_a);