* The new asset and appearance managers sit alongside the old ones, so no code should break just yet although you might have to be more explicit with your namespaces * Adding importprimscript to work in conjunction with qarl's Maya sculptie exporter * Removing the IA_* examples, these should be remade in to TestClient commands git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1275 52acb1d6-8a22-11de-b505-999d5b087335
30 lines
669 B
C
30 lines
669 B
C
|
|
|
|
#ifndef LIBSL_H
|
|
#define LIBSL_H
|
|
|
|
|
|
struct LibslImage
|
|
{
|
|
unsigned char* encoded;
|
|
int length;
|
|
|
|
unsigned char* decoded;
|
|
int width;
|
|
int height;
|
|
int components;
|
|
};
|
|
|
|
#define DLLEXPORT extern "C" __declspec(dllexport)
|
|
|
|
// uncompresed images are raw RGBA 8bit/channel
|
|
DLLEXPORT bool _stdcall LibslEncode(LibslImage* image, bool lossless);
|
|
DLLEXPORT bool _stdcall LibslEncodeBake(LibslImage* image);
|
|
DLLEXPORT bool _stdcall LibslDecode(LibslImage* image);
|
|
DLLEXPORT bool _stdcall LibslAllocEncoded(LibslImage* image);
|
|
DLLEXPORT bool _stdcall LibslAllocDecoded(LibslImage* image);
|
|
DLLEXPORT void _stdcall LibslFree(LibslImage* image);
|
|
|
|
|
|
#endif
|