SbSamplerInfo Class Reference

Open Inventor data type and element to store information about a (list of) SbSampler. More...

#include <SoSamplerInfoElement.h>

List of all members.

Public Types

enum  TextureType { TT_FLOAT, TT_INTEGER }
 Texture type. More...

Public Member Functions

 SbSamplerInfo ()
 SbSamplerInfo (const SbString &name, unsigned int unit, TextureType type)
SbBool isValid () const
int operator== (const SbSamplerInfo &i) const

Public Attributes

SbString name
 Sampler name.
unsigned int unit
 Texture unit (UINT_MAX if not valid).
TextureType type
 Texture type.


Detailed Description

Open Inventor data type and element to store information about a (list of) SbSampler.

Definition at line 17 of file SoSamplerInfoElement.h.


Member Enumeration Documentation

Texture type.

Enumerator:
TT_FLOAT 
TT_INTEGER 

Definition at line 22 of file SoSamplerInfoElement.h.


Constructor & Destructor Documentation

SbSamplerInfo::SbSamplerInfo (  )  [inline]

Definition at line 34 of file SoSamplerInfoElement.h.

References unit.

SbSamplerInfo::SbSamplerInfo ( const SbString &  name,
unsigned int  unit,
TextureType  type 
) [inline]

Definition at line 37 of file SoSamplerInfoElement.h.


Member Function Documentation

SbBool SbSamplerInfo::isValid ( void   )  const [inline]

Definition at line 43 of file SoSamplerInfoElement.h.

References unit.

int SbSamplerInfo::operator== ( const SbSamplerInfo i  )  const [inline]

Definition at line 47 of file SoSamplerInfoElement.h.

References name.


Member Data Documentation

Sampler name.

Definition at line 28 of file SoSamplerInfoElement.h.

Referenced by operator==().

Texture type.

Definition at line 32 of file SoSamplerInfoElement.h.

unsigned int SbSamplerInfo::unit

Texture unit (UINT_MAX if not valid).

Definition at line 30 of file SoSamplerInfoElement.h.

Referenced by isValid(), and SbSamplerInfo().


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

Generated on Sat Sep 3 18:39:32 2011 for MeVisLab Toolbox Reference by  doxygen 1.5.8