Nebula
Loading...
Searching...
No Matches
CoreGraphics::ImageFileFormat Class Reference

#include <imagefileformat.h>

Detailed Description

Image file formats supported by StreamTextureSaver.

Public Types

enum  Code {
  BMP , JPG , PNG , DDS ,
  TGA , InvalidImageFileFormat
}
 image file formats More...
 

Static Public Member Functions

static Code FromString (const Util::String &str)
 convert from string
 
static Util::String ToString (Code c)
 convert to string
 
static Code FromMediaType (const IO::MediaType &mediaType)
 convert from media type (MIME)
 
static IO::MediaType ToMediaType (Code c)
 convert to media type (MIME)
 

Member Enumeration Documentation

◆ Code

image file formats

Enumerator
BMP 
JPG 
PNG 
DDS 
TGA 
InvalidImageFileFormat 

Member Function Documentation

◆ FromMediaType()

ImageFileFormat::Code CoreGraphics::ImageFileFormat::FromMediaType ( const IO::MediaType & mediaType)
static

convert from media type (MIME)

◆ FromString()

ImageFileFormat::Code CoreGraphics::ImageFileFormat::FromString ( const Util::String & str)
static

convert from string

◆ ToMediaType()

IO::MediaType CoreGraphics::ImageFileFormat::ToMediaType ( Code c)
static

convert to media type (MIME)

◆ ToString()

Util::String CoreGraphics::ImageFileFormat::ToString ( ImageFileFormat::Code c)
static

convert to string


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