Raylib C++  1.0.0
Encapsulates the raylib library
Public Member Functions | List of all members
raylib::model::RlMaterial Class Reference

Encapsulation of the raylib Material. More...

#include <RlMaterial.hpp>

Collaboration diagram for raylib::model::RlMaterial:
Collaboration graph

Public Member Functions

 RlMaterial (const std::string &fileName)
 Construct a new RlMaterial object. More...
 
 RlMaterial (Material &material)
 Construct a new RlMaterial object from the raylib Material. More...
 
 ~RlMaterial ()
 Destroy the RlMaterial object. More...
 
const Material & getMaterial () const
 Get the raylib immutable Material. More...
 
Material & getMaterial ()
 Get the raylib mutable Material. More...
 

Detailed Description

Encapsulation of the raylib Material.

Constructor & Destructor Documentation

◆ RlMaterial() [1/2]

raylib::model::RlMaterial::RlMaterial ( const std::string &  fileName)
explicit

Construct a new RlMaterial object.

Parameters
fileNamethe file name

◆ RlMaterial() [2/2]

raylib::model::RlMaterial::RlMaterial ( Material &  material)
explicit

Construct a new RlMaterial object from the raylib Material.

Parameters
materialthe raylib Material

◆ ~RlMaterial()

raylib::model::RlMaterial::~RlMaterial ( )

Destroy the RlMaterial object.

Member Function Documentation

◆ getMaterial() [1/2]

Material& raylib::model::RlMaterial::getMaterial ( )

Get the raylib mutable Material.

Returns
the raylib mutable Material

◆ getMaterial() [2/2]

Material & raylib::model::RlMaterial::getMaterial ( ) const

Get the raylib immutable Material.

Returns
the raylib immutable Material
Here is the caller graph for this function:

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