CamSim  0.0.0
A rasterization-based simulator for various types of cameras
Public Member Functions | Public Attributes | List of all members
CamSim::Shape Class Reference

The Shape class. More...

Public Member Functions

 Shape ()
 Constructor. More...
 

Public Attributes

unsigned int materialIndex
 Index of the material description for this shape; see global Scene data. More...
 
unsigned int vao
 Vertex array object containing the vertex data for this shape. More...
 
unsigned int indices
 Number of indices to render in GL_TRIANGLES mode. More...
 

Detailed Description

The Shape class.

Describes a geometric shape suitable for OpenGL-based rendering

Constructor & Destructor Documentation

◆ Shape()

CamSim::Shape::Shape ( )

Constructor.

Member Data Documentation

◆ indices

unsigned int CamSim::Shape::indices

Number of indices to render in GL_TRIANGLES mode.

◆ materialIndex

unsigned int CamSim::Shape::materialIndex

Index of the material description for this shape; see global Scene data.

◆ vao

unsigned int CamSim::Shape::vao

Vertex array object containing the vertex data for this shape.


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