MCPcopy Create free account
hub / github.com/OGRECave/ogre / getFiltering

Method getFiltering

OgreMain/src/OgreTextureUnitState.cpp:105–118  ·  view source on GitHub ↗

-----------------------------------------------------------------------

Source from the content-addressed store, hash-verified

103 }
104 //-----------------------------------------------------------------------
105 FilterOptions Sampler::getFiltering(FilterType ft) const
106 {
107 switch (ft)
108 {
109 case FT_MIN:
110 return mMinFilter;
111 case FT_MAG:
112 return mMagFilter;
113 case FT_MIP:
114 return mMipFilter;
115 }
116 // to keep compiler happy
117 return mMinFilter;
118 }
119 //-----------------------------------------------------------------------
120 TextureUnitState::TextureUnitState(Pass* parent)
121 : mCurrentFrame(0)

Callers 5

getTextureFilteringFunction · 0.80
_setSamplerMethod · 0.80
_setSamplerMethod · 0.80
_setSamplerMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected