45 return std::make_shared<GL4Texture2Array>(
#define GL_TEXTURE_2D_ARRAY
static std::shared_ptr< GEObject > Create(void *unused, GraphicsObject const *object)
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)
virtual void LoadTextureLevel(unsigned int item, unsigned int level, void const *data) override
void APIENTRY glBindTexture(GLenum target, GLuint texture)
#define GL_TEXTURE_BINDING_2D_ARRAY
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)
void APIENTRY glGenTextures(GLsizei n, GLuint *textures)
GLint GLsizei GLsizei height
unsigned int GetNumItems() const
virtual ~GL4Texture2Array()
unsigned int GetDimension(int i) const
virtual bool CanAutoGenerateMipmaps() const override
Texture2Array * GetTexture() const
GL4Texture2Array(Texture2Array const *texture)