45 return std::make_shared<GL4Texture3>(
static std::shared_ptr< GEObject > Create(void *unused, GraphicsObject const *object)
GL4Texture3(Texture3 const *texture)
void APIENTRY glTexStorage3D(GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth)
GraphicsObjectType GetType() const
void APIENTRY glDeleteTextures(GLsizei n, const GLuint *textures)
#define GL_TEXTURE_BINDING_3D
GLint GLint GLsizei GLsizei GLsizei depth
void APIENTRY glBindTexture(GLenum target, GLuint texture)
Texture3 * GetTexture() const
void APIENTRY glTexSubImage3D(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const void *pixels)
#define LogError(message)
virtual void LoadTextureLevel(unsigned int level, void const *data) override
void APIENTRY glGenTextures(GLsizei n, GLuint *textures)
GLint GLsizei GLsizei height
unsigned int GetDimension(int i) const
virtual bool CanAutoGenerateMipmaps() const override