-----------------------------------------------------------------------
| 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) |
no outgoing calls
no test coverage detected