#include <GteGL4TextureSingle.h>
Public Member Functions | |
virtual bool | CanAutoGenerateMipmaps () const =0 |
virtual bool | CopyCpuToGpu () override |
bool | CopyCpuToGpu (unsigned int level) |
virtual bool | CopyGpuToCpu () override |
bool | CopyGpuToCpu (unsigned int level) |
void | CopyGpuToGpu (GL4TextureSingle *texture, unsigned int level) |
virtual bool | GenerateMipmaps () |
TextureSingle * | GetTexture () const |
virtual bool | Update () override |
bool | Update (unsigned int level) |
virtual | ~GL4TextureSingle () |
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 level) |
GL4TextureSingle (TextureSingle const *gtTexture, GLenum target, GLenum targetBinding) | |
void | Initialize () |
virtual void | LoadTextureLevel (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) | |
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 |
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] |
Definition at line 17 of file GteGL4TextureSingle.h.
|
virtual |
Definition at line 13 of file GteGL4TextureSingle.cpp.
|
protected |
Definition at line 22 of file GteGL4TextureSingle.cpp.
|
pure virtual |
Implemented in gte::GL4Texture1, gte::GL4Texture2, gte::GL4Texture3, gte::GL4TextureDS, and gte::GL4TextureRT.
|
overridevirtual |
Reimplemented from gte::GL4Resource.
Definition at line 110 of file GteGL4TextureSingle.cpp.
bool GL4TextureSingle::CopyCpuToGpu | ( | unsigned int | level | ) |
Definition at line 167 of file GteGL4TextureSingle.cpp.
|
overridevirtual |
Reimplemented from gte::GL4Resource.
Definition at line 140 of file GteGL4TextureSingle.cpp.
bool GL4TextureSingle::CopyGpuToCpu | ( | unsigned int | level | ) |
Definition at line 177 of file GteGL4TextureSingle.cpp.
|
inline |
Definition at line 34 of file GteGL4TextureSingle.h.
|
protected |
Definition at line 294 of file GteGL4TextureSingle.cpp.
|
protected |
Definition at line 222 of file GteGL4TextureSingle.cpp.
|
virtual |
Definition at line 271 of file GteGL4TextureSingle.cpp.
|
inline |
Definition at line 71 of file GteGL4TextureSingle.h.
|
protected |
Definition at line 31 of file GteGL4TextureSingle.cpp.
|
protectedpure virtual |
Implemented in gte::GL4Texture1, gte::GL4Texture2, and gte::GL4Texture3.
|
overridevirtual |
Reimplemented from gte::GL4Resource.
Definition at line 80 of file GteGL4TextureSingle.cpp.
bool GL4TextureSingle::Update | ( | unsigned int | level | ) |
Definition at line 155 of file GteGL4TextureSingle.cpp.
|
private |
Definition at line 68 of file GteGL4TextureSingle.h.
|
private |
Definition at line 67 of file GteGL4TextureSingle.h.