AUI Framework  master
Cross-platform base for C++ UI apps
Loading...
Searching...
No Matches
StbImageLoader Class Reference

Public Member Functions#

_< AImagegetRasterImage (AByteBufferView buffer) override
 The image loader implementation (raster).
 
- Public Member Functions inherited from IImageLoader
virtual bool matches (AByteBufferView buffer)=0
 
virtual _< IImageFactorygetImageFactory (AByteBufferView buffer)
 The drawable (vector) image loader implementation.
 

Member Function Documentation#

◆ getRasterImage()#

_< AImage > StbImageLoader::getRasterImage ( AByteBufferView buffer)
overridevirtual
Note
Called if and only if matches returned true.
Returns
raster image. Can be nullptr if getDrawable implemented.

Implements IImageLoader.