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

#include <OgreMetalTextureManager.h>

+ Inheritance diagram for Ogre::MetalSampler:

Public Member Functions

 MetalSampler (MetalDevice *device)
 
id< MTLSamplerState > getState ()
 
- 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...
 

Constructor & Destructor Documentation

◆ MetalSampler()

Ogre::MetalSampler::MetalSampler ( MetalDevice device)
inline

Member Function Documentation

◆ getState()

id<MTLSamplerState> Ogre::MetalSampler::getState ( )

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