webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Public Member Functions | List of all members
gl::Sampler Class Referencefinal

#include <Sampler.h>

Inheritance diagram for gl::Sampler:
RefCountObject gl::LabeledObject angle::NonCopyable

Public Member Functions

 Sampler (rx::GLImplFactory *factory, GLuint id)
 
 ~Sampler () override
 
void setLabel (const std::string &label) override
 
const std::stringgetLabel () const override
 
void setMinFilter (GLenum minFilter)
 
GLenum getMinFilter () const
 
void setMagFilter (GLenum magFilter)
 
GLenum getMagFilter () const
 
void setWrapS (GLenum wrapS)
 
GLenum getWrapS () const
 
void setWrapT (GLenum wrapT)
 
GLenum getWrapT () const
 
void setWrapR (GLenum wrapR)
 
GLenum getWrapR () const
 
void setMaxAnisotropy (float maxAnisotropy)
 
float getMaxAnisotropy () const
 
void setMinLod (GLfloat minLod)
 
GLfloat getMinLod () const
 
void setMaxLod (GLfloat maxLod)
 
GLfloat getMaxLod () const
 
void setCompareMode (GLenum compareMode)
 
GLenum getCompareMode () const
 
void setCompareFunc (GLenum compareFunc)
 
GLenum getCompareFunc () const
 
const SamplerStategetSamplerState () const
 
rx::SamplerImplgetImplementation () const
 
- Public Member Functions inherited from RefCountObject
 RefCountObject (GLuint id)
 
void addRef () const
 
void release () const
 
GLuint id () const
 
size_t getRefCount () const
 
- Public Member Functions inherited from gl::LabeledObject
virtual ~LabeledObject ()
 

Additional Inherited Members

- Protected Member Functions inherited from RefCountObject
virtual ~RefCountObject ()
 

Constructor & Destructor Documentation

◆ Sampler()

gl::Sampler::Sampler ( rx::GLImplFactory factory,
GLuint  id 
)

◆ ~Sampler()

gl::Sampler::~Sampler ( )
override

Member Function Documentation

◆ getCompareFunc()

GLenum gl::Sampler::getCompareFunc ( ) const

◆ getCompareMode()

GLenum gl::Sampler::getCompareMode ( ) const

◆ getImplementation()

rx::SamplerImpl * gl::Sampler::getImplementation ( ) const

◆ getLabel()

const std::string & gl::Sampler::getLabel ( ) const
overridevirtual

Implements gl::LabeledObject.

◆ getMagFilter()

GLenum gl::Sampler::getMagFilter ( ) const

◆ getMaxAnisotropy()

float gl::Sampler::getMaxAnisotropy ( ) const

◆ getMaxLod()

GLfloat gl::Sampler::getMaxLod ( ) const

◆ getMinFilter()

GLenum gl::Sampler::getMinFilter ( ) const

◆ getMinLod()

GLfloat gl::Sampler::getMinLod ( ) const

◆ getSamplerState()

const SamplerState & gl::Sampler::getSamplerState ( ) const

◆ getWrapR()

GLenum gl::Sampler::getWrapR ( ) const

◆ getWrapS()

GLenum gl::Sampler::getWrapS ( ) const

◆ getWrapT()

GLenum gl::Sampler::getWrapT ( ) const

◆ setCompareFunc()

void gl::Sampler::setCompareFunc ( GLenum  compareFunc)

◆ setCompareMode()

void gl::Sampler::setCompareMode ( GLenum  compareMode)

◆ setLabel()

void gl::Sampler::setLabel ( const std::string label)
overridevirtual

Implements gl::LabeledObject.

◆ setMagFilter()

void gl::Sampler::setMagFilter ( GLenum  magFilter)

◆ setMaxAnisotropy()

void gl::Sampler::setMaxAnisotropy ( float  maxAnisotropy)

◆ setMaxLod()

void gl::Sampler::setMaxLod ( GLfloat  maxLod)

◆ setMinFilter()

void gl::Sampler::setMinFilter ( GLenum  minFilter)

◆ setMinLod()

void gl::Sampler::setMinLod ( GLfloat  minLod)

◆ setWrapR()

void gl::Sampler::setWrapR ( GLenum  wrapR)

◆ setWrapS()

void gl::Sampler::setWrapS ( GLenum  wrapS)

◆ setWrapT()

void gl::Sampler::setWrapT ( GLenum  wrapT)

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