VR-Forces 4.8 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions | Static Public Attributes | Private Attributes
makVrv::DtEffectTextureUnitStateAttribute Class Reference

Attribute used to hold the texture coordinate unit to use with the effect texture in the texture attribute that has the same unit. More...

Inheritance diagram for makVrv::DtEffectTextureUnitStateAttribute:
Inheritance graph
[legend]

Public Member Functions

 DtEffectTextureUnitStateAttribute (unsigned int texCoordUnit=0)
 constructor More...
 
 ~DtEffectTextureUnitStateAttribute ()
 destructor More...
 
 DtEffectTextureUnitStateAttribute (const DtEffectTextureUnitStateAttribute &stateAttrib, const osg::CopyOp &copyop=osg::CopyOp::SHALLOW_COPY)
 Copy constructor using CopyOp to manage deep vs shallow copy. More...
 
 META_StateAttribute (osg, DtEffectTextureUnitStateAttribute, EffectTextureUnitStateAttributeType)
 
virtual bool isTextureAttribute () const
 virtual override to specify that this is a texture attribute More...
 
virtual int compare (const osg::StateAttribute &sa) const
 Return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs. More...
 
unsigned int texCoordUnit () const
 which texture coordinate should be used with this effect texture. More...
 

Static Public Attributes

static const
osg::StateAttribute::Type 
EffectTextureUnitStateAttributeType = (osg::StateAttribute::Type)2000
 constant used to specify the type for this state attribute More...
 

Private Attributes

unsigned int myTexCoordUnit
 

Detailed Description

Attribute used to hold the texture coordinate unit to use with the effect texture in the texture attribute that has the same unit.

This is used by the indirect rendering system to know which texture unit's coordinates to use with for each texture.

Constructor & Destructor Documentation

makVrv::DtEffectTextureUnitStateAttribute::DtEffectTextureUnitStateAttribute ( unsigned int  texCoordUnit = 0)

constructor

makVrv::DtEffectTextureUnitStateAttribute::~DtEffectTextureUnitStateAttribute ( )

destructor

makVrv::DtEffectTextureUnitStateAttribute::DtEffectTextureUnitStateAttribute ( const DtEffectTextureUnitStateAttribute stateAttrib,
const osg::CopyOp &  copyop = osg::CopyOp::SHALLOW_COPY 
)

Copy constructor using CopyOp to manage deep vs shallow copy.

Member Function Documentation

makVrv::DtEffectTextureUnitStateAttribute::META_StateAttribute ( osg  ,
DtEffectTextureUnitStateAttribute  ,
EffectTextureUnitStateAttributeType   
)
virtual bool makVrv::DtEffectTextureUnitStateAttribute::isTextureAttribute ( ) const
virtual

virtual override to specify that this is a texture attribute

virtual int makVrv::DtEffectTextureUnitStateAttribute::compare ( const osg::StateAttribute &  sa) const
virtual

Return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs.

unsigned int makVrv::DtEffectTextureUnitStateAttribute::texCoordUnit ( ) const

which texture coordinate should be used with this effect texture.

Member Data Documentation

const osg::StateAttribute::Type makVrv::DtEffectTextureUnitStateAttribute::EffectTextureUnitStateAttributeType = (osg::StateAttribute::Type)2000
static

constant used to specify the type for this state attribute

unsigned int makVrv::DtEffectTextureUnitStateAttribute::myTexCoordUnit
private

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

Document ID: Generated on Thu Aug 27 10:56:05 EDT 2020 from SVN revision 217100
Copyright © 2005-2020 MAK Technologies. All Rights Reserved (www.mak.com)