API reference

Every public class, method, and event in @codexo/exojs. Generated from source.

E

enumShaderPrimitives

@codexo/exojs / rendering / stable

GLSL primitive type tokens used to describe ShaderAttribute and ShaderUniform data types. Values are WebGL2 GLenum constants returned by `gl.getActiveAttrib` / `gl.getActiveUniform`.

0
props
0
methods
0
events
Import
import { ShaderPrimitives } from '@codexo/exojs'

GLSL primitive type tokens used to describe ShaderAttribute and ShaderUniform data types. Values are WebGL2 GLenum constants returned by `gl.getActiveAttrib` / `gl.getActiveUniform`.

Members 20
Bool
BoolVec2
BoolVec3
BoolVec4
Float
FloatMat2
FloatMat3
FloatMat4
FloatVec2
FloatVec3
FloatVec4
Int
IntVec2
IntVec3
IntVec4
Sampler2D
UnsignedInt
UnsignedIntVec2
UnsignedIntVec3
UnsignedIntVec4
Source