Stg::Draw Namespace Reference


Classes

struct  bounds3_t
struct  draw_t
struct  hdr_t
struct  rotate_t
struct  translate_t
struct  vertex_t

Typedefs

typedef hdr_t pop_t
typedef hdr_t push_t

Enumerations

enum  type_t {
  STG_D_DRAW_POINTS, STG_D_DRAW_LINES, STG_D_DRAW_LINE_STRIP, STG_D_DRAW_LINE_LOOP,
  STG_D_DRAW_TRIANGLES, STG_D_DRAW_TRIANGLE_STRIP, STG_D_DRAW_TRIANGLE_FAN, STG_D_DRAW_QUADS,
  STG_D_DRAW_QUAD_STRIP, STG_D_DRAW_POLYGON, STG_D_PUSH, STG_D_POP,
  STG_D_ROTATE, STG_D_TRANSLATE
}

Functions

draw_tcreate (type_t type, vertex_t *verts, size_t vert_count)
void destroy (draw_t *d)

Typedef Documentation

pop is just the header, but we define it for syntax checking

push is just the header, but we define it for syntax checking


Enumeration Type Documentation

Enumerator:
STG_D_DRAW_POINTS 
STG_D_DRAW_LINES 
STG_D_DRAW_LINE_STRIP 
STG_D_DRAW_LINE_LOOP 
STG_D_DRAW_TRIANGLES 
STG_D_DRAW_TRIANGLE_STRIP 
STG_D_DRAW_TRIANGLE_FAN 
STG_D_DRAW_QUADS 
STG_D_DRAW_QUAD_STRIP 
STG_D_DRAW_POLYGON 
STG_D_PUSH 
STG_D_POP 
STG_D_ROTATE 
STG_D_TRANSLATE 


Function Documentation

draw_t* Stg::Draw::create ( type_t  type,
vertex_t *  verts,
size_t  vert_count 
)

Create a draw_t object of specified type from a vertex array

void Stg::Draw::destroy ( draw_t *  d  ) 

Delete the draw_t object, deallocting its memory


Generated on Thu Jan 7 17:42:17 2010 for Stage by  doxygen 1.5.5