mirror of
https://github.com/nillerusr/source-engine.git
synced 2026-08-08 17:59:37 +00:00
1
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
//========= Copyright Valve Corporation, All rights reserved. ============//
|
||||
//
|
||||
// Purpose: image functions
|
||||
//
|
||||
//=============================================================================
|
||||
|
||||
#ifndef IMAGELOADWRAPPER_H
|
||||
#define IMAGELOADWRAPPER_H
|
||||
|
||||
#include "jpegloader.h"
|
||||
#include "tgaloader.h"
|
||||
#include "pngloader.h"
|
||||
|
||||
// Convert any supported image type (jpeg, tga) to RGB
|
||||
bool ConvertImageToRGB( const byte *pubImageData, int cubImageData, CUtlBuffer &bufOutput, int &width, int &height );
|
||||
|
||||
// Convert any supported image type (jpeg, tga) to RGBA
|
||||
bool ConvertImageToRGBA( const byte *pubImageData, int cubImageData, CUtlBuffer &bufOutput, int &width, int &height );
|
||||
|
||||
#endif // IMAGELOADWRAPPER_H
|
||||
Reference in New Issue
Block a user