![]()  | 
  
    OGRE
    2.2.4
    
   Object-Oriented Graphics Rendering Engine 
   | 
 
A sampler block contains settings that go hand in hand with a texture, and thus are common to many textures. More...
#include <OgreHlmsSamplerblock.h>
 Inheritance diagram for Ogre::HlmsSamplerblock:Public Member Functions | |
| HlmsSamplerblock () | |
| bool | operator!= (const HlmsSamplerblock &_r) const | 
| void | setAddressingMode (TextureAddressingMode addressingMode) | 
| void | setFiltering (TextureFilterOptions filterType) | 
| Helper function to set filtering to the most common settings.  More... | |
Public Attributes | |
| uint8 | mAllowGlobalDefaults | 
| When zero, HlmsManager cannot override the block's values with enforced global settings.  More... | |
| uint8 | mBlockType | 
| ColourValue | mBorderColour | 
| CompareFunction | mCompareFunction | 
| Defaults to NUM_COMPARE_FUNCTIONS which means disabled.  More... | |
| uint16 | mId | 
| The mId is only valid while mRefCount > 0; which means mRsData may contain valid data, else it's null.  More... | |
| uint16 | mLifetimeId | 
| Except for HlmsSamplerblocks, mLifetimeId is valid throghout the entire life of HlmsManager.  More... | |
| FilterOptions | mMagFilter | 
| float | mMaxAnisotropy | 
| float | mMaxLod | 
| FilterOptions | mMinFilter | 
| float | mMinLod | 
| FilterOptions | mMipFilter | 
| Real | mMipLodBias | 
| This allows you to adjust the mipmap calculation up or down for a given texture unit.  More... | |
| uint16 | mRefCount | 
| Render-System specific data.  More... | |
| void * | mRsData | 
| TextureAddressingMode | mU | 
| TextureAddressingMode | mV | 
| TextureAddressingMode | mW | 
A sampler block contains settings that go hand in hand with a texture, and thus are common to many textures.
This is very analogous to D3D11_SAMPLER_DESC. HlmsDatablock Up to 32 different blocks are allowed!
| Ogre::HlmsSamplerblock::HlmsSamplerblock | ( | ) | 
      
  | 
  inline | 
References Ogre::BasicBlock::mAllowGlobalDefaults, mBorderColour, mCompareFunction, mMagFilter, mMaxAnisotropy, mMaxLod, mMinFilter, mMinLod, mMipFilter, mMipLodBias, mU, mV, and mW.
| void Ogre::HlmsSamplerblock::setAddressingMode | ( | TextureAddressingMode | addressingMode | ) | 
| void Ogre::HlmsSamplerblock::setFiltering | ( | TextureFilterOptions | filterType | ) | 
Helper function to set filtering to the most common settings.
      
  | 
  inherited | 
When zero, HlmsManager cannot override the block's values with enforced global settings.
Referenced by operator!=(), Ogre::HlmsMacroblock::operator!=(), and Ogre::HlmsBlendblock::operator!=().
      
  | 
  inherited | 
| ColourValue Ogre::HlmsSamplerblock::mBorderColour | 
Referenced by operator!=().
| CompareFunction Ogre::HlmsSamplerblock::mCompareFunction | 
Defaults to NUM_COMPARE_FUNCTIONS which means disabled.
Referenced by operator!=().
      
  | 
  inherited | 
The mId is only valid while mRefCount > 0; which means mRsData may contain valid data, else it's null.
      
  | 
  inherited | 
Except for HlmsSamplerblocks, mLifetimeId is valid throghout the entire life of HlmsManager.
This guarantees HlmsMacroblock & HlmsBlendblock pointers are always valid, although they may be inactive (i.e. mId invalid, mRefCount = 0 and mRsData = 0)
| FilterOptions Ogre::HlmsSamplerblock::mMagFilter | 
Referenced by operator!=().
| float Ogre::HlmsSamplerblock::mMaxAnisotropy | 
Referenced by operator!=().
| float Ogre::HlmsSamplerblock::mMaxLod | 
Referenced by operator!=().
| FilterOptions Ogre::HlmsSamplerblock::mMinFilter | 
Referenced by operator!=().
| float Ogre::HlmsSamplerblock::mMinLod | 
Referenced by operator!=().
| FilterOptions Ogre::HlmsSamplerblock::mMipFilter | 
Referenced by operator!=().
| Real Ogre::HlmsSamplerblock::mMipLodBias | 
This allows you to adjust the mipmap calculation up or down for a given texture unit.
Negative values force a larger mipmap to be used, positive values force a smaller mipmap to be used. Units are in numbers of levels, so +1 forces the mipmaps to one smaller level.
Referenced by operator!=().
      
  | 
  inherited | 
Render-System specific data.
      
  | 
  inherited | 
| TextureAddressingMode Ogre::HlmsSamplerblock::mU | 
Referenced by operator!=().
| TextureAddressingMode Ogre::HlmsSamplerblock::mV | 
Referenced by operator!=().
| TextureAddressingMode Ogre::HlmsSamplerblock::mW | 
Referenced by operator!=().