ork::Sampler Class Reference
[render]

A texture sampler. More...

#include <Sampler.h>

Inheritance diagram for ork::Sampler:
ork::Object

List of all members.

Classes

class  Parameters
 A set of texture sampling parameters. More...

Public Member Functions

 Sampler (const Parameters &value)
 Creates a new sampler with the given parameters.
 ~Sampler ()
 Deletes this sampler.
GLuint getId () const
 Returns the id of this sampler.

Detailed Description

A texture sampler.

A texture sampler can be used in a UniformSampler to change the default sampling parameters of a texture.


Constructor & Destructor Documentation

ork::Sampler::Sampler ( const Parameters value  ) 

Creates a new sampler with the given parameters.

Parameters:
value the sampler parameters.
ork::Sampler::~Sampler (  ) 

Deletes this sampler.


Member Function Documentation

GLuint ork::Sampler::getId (  )  const

Returns the id of this sampler.


Generated on Mon Oct 18 09:36:09 2010 for ork by  doxygen 1.6.1