13#ifndef SO_SAMPLER_INFO_ELEMENT_H 
   14#define SO_SAMPLER_INFO_ELEMENT_H 
   19#include "SoShaderSystem.h" 
   20#include <Inventor/elements/SoAccumulatedElement.h> 
   56         return (
name == 
i.name);
 
 
 
   63   typedef SoAccumulatedElement inherited;
 
 
Open Inventor data type and element to store information about a (list of) SbSampler.
 
int operator==(const SbSamplerInfo &i) const
 
TextureType type
Texture type.
 
SbString name
Sampler name.
 
SbBool valid
Default is invalid.
 
SbSamplerInfo(const SbString &aName, TextureType aType)
 
Element stores information about all current sampler nodes.
 
static void add(SoState *state, SoNode *node, const SbSamplerInfo &info)
Add info about sampler to list.
 
static void clear(SoState *state, SoNode *node)
Clear list.
 
void push(SoState *state) override
Override push() method.
 
static void set(SoState *state, SoNode *node, const SbSamplerInfo &info)
Truncate info list to zero length and set only this info.
 
static const SbSamplerInfo & get(SoState *state)
Returns last sampler info.
 
std::list< SbSamplerInfo > _info
sampler info.
 
static void initClass()
Initialize class with runtime type system.
 
void init(SoState *state) override
Initialize element.
 
Target mlrange_cast(Source arg)
Generic version of checked ML casts.