#include <GteGL4TextureArray.h>
Public Member Functions | |
virtual bool | CanAutoGenerateMipmaps () const =0 |
virtual bool | CopyCpuToGpu () override |
bool | CopyCpuToGpu (unsigned int item, unsigned int level) |
virtual bool | CopyGpuToCpu () override |
bool | CopyGpuToCpu (unsigned int item, unsigned int level) |
void | CopyGpuToGpu (GL4TextureArray *target, unsigned int item, unsigned int level) |
virtual bool | GenerateMipmaps () |
TextureArray * | GetTexture () const |
virtual bool | Update () override |
bool | Update (unsigned int item, unsigned int level) |
virtual | ~GL4TextureArray () |
Public Member Functions inherited from gte::GL4Texture | |
GLenum | GetTarget () const |
GLenum | GetTargetBinding () const |
Texture * | GetTexture () const |
Public Member Functions inherited from gte::GL4Resource | |
virtual void | CopyGpuToGpu (GL4Resource *target) |
Resource * | GetResource () const |
void * | MapForWrite (GLenum target) |
void | Unmap (GLenum target) |
Public Member Functions inherited from gte::GL4GraphicsObject | |
GLuint | GetGLHandle () const |
virtual void | SetName (std::string const &name) override |
Public Member Functions inherited from gte::GEObject | |
GraphicsObject * | GetGraphicsObject () const |
std::string const & | GetName () const |
virtual | ~GEObject () |
Protected Member Functions | |
void | CreateStaging () |
bool | DoCopyCpuToGpu (unsigned int item, unsigned int level) |
GL4TextureArray (TextureArray const *gtTexture, GLenum target, GLenum targetBinding) | |
void | Initialize () |
virtual void | LoadTextureLevel (unsigned int item, unsigned int level, void const *data)=0 |
Protected Member Functions inherited from gte::GL4Texture | |
GL4Texture (Texture const *texture, GLenum target, GLenum targetBinding) | |
Protected Member Functions inherited from gte::GL4Resource | |
GL4Resource (Resource const *gtResource) | |
bool | PreparedForCopy (GLenum access) const |
Protected Member Functions inherited from gte::GL4GraphicsObject | |
GL4GraphicsObject (GraphicsObject const *gtObject) | |
Protected Member Functions inherited from gte::GEObject | |
GEObject (GraphicsObject const *gtObject) | |
Static Protected Attributes | |
static GLenum const | msCubeFaceTarget [6] |
Static Protected Attributes inherited from gte::GL4Texture | |
static GLuint const | msGLTextureExternalFormat [DF_NUM_FORMATS] |
static GLuint const | msGLTextureExternalType [DF_NUM_CHANNEL_TYPES] |
static GLuint const | msGLTextureInternalFormat [DF_NUM_FORMATS] |
Private Attributes | |
GLuint | mLevelPixelPackBuffer [Texture::MAX_MIPMAP_LEVELS] |
GLuint | mLevelPixelUnpackBuffer [Texture::MAX_MIPMAP_LEVELS] |
Additional Inherited Members | |
Static Public Member Functions inherited from gte::GL4Texture | |
static GLuint | GetInternalFormat (DFType dataFormat) |
Protected Attributes inherited from gte::GL4Texture | |
GLuint | mExternalFormat |
GLuint | mExternalType |
GLuint | mInternalFormat |
GLint | mNumLevels |
GLenum | mTarget |
GLenum | mTargetBinding |
Protected Attributes inherited from gte::GL4GraphicsObject | |
GLuint | mGLHandle |
Protected Attributes inherited from gte::GEObject | |
GraphicsObject * | mGTObject |
std::string | mName |
Definition at line 16 of file GteGL4TextureArray.h.
|
virtual |
Definition at line 13 of file GteGL4TextureArray.cpp.
|
protected |
Definition at line 22 of file GteGL4TextureArray.cpp.
|
pure virtual |
Implemented in gte::GL4Texture1Array, gte::GL4Texture2Array, gte::GL4TextureCube, and gte::GL4TextureCubeArray.
|
overridevirtual |
Reimplemented from gte::GL4Resource.
Definition at line 124 of file GteGL4TextureArray.cpp.
Definition at line 192 of file GteGL4TextureArray.cpp.
|
overridevirtual |
Reimplemented from gte::GL4Resource.
Definition at line 161 of file GteGL4TextureArray.cpp.
Definition at line 202 of file GteGL4TextureArray.cpp.
|
inline |
Definition at line 33 of file GteGL4TextureArray.h.
|
protected |
Definition at line 312 of file GteGL4TextureArray.cpp.
Definition at line 255 of file GteGL4TextureArray.cpp.
|
virtual |
Definition at line 367 of file GteGL4TextureArray.cpp.
|
inline |
Definition at line 74 of file GteGL4TextureArray.h.
|
protected |
Definition at line 31 of file GteGL4TextureArray.cpp.
|
protectedpure virtual |
Implemented in gte::GL4Texture1Array, gte::GL4Texture2Array, gte::GL4TextureCube, and gte::GL4TextureCubeArray.
|
overridevirtual |
Reimplemented from gte::GL4Resource.
Definition at line 87 of file GteGL4TextureArray.cpp.
Definition at line 180 of file GteGL4TextureArray.cpp.
|
private |
Definition at line 71 of file GteGL4TextureArray.h.
|
private |
Definition at line 70 of file GteGL4TextureArray.h.
|
staticprotected |
Definition at line 66 of file GteGL4TextureArray.h.