Beatmup
Beatmup::UnsupportedTextureFormat Class Reference

Exception thrown when texture format does not match any supported format. More...

#include <texture_handler.h>

Inheritance diagram for Beatmup::UnsupportedTextureFormat:
Beatmup::Exception

Public Member Functions

 UnsupportedTextureFormat (const GL::TextureHandler::TextureFormat &format)
 
- Public Member Functions inherited from Beatmup::Exception
virtual const char * what () const NOEXCEPT override
 

Additional Inherited Members

- Protected Member Functions inherited from Beatmup::Exception
 Exception (const char *message)
 
template<typename ... Args>
 Exception (const char *message, const Args &... args)
 

Detailed Description

Exception thrown when texture format does not match any supported format.

Definition at line 128 of file texture_handler.h.

Constructor & Destructor Documentation

◆ UnsupportedTextureFormat()

Beatmup::UnsupportedTextureFormat::UnsupportedTextureFormat ( const GL::TextureHandler::TextureFormat format)
inline

Definition at line 130 of file texture_handler.h.

130  :
131  Exception("Input texture format is not supported: %s", GL::TextureHandler::textureFormatToString(format))
132  {}
Exception(const char *message)
Definition: exception.h:41
static const char * textureFormatToString(const TextureFormat &)
JNIEnv jobject jint format

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