t_jit_glchunk Struct Reference

t_jit_glchunk is a public structure to store one gl-command's-worth of data, in a format which can be passed easily to glDrawRangeElements, and matrixoutput. More...

#include <jit.gl.chunk.h>

+ Collaboration diagram for t_jit_glchunk:

Data Fields

t_symbolprim
 drawing primitive. "tri_strip", "tri", "quads", "quad_grid", etc.
t_jit_objectm_vertex
 vertex matrix containing xyzst... data
t_symbolm_vertex_name
 vertex matrix name
t_jit_objectm_index
 optional 1d matrix of vertex indices to use with drawing primitive
t_symbolm_index_name
 index matrix name
unsigned long m_flags
 chunk flags to ignore texture, normal, color, or edge planes when drawing
void * next_chunk
 pointer to next chunk for drawing a list of chunks together

Detailed Description

t_jit_glchunk is a public structure to store one gl-command's-worth of data, in a format which can be passed easily to glDrawRangeElements, and matrixoutput.