#include <aglTextureSampler.h>
|
| | TextureSampler () |
| | TextureSampler (const TextureData &texture_data) |
| virtual | ~TextureSampler () |
| const TextureData & | getTextureData () const |
| void | applyTextureData (const TextureData &texture_data) |
| void | setTextureCompSel (TextureCompSel r, TextureCompSel g, TextureCompSel b, TextureCompSel a) |
| void | resetTextureCompSel () |
| void | setWrapX (TextureWrapType wrap_x) |
| void | setWrapY (TextureWrapType wrap_y) |
| void | setWrapZ (TextureWrapType wrap_z) |
| void | setWrap (TextureWrapType wrap_x, TextureWrapType wrap_y, TextureWrapType wrap_z) |
| void | setFilterMag (TextureFilterType filter_mag) |
| void | setFilterMin (TextureFilterType filter_min) |
| void | setFilterMip (TextureMipFilterType filter_mip) |
| void | setFilter (TextureFilterType filter_mag, TextureFilterType filter_min, TextureMipFilterType filter_mip) |
| void | setMaxAnisoRatio (TextureAnisoRatio max_aniso) |
| void | setMipParam (f32 lod_min, f32 lod_max, f32 lod_bias) |
| void | setDepthCompareEnable (bool enable) |
| void | setDepthCompareFunc (sead::Graphics::DepthFunc func) |
| void | setBorderColor (f32 r, f32 g, f32 b, f32 a) |
| void | setBorderColor (const sead::Color4f &color) |
| void | setUnk1 (u8 v) |
| u8 | getUnk1 () const |
| const GX2Texture & | getTexture () const |
| bool | activate (const SamplerLocation &location, s32=-1) const |
◆ TextureSampler() [1/2]
| agl::TextureSampler::TextureSampler |
( |
| ) |
|
◆ TextureSampler() [2/2]
| agl::TextureSampler::TextureSampler |
( |
const TextureData & | texture_data | ) |
|
◆ ~TextureSampler()
| agl::TextureSampler::~TextureSampler |
( |
| ) |
|
|
virtual |
◆ getTextureData()
| const TextureData & agl::TextureSampler::getTextureData |
( |
| ) |
const |
|
inline |
◆ applyTextureData()
| void agl::TextureSampler::applyTextureData |
( |
const TextureData & | texture_data | ) |
|
|
inline |
◆ setTextureCompSel()
◆ resetTextureCompSel()
| void agl::TextureSampler::resetTextureCompSel |
( |
| ) |
|
|
inline |
◆ setWrapX()
◆ setWrapY()
◆ setWrapZ()
◆ setWrap()
◆ setFilterMag()
◆ setFilterMin()
◆ setFilterMip()
◆ setFilter()
◆ setMaxAnisoRatio()
◆ setMipParam()
| void agl::TextureSampler::setMipParam |
( |
f32 | lod_min, |
|
|
f32 | lod_max, |
|
|
f32 | lod_bias ) |
|
inline |
◆ setDepthCompareEnable()
| void agl::TextureSampler::setDepthCompareEnable |
( |
bool | enable | ) |
|
|
inline |
◆ setDepthCompareFunc()
◆ setBorderColor() [1/2]
| void agl::TextureSampler::setBorderColor |
( |
f32 | r, |
|
|
f32 | g, |
|
|
f32 | b, |
|
|
f32 | a ) |
|
inline |
◆ setBorderColor() [2/2]
| void agl::TextureSampler::setBorderColor |
( |
const sead::Color4f & | color | ) |
|
|
inline |
◆ setUnk1()
| void agl::TextureSampler::setUnk1 |
( |
u8 | v | ) |
|
|
inline |
◆ getUnk1()
| u8 agl::TextureSampler::getUnk1 |
( |
| ) |
const |
|
inline |
◆ getTexture()
| const GX2Texture & agl::TextureSampler::getTexture |
( |
| ) |
const |
|
inline |
◆ activate()
| bool agl::TextureSampler::activate |
( |
const SamplerLocation & | location, |
|
|
s32 | = -1 ) const |
◆ applyTextureData_()
| void agl::TextureSampler::applyTextureData_ |
( |
const TextureData & | texture_data | ) |
|
|
private |
◆ initRegs_()
| void agl::TextureSampler::initRegs_ |
( |
| ) |
const |
|
private |
◆ initTexture_()
| void agl::TextureSampler::initTexture_ |
( |
| ) |
const |
|
private |
◆ initWrap_()
| void agl::TextureSampler::initWrap_ |
( |
| ) |
const |
|
private |
◆ initFilter_()
| void agl::TextureSampler::initFilter_ |
( |
| ) |
const |
|
private |
◆ initMipParam_()
| void agl::TextureSampler::initMipParam_ |
( |
| ) |
const |
|
private |
◆ initDepthComp_()
| void agl::TextureSampler::initDepthComp_ |
( |
| ) |
const |
|
private |
◆ initBorderColor_()
| void agl::TextureSampler::initBorderColor_ |
( |
| ) |
const |
|
private |
◆ mTextureData
◆ mFilterMag
◆ mFilterMin
◆ mFilterMip
◆ mWrapX
◆ mWrapY
◆ mWrapZ
◆ mBorderColor
◆ mLODMin
| f32 agl::TextureSampler::mLODMin |
|
private |
◆ mLODMax
| f32 agl::TextureSampler::mLODMax |
|
private |
◆ mLODBias
| f32 agl::TextureSampler::mLODBias |
|
private |
◆ mMaxAniso
◆ mReplaceCompSel
| bool agl::TextureSampler::mReplaceCompSel |
|
private |
◆ mCompR
◆ mCompG
◆ mCompB
◆ mCompA
◆ mIsTextureSet
| bool agl::TextureSampler::mIsTextureSet |
|
private |
◆ _e9
| u8 agl::TextureSampler::_e9 |
|
private |
◆ mDepthCompareEnable
| bool agl::TextureSampler::mDepthCompareEnable |
|
private |
◆ mDepthCompareFunc
◆ mGX2Sampler
| GX2Sampler agl::TextureSampler::mGX2Sampler |
|
mutableprivate |
◆ mGX2Texture
| GX2Texture agl::TextureSampler::mGX2Texture |
|
mutableprivate |
◆ mHasBorder
| bool agl::TextureSampler::mHasBorder |
|
mutableprivate |
◆ mFlag