Cube Map texture.
More...
#include <TextureCube.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.
|
| |
- Parameters
-
| negX | Negative X axis texture. |
| posX | Positive X axis texture. |
| negY | Negative X axis texture. |
| posY | Positive X axis texture. |
| negZ | Negative X axis texture. |
| posZ | Positive X axis texture. |
| wrap | Wrapping mode. |
| filter | Filtering mode. |
| mipmaps | Should mipmaps be generated and used. |
| const std::string& ae3d::TextureCube::NegX |
( |
| ) |
const |
|
inline |
- Returns
- Negative X texture path.
| const std::string& ae3d::TextureCube::NegY |
( |
| ) |
const |
|
inline |
- Returns
- Negative Y texture path.
| const std::string& ae3d::TextureCube::NegZ |
( |
| ) |
const |
|
inline |
- Returns
- Negative Z texture path.
| const std::string& ae3d::TextureCube::PosX |
( |
| ) |
const |
|
inline |
- Returns
- Positive X texture path.
| const std::string& ae3d::TextureCube::PosY |
( |
| ) |
const |
|
inline |
- Returns
- Positive Y texture path.
| const std::string& ae3d::TextureCube::PosZ |
( |
| ) |
const |
|
inline |
- Returns
- Positive Z texture path.
The documentation for this class was generated from the following file: