![]() |
| jit.gl.mesh | Generates GL geometry from existing data |
| GL Group |
| Attributes: |
| Name | Type | Description |
| auto_colors | long | Enables or disables the calculation of vertex colors (default = 0). |
| auto_normals | long |
Enables or disables the calculation of normal directions used for calculating lighting (default = 1). |
| auto_tangents | long | Enables or disables the calculation of tangent directions (only available if texcoords and normals exist) (default = 0). |
| auto_bitangents | long | Enables or disables the calculation of bitangent (aka binormal) directions (only available if texcoords and normals exist) (default = 0). |
| cache_mode | symbol |
The mode to use for the geometry cache. (default = var) Supported modes are: none var (vertex arrays) vbo (vertex buffer objects) |
| color_mode | symbol |
The mode to use for the calculating vertex colors. (default = none) Supported modes are: index position vertex normal texcoord edgeflag tangent bitangent none |
| draw_mode | symbol |
The mode to use for rendering the geometry. (default = tri_grid) Supported modes are: points point_sprite lines line_strip line_loop triangles tri_strip tri_fan quads quad_strip polygon tri_grid quad_grid |
| Example: |
