#include <GteGL4TextureCube.h>
Public Member Functions | |
virtual bool | CanAutoGenerateMipmaps () const override |
TextureCube * | GetTexture () const |
GL4TextureCube (TextureCube const *textureArray) | |
virtual | ~GL4TextureCube () |
![]() | |
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 () |
![]() | |
GLenum | GetTarget () const |
GLenum | GetTargetBinding () const |
Texture * | GetTexture () const |
![]() | |
virtual void | CopyGpuToGpu (GL4Resource *target) |
Resource * | GetResource () const |
void * | MapForWrite (GLenum target) |
void | Unmap (GLenum target) |
![]() | |
GLuint | GetGLHandle () const |
virtual void | SetName (std::string const &name) override |
![]() | |
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 GLuint | GetInternalFormat (DFType dataFormat) |
Protected Member Functions | |
virtual void | LoadTextureLevel (unsigned int item, unsigned int level, void const *data) override |
![]() | |
void | CreateStaging () |
bool | DoCopyCpuToGpu (unsigned int item, unsigned int level) |
GL4TextureArray (TextureArray const *gtTexture, GLenum target, GLenum targetBinding) | |
void | Initialize () |
![]() | |
GL4Texture (Texture const *texture, GLenum target, GLenum targetBinding) | |
![]() | |
GL4Resource (Resource const *gtResource) | |
bool | PreparedForCopy (GLenum access) const |
![]() | |
GL4GraphicsObject (GraphicsObject const *gtObject) | |
![]() | |
GEObject (GraphicsObject const *gtObject) | |
Additional Inherited Members | |
![]() | |
GLuint | mExternalFormat |
GLuint | mExternalType |
GLuint | mInternalFormat |
GLint | mNumLevels |
GLenum | mTarget |
GLenum | mTargetBinding |
![]() | |
GLuint | mGLHandle |
![]() | |
GraphicsObject * | mGTObject |
std::string | mName |
![]() | |
static GLenum const | msCubeFaceTarget [6] |
![]() | |
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 GteGL4TextureCube.h.
|
virtual |
Definition at line 13 of file GteGL4TextureCube.cpp.
GL4TextureCube::GL4TextureCube | ( | TextureCube const * | textureArray | ) |
Definition at line 18 of file GteGL4TextureCube.cpp.
|
overridevirtual |
Implements gte::GL4TextureArray.
Definition at line 52 of file GteGL4TextureCube.cpp.
|
static |
Definition at line 40 of file GteGL4TextureCube.cpp.
|
inline |
Definition at line 34 of file GteGL4TextureCube.h.
|
overrideprotectedvirtual |
Implements gte::GL4TextureArray.
Definition at line 59 of file GteGL4TextureCube.cpp.