Rendu
A lightweight rendering engine for experimentations
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
CompositeObj::ObjectMaterialUse Class Reference

Associate an object and a material with geometry in an OBJ. More...

Public Member Functions

 ObjectMaterialUse (const std::string &objName, const std::string &matName, size_t faceId)
 

Public Attributes

std::string objectName
 The name of the object.
 
std::string materialName
 The name of the material.
 
size_t index
 The position of the first face of the object in the OBJ file.
 

Detailed Description

Associate an object and a material with geometry in an OBJ.

Constructor & Destructor Documentation

◆ ObjectMaterialUse()

CompositeObj::ObjectMaterialUse::ObjectMaterialUse ( const std::string &  objName,
const std::string &  matName,
size_t  faceId 
)
inline

Constructor.

Parameters
objNameobject name
matNamematerial name
faceIdthe object first face position

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