GlobeEngine
|
#include <Texture.h>
Public Member Functions | |
Texture3D () | |
GLuint | load (const vmml::Vector3s &_dim, TextureTypeInternals _type, float *_data) |
GLuint | loadEmpty (const vmml::Vector3s &_dim, TextureTypeInternals _type) |
void | setWrapParameter (TextureWrapParameter3D _wrap) |
void | setTextureData (T *_pixels) |
Public Member Functions inherited from ge::TextureType< 3, T, PROPERTIES > | |
TextureType () | |
~TextureType () | |
void | clear () |
int | countPixel () const |
void | setMinMagParameter (TextureMinMagParameters _minmag) |
void | generateMipMaps () |
void | bindTextureForCompute (GLuint _unit, GLint _level, GLboolean _layered, GLint _layer, GLenum _access) |
std::string | getName () |
short | getHeight () const |
short | getWidth () const |
int | getStorageSize () const |
vmml::vector< D, short > | getDimensions () const |
GLint | getInternalFormat () const |
GLenum | getFormat () const |
GLenum | getType () const |
const T & | getData () const |
T * | mapStoragePointer () |
Public Member Functions inherited from ge::TextureHandle | |
TextureHandle () | |
virtual | ~TextureHandle () |
void | clear () |
void | createHandle (GLenum _target) |
void | createFromExistingHandle (GLenum _target, GLuint _handle) |
void | bind (GLint _unit=-1) const |
void | unbind (GLint _unit=-1) const |
GLenum | getTarget () const |
void | overrideHandle (GLuint _handle) |
GLuint | getHandle () const |
void | deleteHandle () |
void | bindTextureToShader (GLuint _shaderUnit, GLenum _internalFormat, GLenum _access=GL_READ_WRITE, GLint _texlevel=0, GLboolean _islayered=GL_FALSE, GLint _texlayer=0) |
GLuint64 | getBindlessHandle () const |
BindlessState | getBindlessState () const |
void | setBindlessHandle () |
void | makeTextureResident () |
void | makeTextureNonResident () |
|
inline |
|
inline |
|
inline |
|
inlinevirtual |
Implements ge::TextureType< 3, T, PROPERTIES >.
|
inline |