#include "Image.h"
Namespaces | |
namespace | Diligent |
Graphics engine namespace. | |
Enumerations | |
enum | Diligent::DECODE_PNG_RESULT : Uint32 { Diligent::DECODE_PNG_RESULT_OK = 0 , Diligent::DECODE_PNG_RESULT_INVALID_ARGUMENTS , Diligent::DECODE_PNG_RESULT_INVALID_SIGNATURE , Diligent::DECODE_PNG_RESULT_INITIALIZATION_FAILED , Diligent::DECODE_PNG_RESULT_INVALID_BIT_DEPTH , Diligent::DECODE_PNG_RESULT_DECODING_ERROR } |
PNG decoding result. More... | |
enum | Diligent::ENCODE_PNG_RESULT : Uint32 { Diligent::ENCODE_PNG_RESULT_OK = 0 , Diligent::ENCODE_PNG_RESULT_INVALID_ARGUMENTS , Diligent::ENCODE_PNG_RESULT_INITIALIZATION_FAILED } |
PNG encoding result. More... | |
Functions | |
DECODE_PNG_RESULT | Diligent::DecodePng (const void *pSrcPngBits, size_t PngDataSize, IDataBlob *pDstPixels, ImageDesc *pDstImgDesc) |
Decodes png image. | |
ENCODE_PNG_RESULT | Diligent::EncodePng (const Uint8 *pSrcPixels, Uint32 Width, Uint32 Height, Uint32 StrideInBytes, int PngColorType, IDataBlob *pDstPngBits) |
Encodes an image into PNG format. | |
PNG loading and encoding functions.