MeVisLab Resolution Independence API
SbSamplerInfo Class Reference

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

#include <SoSamplerInfoElement.h>

Public Types

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

Public Member Functions

 SbSamplerInfo ()
 
 SbSamplerInfo (const SbString &aName, TextureType aType)
 
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.

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

Definition at line 25 of file SoSamplerInfoElement.h.

Member Enumeration Documentation

◆ TextureType

Texture type.

Enumerator
TT_FLOAT 
TT_INTEGER 

Definition at line 30 of file SoSamplerInfoElement.h.

Constructor & Destructor Documentation

◆ SbSamplerInfo() [1/2]

SbSamplerInfo::SbSamplerInfo ( )
inline

Definition at line 42 of file SoSamplerInfoElement.h.

References valid.

◆ SbSamplerInfo() [2/2]

SbSamplerInfo::SbSamplerInfo ( const SbString & aName,
TextureType aType )
inline

Definition at line 45 of file SoSamplerInfoElement.h.

Member Function Documentation

◆ isValid()

SbBool SbSamplerInfo::isValid ( ) const
inline

Definition at line 51 of file SoSamplerInfoElement.h.

References valid.

◆ operator==()

int SbSamplerInfo::operator== ( const SbSamplerInfo & i) const
inline

Definition at line 55 of file SoSamplerInfoElement.h.

References name.

Member Data Documentation

◆ name

SbString SbSamplerInfo::name

Sampler name.

Definition at line 36 of file SoSamplerInfoElement.h.

Referenced by operator==().

◆ type

TextureType SbSamplerInfo::type

Texture type.

Definition at line 40 of file SoSamplerInfoElement.h.

◆ valid

SbBool SbSamplerInfo::valid

Default is invalid.

Definition at line 38 of file SoSamplerInfoElement.h.

Referenced by isValid(), and SbSamplerInfo().


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