Developer Documentation
ACG::RenderObject::Texture Struct Reference

Texture to be used. More...

#include <OpenFlipper/libs_required/ACG/GL/RenderObject.hh>

Public Member Functions

 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 313 of file RenderObject.hh.

Constructor & Destructor Documentation

◆ Texture()

ACG::RenderObject::Texture::Texture ( GLuint  _id = 0,
GLenum  _type = GL_TEXTURE_2D,
bool  _shadow = false 
)
inline

Definition at line 318 of file RenderObject.hh.

Member Data Documentation

◆ id

GLuint ACG::RenderObject::Texture::id

Definition at line 315 of file RenderObject.hh.

◆ shadow

bool ACG::RenderObject::Texture::shadow

Definition at line 317 of file RenderObject.hh.

◆ type

GLenum ACG::RenderObject::Texture::type

Definition at line 316 of file RenderObject.hh.


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