Assimp  v3.1.1 (June 2014)
glTF::AssetMetadata Struct Reference

Public Member Functions

 AssetMetadata ()
 
void Read (Document &doc)
 

Public Attributes

std::string copyright
 A copyright message suitable for display to credit the content creator. More...
 
std::string generator
 Tool that generated this glTF model.Useful for debugging. More...
 
bool premultipliedAlpha
 Specifies if the shaders were generated with premultiplied alpha. (default: false) More...
 
struct {
   std::string   api
 Specifies the target rendering API (default: "WebGL") More...
 
   std::string   version
 Specifies the target rendering API (default: "1.0.3") More...
 
profile
 Specifies the target rendering API and version, e.g., WebGL 1.0.3. (default: {}) More...
 
int version
 The glTF format version (should be 1) More...
 

Constructor & Destructor Documentation

§ AssetMetadata()

glTF::AssetMetadata::AssetMetadata ( )
inline

Member Function Documentation

§ Read()

void glTF::AssetMetadata::Read ( Document doc)
inline

Member Data Documentation

§ api

std::string glTF::AssetMetadata::api

Specifies the target rendering API (default: "WebGL")

§ copyright

std::string glTF::AssetMetadata::copyright

A copyright message suitable for display to credit the content creator.

§ generator

std::string glTF::AssetMetadata::generator

Tool that generated this glTF model.Useful for debugging.

§ premultipliedAlpha

bool glTF::AssetMetadata::premultipliedAlpha

Specifies if the shaders were generated with premultiplied alpha. (default: false)

§ profile

struct { ... } glTF::AssetMetadata::profile

Specifies the target rendering API and version, e.g., WebGL 1.0.3. (default: {})

§ version [1/2]

std::string glTF::AssetMetadata::version

Specifies the target rendering API (default: "1.0.3")

§ version [2/2]

int glTF::AssetMetadata::version

The glTF format version (should be 1)


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