MeVisLabToolboxReference
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, TextureType type)
SbBool isValid () const
int operator== (const SbSamplerInfo &i) const

Public Attributes

SbString name
 Sampler name.
SbBool valid
 Default is invalid.
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 valid.

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

Definition at line 37 of file SoSamplerInfoElement.h.

References name, type, and valid.


Member Function Documentation

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

Definition at line 43 of file SoSamplerInfoElement.h.

References valid.

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==(), and SbSamplerInfo().

Texture type.

Definition at line 32 of file SoSamplerInfoElement.h.

Referenced by SbSamplerInfo().

Default is invalid.

Definition at line 30 of file SoSamplerInfoElement.h.

Referenced by isValid(), and SbSamplerInfo().


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