/*
* Copyright 2018-2021 ANSYS, Inc. Unauthorized use, distribution, or duplication is prohibited.
*
* Restricted Rights Legend
*
* Use, duplication, or disclosure of this
* software and its documentation by the
* Government is subject to restrictions as
* set forth in subdivision [(b)(3)(ii)] of
* the Rights in Technical Data and Computer
* Software clause at 52.227-7013.
*/
#ifndef __INCLUDED_GLTF_GLTFIMAGE__
#define __INCLUDED_GLTF_GLTFIMAGE__
#include "GLTFCommon.h"
#include "GLTFObject.h"
namespace ANSYS { namespace AVZ { namespace GLTFWriter {
class GLTF;
class Image : public Object
{
protected:
virtual ~Image() {}
public:
static GLTFWRITERSPEC Image *Create(GLTF *gltf,
const char *filePath,
bool generateMipmap = false,
bool isProxy = false
);
static GLTFWRITERSPEC Image *Create(GLTF *gltf,
unsigned int dataSize,
const unsigned char *data,
bool generateMipmap = false,
bool isProxy = false
);
};
} } }
#endif
GLTFImage.h
Was this page helpful?