GL Studio C++ Runtime API
IFontImage Interface Referenceabstract

#include <IFontImage.h>

Inheritance diagram for IFontImage:
Image

Public Member Functions

virtual ~IFontImage ()
 
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.

Constructor & Destructor Documentation

◆ ~IFontImage()

virtual ~IFontImage ( )
inlinevirtual

Destructor for polymorphic deletion

Member Function Documentation

◆ BindTexture()

virtual void BindTexture ( )
pure virtual

Binds the texture.

Implemented in Image.

◆ MipMap()

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.

◆ PixelFormat()

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: