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.
|
|
Vec4 | scaleOffset { 1, 1, 0, 0 } |
| Scale (tiling) and offset.
|
|
Mipmaps | mipmaps = Mipmaps::None |
| Mipmaps.
|
|
float | anisotropy = 1 |
| Anisotropy.
|
|
ColorSpace | colorSpace = ColorSpace::RGB |
| Color space.
|
|
bool | opaque = true |
| Is the texture opaque.
|
|
bool | isRenderTexture = false |
| Is the texture a render texture.
|
|
- Parameters
-
negX | Negative X axis texture. |
posX | Positive X axis texture. |
negY | Negative Y axis texture. |
posY | Positive Y axis texture. |
negZ | Negative Z axis texture. |
posZ | Positive Z axis texture. |
wrap | Wrapping mode. |
filter | Filtering mode. |
mipmaps | Should mipmaps be generated and used. |
colorSpace | Color space. |
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: