Altus Mapping Engine JavaScript API Reference - v2.0.ut.2153.g60764257e - Tuesday May 16, 2022 | SDK Documentation | Builds | BA3 Home |
Public Member Functions | |
Texture (Image image, bool mipEnabled) | |
GLuint | getId () |
void | update (Image image) |
void | updateR8 (VectorByte data_ubyte, uint width, uint height) |
void | updateRG88 (VectorShort data, uint width, uint height, uint format) |
void | updateRGBA (VectorShort data, uint width, uint height, uint format) |
size_t | getSizeInBytes () |
void | setSizeInBytes (uint size) |
uint | getWidth () |
uint | getHeight () |
uint | getImageWidth () |
uint | getImageHeight () |
vec2i | getSize () |
void | setSize (uint width, uint height) |
void | setFilter (TextureMagFilter filterMode) |
void | setWrapMode (int wrapMode) |
bool | isNearestSampling () |
Static Public Member Functions | |
static Texture | createFromColorBar (ColorBar colorBar) |
AltusUnified::Texture::Texture | ( | Image | image, |
bool | mipEnabled | ||
) |
uint AltusUnified::Texture::getHeight | ( | ) |
GLuint AltusUnified::Texture::getId | ( | ) |
uint AltusUnified::Texture::getImageHeight | ( | ) |
uint AltusUnified::Texture::getImageWidth | ( | ) |
vec2i AltusUnified::Texture::getSize | ( | ) |
size_t AltusUnified::Texture::getSizeInBytes | ( | ) |
uint AltusUnified::Texture::getWidth | ( | ) |
bool AltusUnified::Texture::isNearestSampling | ( | ) |
void AltusUnified::Texture::setFilter | ( | TextureMagFilter | filterMode | ) |
void AltusUnified::Texture::setSize | ( | uint | width, |
uint | height | ||
) |
void AltusUnified::Texture::setSizeInBytes | ( | uint | size | ) |
void AltusUnified::Texture::setWrapMode | ( | int | wrapMode | ) |
void AltusUnified::Texture::update | ( | Image | image | ) |
void AltusUnified::Texture::updateR8 | ( | VectorByte | data_ubyte, |
uint | width, | ||
uint | height | ||
) |
void AltusUnified::Texture::updateRG88 | ( | VectorShort | data, |
uint | width, | ||
uint | height, | ||
uint | format | ||
) |
void AltusUnified::Texture::updateRGBA | ( | VectorShort | data, |
uint | width, | ||
uint | height, | ||
uint | format | ||
) |