Developer Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
ACG::SceneGraph::ACG::RenderObject::Texture Struct Reference

Texture to be used. More...

Public Member Functions

 Texture (GLuint _id=0, GLenum _type=GL_TEXTURE_2D, bool _shadow=false)
 Texture (GLuint _id=0, GLenum _type=GL_TEXTURE_2D, bool _shadow=false)

Public Attributes

GLuint id
GLenum type
bool shadow

Detailed Description

Texture to be used.

eventually a more flexible texture system with user defined:

  • texture stage binding slot (0 .. 16)
  • texture type (1D, 2D, 3D, rect, cube)
  • array of textures assumes binding slot 0 and 2D for now

Definition at line 306 of file

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