![]()  | 
  
    SLProject
    4.2.000
    
   A platform independent 3D computer graphics framework for desktop OS,  Android,  iOS and online in web browsers 
   | 
 
Enumerations containing OpenGL constants. More...
Go to the source code of this file.
Enumerations | |
| enum | SLGLBufferType { BT_float = GL_FLOAT , BT_int = GL_INT , BT_ubyte = GL_UNSIGNED_BYTE , BT_ushort = GL_UNSIGNED_SHORT , BT_uint = GL_UNSIGNED_INT } | 
| Enumeration for buffer data types.  More... | |
| enum | SLGLPrimitiveType {  PT_points = GL_POINTS , PT_lines = GL_LINES , PT_lineLoop = GL_LINE_LOOP , PT_lineStrip = GL_LINE_STRIP , PT_triangles = GL_TRIANGLES , PT_triangleStrip = GL_TRIANGLE_STRIP , PT_triangleFan = GL_TRIANGLE_FAN }  | 
| enum | SLGLAttributeType {  AT_position = 0 , AT_normal , AT_uv1 , AT_uv2 , AT_color , AT_tangent , AT_jointIndex , AT_jointWeight , AT_custom0 , AT_custom1 , AT_custom2 , AT_custom3 , AT_custom4 , AT_custom5 , AT_custom6 , AT_custom7 , AT_custom8 , AT_custom9 , AT_velocity = 1 , AT_startTime = 2 , AT_initialVelocity = 3 , AT_rotation = 4 , AT_angularVelo = 5 , AT_texNum = 6 , AT_initialPosition = 7 , AT_instancePosition = 8 }  | 
| Enumeration for float vertex attribute types.  More... | |
| enum | SLGLBufferUsage { BU_static = GL_STATIC_DRAW , BU_stream = GL_STREAM_DRAW , BU_dynamic = GL_DYNAMIC_DRAW } | 
| Enumeration for buffer usage types also supported by OpenGL ES.  More... | |
Enumerations containing OpenGL constants.
Definition in file SLGLEnums.h.
| enum SLGLAttributeType | 
Enumeration for float vertex attribute types.
| Enumerator | |
|---|---|
| AT_position | Vertex position as a 2, 3 or 4 component vectors.  | 
| AT_normal | Vertex normal as a 3 component vector.  | 
| AT_uv1 | Vertex 1st texture coordinate as 2 component vector.  | 
| AT_uv2 | Vertex 2nd texture coordinate as 2 component vector.  | 
| AT_color | Vertex color as 3 or 4 component vector.  | 
| AT_tangent | Vertex tangent as a 4 component vector (see SLMesh)  | 
| AT_jointIndex | Vertex joint id for vertex skinning.  | 
| AT_jointWeight | Vertex joint weight for vertex skinning.  | 
| AT_custom0 | Custom vertex attribute 0.  | 
| AT_custom1 | Custom vertex attribute 1.  | 
| AT_custom2 | Custom vertex attribute 2.  | 
| AT_custom3 | Custom vertex attribute 3.  | 
| AT_custom4 | Custom vertex attribute 4.  | 
| AT_custom5 | Custom vertex attribute 5.  | 
| AT_custom6 | Custom vertex attribute 6.  | 
| AT_custom7 | Custom vertex attribute 7.  | 
| AT_custom8 | Custom vertex attribute 8.  | 
| AT_custom9 | Custom vertex attribute 9.  | 
| AT_velocity | Vertex velocity 3 component vectors.  | 
| AT_startTime | Vertex start time float.  | 
| AT_initialVelocity | Vertex initial velocity 3 component vectors.  | 
| AT_rotation | Vertex rotation float.  | 
| AT_angularVelo | Vertex angular velocity for rotation float.  | 
| AT_texNum | Vertex texture number int.  | 
| AT_initialPosition | Vertex initial position 3 component vectors.  | 
| AT_instancePosition | Vertex instance position for instanced particle drawing.  | 
Definition at line 44 of file SLGLEnums.h.
| enum SLGLBufferType | 
Enumeration for buffer data types.
| Enumerator | |
|---|---|
| BT_float | float vertex attributes  | 
| BT_int | int vertex attributes  | 
| BT_ubyte | vertex index type (0-2^8)  | 
| BT_ushort | vertex index type (0-2^16)  | 
| BT_uint | vertex index type (0-2^32)  | 
Definition at line 19 of file SLGLEnums.h.
| enum SLGLBufferUsage | 
Enumeration for buffer usage types also supported by OpenGL ES.
Definition at line 89 of file SLGLEnums.h.
| enum SLGLPrimitiveType | 
| Enumerator | |
|---|---|
| PT_points | |
| PT_lines | |
| PT_lineLoop | |
| PT_lineStrip | |
| PT_triangles | |
| PT_triangleStrip | |
| PT_triangleFan | |
Definition at line 29 of file SLGLEnums.h.