AnimEngine
Classes | Public Member Functions | Protected Attributes | Static Protected Attributes | List of all members
GlobalIlluminationFlags Class Reference

#include <GltfExtensions.h>

Inheritance diagram for GlobalIlluminationFlags:
Inheritance graph
[legend]
Collaboration diagram for GlobalIlluminationFlags:
Collaboration graph
[legend]

Classes

struct  VplNodeInfo
 

Public Member Functions

virtual ExtensionResultHint postProcessSceneCallback (GltfScenePopulator &aPopulator, const tinygltf::Scene &aSceneIn, Scene *aSceneOut) override
 
virtual ExtensionResultHint preTraverseNodeCallback (GltfScenePopulator &aPopulator, const AugNode &aNode, Entity *aParent, Entity *&aResult) override
 
virtual ExtensionResultHint postProcessMeshEntityCallback (GltfScenePopulator &aPopulator, const AugNode &aNode, SolidMeshEntity *&aMesh) override
 
virtual ExtensionResultHint postProcessSkinMeshEntityCallback (GltfScenePopulator &aPopulator, const AugNode &aNode, SkinnedMeshEntity *&aSkin) override
 
- Public Member Functions inherited from ExtrasExtension
virtual ExtensionResultHint preProcessSceneCallback (GltfScenePopulator &aPopulator, const tinygltf::Scene &aSceneIn, Scene *aSceneOut)
 
virtual ExtensionResultHint postTraverseNodeCallback (GltfScenePopulator &aPopulator, const AugNode &aNode, Entity *aParent, Entity *&aResult)
 
virtual ExtensionResultHint preProcessMeshEntityCallback (GltfScenePopulator &aPopulator, const AugNode &aNode, SolidMeshEntity *&aMesh)
 
virtual ExtensionResultHint preProcessSkinMeshEntityCallback (GltfScenePopulator &aPopulator, const AugNode &aNode, SkinnedMeshEntity *&aSkin)
 
virtual ExtensionResultHint preProcessCameraEntityCallback (GltfScenePopulator &aPopulator, const AugNode &aNode, LookAtCamera *&aCamera)
 
virtual ExtensionResultHint postProcessCameraEntityCallback (GltfScenePopulator &aPopulator, const AugNode &aNode, LookAtCamera *&aCamera)
 
virtual ExtensionResultHint preProcessAnimationCallback (GltfScenePopulator &aPopulator, const tinygltf::Animation &aAnimIn, std::vector< Bone *> &aTouchedBones, GltfAnimation &aAnimResult)
 
virtual ExtensionResultHint postProcessAnimationCallback (GltfScenePopulator &aPopulator, const tinygltf::Animation &aAnimIn, std::vector< Bone *> &aTouchedBones, GltfAnimation &aAnimResult)
 
virtual ExtensionResultHint preProcessPbrMaterialCallback (GltfScenePopulator &aPopulator, const tinygltf::Material &aMaterialIn, GltfMetallicRoughness *&aMaterialOut)
 
virtual ExtensionResultHint postProcessPbrMaterialCallback (GltfScenePopulator &aPopulator, const tinygltf::Material &aMaterialIn, GltfMetallicRoughness *&aMaterialOut)
 
virtual ExtensionResultHint preProcessTextureCallback (GltfScenePopulator &aPopulator, const tinygltf::Texture &aTexture, const tinygltf::Image &aImage, SimpleTexture2D &aTextureOut)
 
virtual ExtensionResultHint postProcessTextureCallback (GltfScenePopulator &aPopulator, const tinygltf::Texture &aTexture, const tinygltf::Image &aImage, SimpleTexture2D &aTextureOut)
 
virtual ExtensionResultHint preProcessPopulateAnimatorsCallback (GltfScenePopulator &aPopulator, std::unordered_map< std::string, GltfAnimation > &aAnimationsIn, Scene *aSceneOut)
 
virtual ExtensionResultHint postProcessPopulateAnimatorsCallback (GltfScenePopulator &aPopulator, std::unordered_map< std::string, GltfAnimation > &aAnimationsIn, Scene *aSceneOut)
 

Protected Attributes

std::vector< VplNodeInfomVplNodes
 

Static Protected Attributes

static const std::string msRootObjName = "GlobalIllumFlags"
 
static const std::string msEnableGiFieldName = "enableGI"
 
static const std::string msIsVPLFieldName = "isVPL"
 

Additional Inherited Members

- Static Protected Member Functions inherited from ExtrasExtension
static const tinygltf::Model & getAsset (const GltfScenePopulator &aPopulator)
 

Detailed Description

Extension to read additional information about rendering with global illumination Should be specified within the extras object of a node which is drawable or object which is a punctual light Format:

"GlobalIllumFlags": {
"enableGI": <Bool: True if object should be globally illuminated>
"isVPL" : <Bool: True if object is a virtual point light (only valid on punctual point lights)>
}

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