GL Studio API
Public Member Functions | List of all members
IFontImage Interface Referenceabstract

#include <IFontImage.h>

Inheritance diagram for IFontImage:
Image

Public Member Functions

virtual void BindTexture ()=0
 
virtual void MipMap (bool mipMap)=0
 
virtual int PixelFormat ()=0
 

Detailed Description

This acts as a common interface class for ITexture2D (Lumen) and Image (GLS Standard), which is why it is placed in the disti namespace. It cannot be moved to core however, since it is also needed by the runtime_glyph_generation static lib.

Member Function Documentation

virtual void BindTexture ( )
pure virtual

Binds the texture.

Implemented in Image.

virtual void MipMap ( bool  mipMap)
pure virtual

Sets mip mapping for this texture.

Parameters
[in]mipMapTrue if mip mapping is enabled, else false.

Implemented in Image.

virtual int PixelFormat ( )
pure virtual

Gets the pixel format for this texture.

Returns
The pixel format for this texture.

Implemented in Image.


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