version 3.3

VRS::DecalMultiTexturingEffectGL Class Reference

#include <vrs/opengl/decalmultitexturingeffectgl.h>

Inheritance diagram for VRS::DecalMultiTexturingEffectGL:

VRS::TexturingEffectGL VRS::MonoAttribute VRS::Attribute VRS::RenderObj VRS::SharedObj VRS::Visitable

List of all members.

Public Member Functions

 DecalMultiTexturingEffectGL (Iterator< SO< TextureGL > > *textures=NULL, Iterator< SO< TexGenGL > > *texGens=NULL, bool shaded=false)
Iterator< SO< TextureGL > > * getTextures () const
void setTextures (Iterator< SO< TextureGL > > *textures)
Iterator< SO< TexGenGL > > * getTexGens () const
void setTexGens (Iterator< SO< TexGenGL > > *texGens)
 VRS_TYPEINFO (DecalMultiTexturingEffectGL, TexturingEffectGL)
 VRS_SERIALIZABLE (DecalMultiTexturingEffectGL)


Detailed Description

This attribute allows to apply several textures with decal mode on a shape's surface (and applying the result with decal mode to the already existing result in the frame buffer. NOTE: Since it is not yet possible in VRS to specify several explicit texture coordinate sets for a shape and OpenGL is not capable of replicating texture coordinates from other texture units, automatic texture coordinate generation must be used for specifying the texture coordinates for each used texture. If no texture coordinate generator is specified for a texture, the texture coordinate generator is used which is active during the rendering of a shape; if no such texture coordinate generator exists only one texture will be used within a single pass (ignoring all other available texture units the hardware provides), which would lead to a very poor performance of this effect!

Constructor & Destructor Documentation

VRS::DecalMultiTexturingEffectGL::DecalMultiTexturingEffectGL ( Iterator< SO< TextureGL > > *  textures = NULL,
Iterator< SO< TexGenGL > > *  texGens = NULL,
bool  shaded = false 
)


Member Function Documentation

Iterator<SO<TextureGL> >* VRS::DecalMultiTexturingEffectGL::getTextures (  )  const

void VRS::DecalMultiTexturingEffectGL::setTextures ( Iterator< SO< TextureGL > > *  textures  ) 

Iterator<SO<TexGenGL> >* VRS::DecalMultiTexturingEffectGL::getTexGens (  )  const

void VRS::DecalMultiTexturingEffectGL::setTexGens ( Iterator< SO< TexGenGL > > *  texGens  ) 

VRS::DecalMultiTexturingEffectGL::VRS_TYPEINFO ( DecalMultiTexturingEffectGL  ,
TexturingEffectGL   
)

VRS::DecalMultiTexturingEffectGL::VRS_SERIALIZABLE ( DecalMultiTexturingEffectGL   ) 


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

Generated on Mon May 20 06:00:28 2013 by Doxygen 1.5.6
© 2001-2010 Hasso-Plattner-Institut | Impressum | Contact