ScummVM API documentation
Stark::Gfx::Texture Class Referenceabstract

#include <texture.h>

Inheritance diagram for Stark::Gfx::Texture:
Stark::Gfx::TinyGlTexture

Public Member Functions

virtual void bind () const =0
 
virtual void setLevelCount (uint32 count)=0
 
virtual void addLevel (uint32 level, const Graphics::Surface *surface, const byte *palette=nullptr)=0
 

Detailed Description

An abstract texture

Member Function Documentation

◆ bind()

virtual void Stark::Gfx::Texture::bind ( ) const
pure virtual

Make the texture active

Implemented in Stark::Gfx::TinyGlTexture.

◆ setLevelCount()

virtual void Stark::Gfx::Texture::setLevelCount ( uint32  count)
pure virtual

Define the total number of levels of details

Must be called before adding levels

Implemented in Stark::Gfx::TinyGlTexture.

◆ addLevel()

virtual void Stark::Gfx::Texture::addLevel ( uint32  level,
const Graphics::Surface surface,
const byte *  palette = nullptr 
)
pure virtual

Add a detail level to the texture

Implemented in Stark::Gfx::TinyGlTexture.


The documentation for this class was generated from the following file: