#include <GteGL4Texture2Array.h>
Public Member Functions | |
virtual bool | CanAutoGenerateMipmaps () const override |
Texture2Array * | GetTexture () const |
GL4Texture2Array (Texture2Array const *texture) | |
virtual | ~GL4Texture2Array () |
Public Member Functions inherited from gte::GL4TextureArray | |
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 () |
Static Public Member Functions | |
static std::shared_ptr< GEObject > | Create (void *unused, GraphicsObject const *object) |
Static Public Member Functions inherited from gte::GL4Texture | |
static GLuint | GetInternalFormat (DFType dataFormat) |
Protected Member Functions | |
virtual void | LoadTextureLevel (unsigned int item, unsigned int level, void const *data) override |
Protected Member Functions inherited from gte::GL4TextureArray | |
void | CreateStaging () |
bool | DoCopyCpuToGpu (unsigned int item, unsigned int level) |
GL4TextureArray (TextureArray const *gtTexture, GLenum target, GLenum targetBinding) | |
void | Initialize () |
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) | |
Additional Inherited Members | |
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::GL4TextureArray | |
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] |
Definition at line 16 of file GteGL4Texture2Array.h.
|
virtual |
Definition at line 13 of file GteGL4Texture2Array.cpp.
GL4Texture2Array::GL4Texture2Array | ( | Texture2Array const * | texture | ) |
Definition at line 18 of file GteGL4Texture2Array.cpp.
|
overridevirtual |
Implements gte::GL4TextureArray.
Definition at line 53 of file GteGL4Texture2Array.cpp.
|
static |
Definition at line 41 of file GteGL4Texture2Array.cpp.
|
inline |
Definition at line 34 of file GteGL4Texture2Array.h.
|
overrideprotectedvirtual |
Implements gte::GL4TextureArray.
Definition at line 60 of file GteGL4Texture2Array.cpp.