| makVrv::DtGlTextureUtils::DtGlTextureUtils |
( |
| ) |
|
|
delete |
| virtual makVrv::DtGlTextureUtils::~DtGlTextureUtils |
( |
| ) |
|
|
virtualdelete |
| static std::string makVrv::DtGlTextureUtils::textureName |
( |
unsigned int |
id | ) |
|
|
static |
This is width of texture/highest-resolution mip map.
This is height of texture/highest-resolution mip map.
| static int makVrv::DtGlTextureUtils::internalFormat |
( |
unsigned int |
id | ) |
|
|
static |
The internal gl format of the texture.
| static int makVrv::DtGlTextureUtils::numComponents |
( |
unsigned int |
pixelFormat | ) |
|
|
static |
get the number of components e.g. GL_SLUMINANCE_ALPHA -> 2, GL_COMPRESSED_RGBA_S3TC_DXT1_EXT-> 4
| static bool makVrv::DtGlTextureUtils::isCompressedFormat |
( |
unsigned int |
internalFormat | ) |
|
|
static |
is it a compressed format? (e.g: GL_COMPRESSED_SRGB_ALPHA -> true)
| static int makVrv::DtGlTextureUtils::sizeInBytesOfCompressedTextureWithMipMaps |
( |
int |
internalFormat, |
|
|
int |
startMipMapWidth, |
|
|
int |
startMipMapHeight |
|
) |
| |
|
static |
compute the size of compressed mip mapped texture with mip map 0 as [startMipMapWidth, startMipMapHeight]
| static int makVrv::DtGlTextureUtils::sizeOfMipMap |
( |
int |
internalFormat, |
|
|
int |
width, |
|
|
int |
height |
|
) |
| |
|
static |
compute the size of compressed a single mip map [width, height]
| static const char* makVrv::DtGlTextureUtils::formatToString |
( |
int |
format | ) |
|
|
static |
convert a gl (texture) format to a string
| static void makVrv::DtGlTextureUtils::computeCompressedSize |
( |
int |
internalFormat, |
|
|
int |
width, |
|
|
int |
height, |
|
|
int |
depth, |
|
|
int & |
blockSize, |
|
|
int & |
size |
|
) |
| |
|
static |
compute the size and block size of a given compressed format for a resolution of width x height
The documentation for this class was generated from the following file:
- /data/exports/nrhent7-1/nightly/docs/vrForces.vrf5-1-branch/include/vrvGraphicsUtils/DtGlTextureUtils.h