Public Types | Public Member Functions | Public Attributes

glut::poly_request_t Struct Reference

stores information necessary to render a polygon later More...

#include <renderable.h>

Collaboration diagram for glut::poly_request_t:
Collaboration graph
[legend]

List of all members.

Public Types

enum  eContants { eMaxVertices = 8 }

Public Member Functions

void clear (void) throw ()

Public Attributes

int textureId
 OpenGL texture ID to use.
point3d_t normal
 normal to polygon
int nVertices
 number of vertices for this poly
float u [eMaxVertices]
 texture u-coordinate
float v [eMaxVertices]
 texture v-coordinate
point3d_t vertex [eMaxVertices]
 texture coordinates

Detailed Description

stores information necessary to render a polygon later

Definition at line 74 of file renderable.h.


Member Enumeration Documentation

Enumerator:
eMaxVertices 

Definition at line 76 of file renderable.h.


Member Function Documentation

void glut::poly_request_t::clear ( void   )  throw () [inline]

Definition at line 81 of file renderable.h.


Member Data Documentation

OpenGL texture ID to use.

Definition at line 87 of file renderable.h.

normal to polygon

Definition at line 88 of file renderable.h.

number of vertices for this poly

Definition at line 89 of file renderable.h.

float glut::poly_request_t::u[eMaxVertices]

texture u-coordinate

Definition at line 90 of file renderable.h.

float glut::poly_request_t::v[eMaxVertices]

texture v-coordinate

Definition at line 91 of file renderable.h.

texture coordinates

Definition at line 92 of file renderable.h.


The documentation for this struct was generated from the following file: