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

Static Public Attributes

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

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 Fri Apr 26 21:53:14 EDT 2019 from SVN revision 197883
Copyright © 2005-2019 VT MAK. All Rights Reserved (www.mak.com)