39 MOUNTAIN_API bool_t SetSourceData(
const uint8_t* buffer, int64_t length)
override;
MOUNTAIN_API void Use() const
Binds the texture.
MOUNTAIN_API Graphics::GpuTexture GetGpuTexture() const
Gets the underlying GpuTexture.
static MOUNTAIN_API constexpr std::array FileExtensions
Allowed extensions for texture files.
MOUNTAIN_API uint32_t GetId() const
Get the ID of this texture on the GPU.
Low-level interface for OpenGL textures.
Represents an image in memory.
const T * GetData() const
Gets the raw data of the texture.
MOUNTAIN_API Vector2i GetSize() const
Gets the size of the texture.
MOUNTAIN_API void Unuse() const
Unbinds the texture.