Represents the filename and GL parameters of a texture, for passing to CTextureManager::CreateTexture.
More...
#include <TextureManager.h>
Represents the filename and GL parameters of a texture, for passing to CTextureManager::CreateTexture.
◆ CTextureProperties() [1/2]
CTextureProperties::CTextureProperties |
( |
const VfsPath & |
path | ) |
|
|
inlineexplicit |
Use the given texture name, and default GL parameters.
◆ CTextureProperties() [2/2]
◆ SetAddressMode() [1/2]
Set sampler address mode.
◆ SetAddressMode() [2/2]
Set sampler address mode separately for different coordinates.
◆ SetAnisotropicFilter()
void CTextureProperties::SetAnisotropicFilter |
( |
const bool |
enabled | ) |
|
|
inline |
The value of max anisotropy is set by options.
Though it might make sense to add an override.
◆ SetIgnoreQuality()
void CTextureProperties::SetIgnoreQuality |
( |
bool |
ignore | ) |
|
|
inline |
◆ CTextureManagerImpl
◆ TextureCacheCmp
friend struct TextureCacheCmp |
|
friend |
◆ TPequal_to
◆ TPhash
◆ m_AddressModeU
◆ m_AddressModeV
◆ m_AnisotropicFilterEnabled
bool CTextureProperties::m_AnisotropicFilterEnabled = false |
|
private |
◆ m_FormatOverride
◆ m_IgnoreQuality
bool CTextureProperties::m_IgnoreQuality = false |
|
private |
◆ m_Path
The documentation for this class was generated from the following file: