OrbitEngine::Graphics::GLTexture class

Base classes

class Texture

Public static functions

static auto TextureFormatToGL(TextureFormat format) -> GLenum
static auto TextureInternalFormatToGL(TextureFormat format, GLenum _default = (GLenum) 0) -> GLenum
static auto TextureDataTypeToGL(TextureDataType dataType) -> GLenum
static auto TextureWrapToGL(TextureWrap wrap) -> GLenum
static auto TextureFilterToGL(TextureFilter filter) -> GLenum
static auto TextureDimensionToGL(TextureDimension dimension) -> GLenum

Constructors, destructors, conversion operators

GLTexture(TextureProperties properties, std::vector<void*> data)
~GLTexture()

Public functions

void applyParameters()
void bind(unsigned int slot) override
void setData(void* data, unsigned int offset = 0) override
void copy(Texture* source) override
auto getData() -> void* override
auto getID() const -> GLuint