AnimEngine
Public Member Functions | Static Public Member Functions | Protected Attributes | List of all members
OOOGL::GltfMetallicRoughness Class Reference
Inheritance diagram for OOOGL::GltfMetallicRoughness:
Inheritance graph
[legend]
Collaboration diagram for OOOGL::GltfMetallicRoughness:
Collaboration graph
[legend]

Public Member Functions

virtual void configureShader (GLuint program) const override
 
virtual void uploadUniforms (GLuint program) const override
 
virtual const GLSLBlockLayoutConstPtr getMaterialGLSLLayout () const override
 
virtual bool hasAttribute (const std::string &attr_name) const override
 
virtual const MaterialAttributegetAttribute (const std::string &attr_name) const override
 
virtual void setAttribute (const std::string &attr_name, const MaterialAttribute &attr) override
 
virtual void printMaterial () const
 
- Public Member Functions inherited from OOOGL::ObjectTag
virtual const std::string & getTag () const
 
virtual void setTag (const std::string &tag)
 

Static Public Member Functions

static const GLSLBlockLayoutConstPtr getMaterialGLSLLayout_static ()
 

Protected Attributes

std::unordered_map< std::string, MaterialAttribute_attributes
 
- Protected Attributes inherited from OOOGL::ObjectTag
std::string tag
 

Member Data Documentation

◆ _attributes

std::unordered_map<std::string, MaterialAttribute> OOOGL::GltfMetallicRoughness::_attributes
protected
Initial value:
= {
{"emissiveFactor", MaterialAttribute(glm::vec3(0.0))},
{"baseColorFactor", MaterialAttribute(glm::vec3(0.0))},
{"metallicFactor", MaterialAttribute(0.0f)},
{"roughnessFactor", MaterialAttribute(0.0f)},
{"baseColorTexture", MaterialAttribute(OptionalSimpleTexture2D())},
{"metallicRoughnessTexture", MaterialAttribute(OptionalSimpleTexture2D())},
{"normalTexture", MaterialAttribute(OptionalSimpleTexture2D())},
{"occlusionTexture", MaterialAttribute(OptionalSimpleTexture2D())},
{"emissiveTexture", MaterialAttribute(OptionalSimpleTexture2D())}
}

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