Base class for textures.
More...
#include <TextureBase.hpp>
|
|
int | width = 0 |
| | Width in pixels.
|
| |
|
int | height = 0 |
| | Height in pixels.
|
| |
|
unsigned | handle = 0 |
| | Graphics API handle.
|
| |
|
TextureWrap | wrap = TextureWrap::Repeat |
| | Wrapping controls how coordinates outside 0-1 are interpreted.
|
| |
|
TextureFilter | filter = TextureFilter::Nearest |
| | Filtering mode.
|
| |
|
Mipmaps | mipmaps = Mipmaps::None |
| | Mipmaps.
|
| |
|
Vec4 | scaleOffset { 1, 1, 0, 0 } |
| | Scale (tiling) and offset.
|
| |
|
bool | opaque = true |
| | Is the texture opaque.
|
| |
|
float | anisotropy = 1 |
| | Anisotropy.
|
| |
| float ae3d::TextureBase::GetAnisotropy |
( |
| ) |
const |
|
inline |
| TextureFilter ae3d::TextureBase::GetFilter |
( |
| ) |
const |
|
inline |
| int ae3d::TextureBase::GetHeight |
( |
| ) |
const |
|
inline |
| unsigned ae3d::TextureBase::GetID |
( |
| ) |
const |
|
inline |
| Mipmaps ae3d::TextureBase::GetMipmaps |
( |
| ) |
const |
|
inline |
| const Vec4& ae3d::TextureBase::GetScaleOffset |
( |
| ) |
const |
|
inline |
- Returns
- Scale and offset. x: scale x, y: scale y, z: offset x, w: offset y.
| int ae3d::TextureBase::GetWidth |
( |
| ) |
const |
|
inline |
| TextureWrap ae3d::TextureBase::GetWrap |
( |
| ) |
const |
|
inline |
| bool ae3d::TextureBase::IsOpaque |
( |
| ) |
const |
|
inline |
- Returns
- True, if the texture does not contain an alpha channel.
The documentation for this class was generated from the following file: