48 for (
unsigned int cube = 0; cube < numCubes; ++cube)
65 for (
unsigned int cube = 0; cube < numCubes; ++cube)
94 return std::make_shared<GL4TextureCubeArray>(
118 auto const cube =
texture->GetCubeIndexFor(item);
void APIENTRY glTexParameteri(GLenum target, GLenum pname, GLint param)
virtual bool CanAutoGenerateMipmaps() const override
unsigned int GetNumCubes() const
static const unsigned int CubeFaceCount
void APIENTRY glTexStorage3D(GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth)
char const * GetDataFor(unsigned int cube, unsigned int face, unsigned int level) const
GraphicsObjectType GetType() const
void APIENTRY glDeleteTextures(GLsizei n, const GLuint *textures)
static GLenum const msCubeFaceTarget[6]
void APIENTRY glPixelStorei(GLenum pname, GLint param)
#define GL_PACK_ALIGNMENT
static std::shared_ptr< GEObject > Create(void *unused, GraphicsObject const *object)
void APIENTRY glBindTexture(GLenum target, GLuint texture)
virtual ~GL4TextureCubeArray()
#define GL_TEXTURE_BASE_LEVEL
#define GL_TEXTURE_MAX_LEVEL
#define GL_UNPACK_ALIGNMENT
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)
char const * GetData() const
#define GL_TEXTURE_CUBE_MAP_ARRAY
GLint GLsizei GLsizei height
unsigned int GetNumItems() const
unsigned int GetDimension(int i) const
virtual void LoadTextureLevel(unsigned int item, unsigned int level, void const *data) override
unsigned int GetItemIndexFor(unsigned int cube, unsigned int face) const
GL4TextureCubeArray(TextureCubeArray const *texture)
TextureCubeArray * GetTexture() const
virtual bool GenerateMipmaps()
#define GL_TEXTURE_BINDING_CUBE_MAP_ARRAY
GLenum GLuint GLint GLenum face