OGRE  1.12.13
Object-Oriented Graphics Rendering Engine
Ogre::GL3PlusSampler Class Reference

#include <OgreGL3PlusTextureManager.h>

+ Inheritance diagram for Ogre::GL3PlusSampler:

Public Member Functions

 GL3PlusSampler (GL3PlusRenderSystem *rs)
 
 ~GL3PlusSampler ()
 
void bind (uint32 unit)
 
- Public Member Functions inherited from Ogre::Sampler
 Sampler ()
 must be created through TextureManager More...
 
virtual ~Sampler ()
 
const UVWAddressingModegetAddressingMode () const
 Gets the texture addressing mode for a given coordinate, i.e. More...
 
unsigned int getAnisotropy () const
 Get this layer texture anisotropy level. More...
 
const ColourValuegetBorderColour (void) const
 
bool getCompareEnabled () const
 
CompareFunction getCompareFunction () const
 
FilterOptions getFiltering (FilterType ftype) const
 Get the texture filtering for the given type. More...
 
float getMipmapBias (void) const
 Gets the bias value applied to the mipmap calculation. More...
 
void setAddressingMode (const UVWAddressingMode &uvw)
 This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. More...
 
void setAddressingMode (TextureAddressingMode tam)
 Sets the texture addressing mode, i.e. More...
 
void setAddressingMode (TextureAddressingMode u, TextureAddressingMode v, TextureAddressingMode w)
 Sets the texture addressing mode, i.e. More...
 
void setAnisotropy (unsigned int maxAniso)
 Sets the anisotropy level to be used for this texture level. More...
 
void setBorderColour (const ColourValue &colour)
 Sets the texture border colour. More...
 
void setCompareEnabled (bool enabled)
 Enables or disables the comparison test for depth textures. More...
 
void setCompareFunction (CompareFunction function)
 
void setFiltering (FilterOptions minFilter, FilterOptions magFilter, FilterOptions mipFilter)
 Set a the detailed filtering options on this texture unit. More...
 
void setFiltering (FilterType ftype, FilterOptions opts)
 Set a single filtering option on this texture unit. More...
 
void setFiltering (TextureFilterOptions filterType)
 Set the texture filtering for this unit, using the simplified interface. More...
 
void setMipmapBias (float bias)
 Sets the bias value applied to the mipmap calculation. More...
 

Static Public Member Functions

static GLint getCombinedMinMipFilter (FilterOptions min, FilterOptions mip)
 
static GLint getTextureAddressingMode (TextureAddressingMode tam)
 

Constructor & Destructor Documentation

◆ GL3PlusSampler()

Ogre::GL3PlusSampler::GL3PlusSampler ( GL3PlusRenderSystem rs)

◆ ~GL3PlusSampler()

Ogre::GL3PlusSampler::~GL3PlusSampler ( )

Member Function Documentation

◆ bind()

void Ogre::GL3PlusSampler::bind ( uint32  unit)

◆ getCombinedMinMipFilter()

static GLint Ogre::GL3PlusSampler::getCombinedMinMipFilter ( FilterOptions  min,
FilterOptions  mip 
)
static

◆ getTextureAddressingMode()

static GLint Ogre::GL3PlusSampler::getTextureAddressingMode ( TextureAddressingMode  tam)
static

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