Sampler interface
[Interfaces]

This interface is used to hide the sampler creation. It it used by the Renderer. More...

Classes

class  SamplerInterface
 Definition of the SamplerInterface class. More...
class  SamplerInterface
 Definition of the SamplerInterface class. More...

Functions

virtual bool SamplerInterface::create (char *location, char *sampler_type, paramlist &pl)=0
virtual SamplerSamplerInterface::get (char *location)=0

Detailed Description

This interface is used to hide the sampler creation. It it used by the Renderer.


Function Documentation

virtual bool SamplerInterface::create ( char *  location,
char *  sampler_type,
paramlist &  pl 
) [pure virtual, inherited]

Try to create a sampler for a given location.

Parameters:
location the location of the sampler, sampler_type the method you want to use,
pl the parameters list for the sampler to create.
Returns:
true if the sampled have been created.

virtual Sampler* SamplerInterface::get ( char *  location  )  [pure virtual, inherited]

Returns a sampler given its location.

Parameters:
location the sampler's location we want to have.
Returns:
0 if there is no sampler at this location.


Generated on Tue Nov 14 15:40:09 2006 for libcrbn by  doxygen 1.5.0