C3D Toolkit
Kernel - 117982, Vision - 2.9.2.2
|
Texture3D class is for processing 3D textures. The class is used to create textures on the fly or to change the existing texture resources. More...
#include <vsn_texture3d.h>
Public Member Functions | |
Texture3D () | |
Default constructor. | |
Texture3D (const Texture3D &other)=delete | |
Copy constructor. | |
virtual | ~Texture3D () |
Destructor. | |
void | OGLBindTexture () |
Activates texture. | |
bool | Init (const std::vector< const Image * > &imageArray) |
Initializes using Image. | |
bool | Init (TextureFormat format, SizeI size, const std::vector< const unsigned char * > &pBitsArray) |
Initializes using bit map. | |
uint | GetWidth () const |
Returns texture width. | |
uint | GetHeight () const |
Returns texture height. | |
uint | GetDepth () const |
Returns texture depth. | |
uint | GetUniqueKey () const |
Returns texture identifier. | |
bool | HasAlphaChannel () const |
Checks if alpha channel exists. | |
bool | IsLoaded () const |
Checks texture state. | |
void | SetFilters (TextureFilter min, TextureFilter max) |
Sets rasterization filters. | |
void | SetAnisotropic (float value) |
Sets value of anisotropic filter. | |
void | SetWrap (TextureWrap s, TextureWrap t, TextureWrap r) |
Sets parameters of texture repeat. | |
Texture3D & | operator= (const Texture3D &other)=delete |
Copy operator. | |
Texture3D class is for processing 3D textures. The class is used to create textures on the fly or to change the existing texture resources.