3DCoat  3D-COAT 4.9.xx
3DCoat is the one application that has all the tools you need to take your 3D idea from a block of digital clay all the way to a production ready, fully textured organic or hard surface model.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
gltf::gImage Class Reference

Class of the image object. Contains the image properties. More...

#include <gltf.h>

Public Member Functions

const cStr Url () const
 Sets/Gets the URL. More...
 
void MimeType (const char *_miType)
 Sets/Gets the mimetype string (for example "image/jpeg") More...
 
cList< unsigned char > & GetData ()
 Gets the image data. More...
 
void SetBuffview (int ibufview)
 Sets the buffer view index. More...
 
bool CopyImageFromFile (const cStr &file)
 Copies the image data from file. More...
 

Detailed Description

Class of the image object. Contains the image properties.

+ Inheritance diagram for gltf::gImage:

Member Function Documentation

bool gltf::gImage::CopyImageFromFile ( const cStr &  file)

Copies the image data from file.

Parameters
filefile name
Returns

References GetData().

Referenced by gltf::gltfExporter::writeTextures().

cList<unsigned char>& gltf::gImage::GetData ( )
inline

Gets the image data.

Returns

Referenced by CopyImageFromFile().

void gltf::gImage::MimeType ( const char *  _miType)
inline

Sets/Gets the mimetype string (for example "image/jpeg")

Parameters
_miTypemime type string
void gltf::gImage::SetBuffview ( int  ibufview)
inline

Sets the buffer view index.

Parameters
ibufviewindex value
const cStr gltf::gImage::Url ( ) const
inline

Sets/Gets the URL.

Returns

Referenced by gltf::gltfExporter::writeTextures().


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