Skip to content

Class robot_dart::gui::magnum:🇬🇸:Material

ClassList > robot_dart > gui > magnum > gs > Material

Public Functions

Type Name
Material ()
Material (const Magnum::Color4 & ambient, const Magnum::Color4 & diffuse, const Magnum::Color4 & specular, Magnum::Float shininess)
Material (Magnum::GL::Texture2D * ambient_texture, Magnum::GL::Texture2D * diffuse_texture, Magnum::GL::Texture2D * specular_texture, Magnum::Float shininess)
Magnum::Color4 & ambient_color ()
Magnum::Color4 ambient_color () const
Magnum::GL::Texture2D * ambient_texture ()
Magnum::Color4 & diffuse_color ()
Magnum::Color4 diffuse_color () const
Magnum::GL::Texture2D * diffuse_texture ()
bool has_ambient_texture () const
bool has_diffuse_texture () const
bool has_specular_texture () const
Material & set_ambient_color (const Magnum::Color4 & ambient)
Material & set_ambient_texture (Magnum::GL::Texture2D * ambient_texture)
Material & set_diffuse_color (const Magnum::Color4 & diffuse)
Material & set_diffuse_texture (Magnum::GL::Texture2D * diffuse_texture)
Material & set_shininess (Magnum::Float shininess)
Material & set_specular_color (const Magnum::Color4 & specular)
Material & set_specular_texture (Magnum::GL::Texture2D * specular_texture)
Magnum::Float & shininess ()
Magnum::Float shininess () const
Magnum::Color4 & specular_color ()
Magnum::Color4 specular_color () const
Magnum::GL::Texture2D * specular_texture ()

Protected Attributes

Type Name
Magnum::Color4 _ambient
Magnum::GL::Texture2D * _ambient_texture = = NULL
Magnum::Color4 _diffuse
Magnum::GL::Texture2D * _diffuse_texture = = NULL
Magnum::Float _shininess
Magnum::Color4 _specular
Magnum::GL::Texture2D * _specular_texture = = NULL

Public Functions Documentation

function Material [⅓]

robot_dart::gui::magnum::gs::Material::Material () 

function Material [⅔]

robot_dart::gui::magnum::gs::Material::Material (
    const Magnum::Color4 & ambient,
    const Magnum::Color4 & diffuse,
    const Magnum::Color4 & specular,
    Magnum::Float shininess
) 

function Material [3/3]

robot_dart::gui::magnum::gs::Material::Material (
    Magnum::GL::Texture2D * ambient_texture,
    Magnum::GL::Texture2D * diffuse_texture,
    Magnum::GL::Texture2D * specular_texture,
    Magnum::Float shininess
) 

function ambient_color [½]

Magnum::Color4 & robot_dart::gui::magnum::gs::Material::ambient_color () 

function ambient_color [2/2]

Magnum::Color4 robot_dart::gui::magnum::gs::Material::ambient_color () const

function ambient_texture

Magnum::GL::Texture2D * robot_dart::gui::magnum::gs::Material::ambient_texture () 

function diffuse_color [½]

Magnum::Color4 & robot_dart::gui::magnum::gs::Material::diffuse_color () 

function diffuse_color [2/2]

Magnum::Color4 robot_dart::gui::magnum::gs::Material::diffuse_color () const

function diffuse_texture

Magnum::GL::Texture2D * robot_dart::gui::magnum::gs::Material::diffuse_texture () 

function has_ambient_texture

bool robot_dart::gui::magnum::gs::Material::has_ambient_texture () const

function has_diffuse_texture

bool robot_dart::gui::magnum::gs::Material::has_diffuse_texture () const

function has_specular_texture

bool robot_dart::gui::magnum::gs::Material::has_specular_texture () const

function set_ambient_color

Material & robot_dart::gui::magnum::gs::Material::set_ambient_color (
    const Magnum::Color4 & ambient
) 

function set_ambient_texture

Material & robot_dart::gui::magnum::gs::Material::set_ambient_texture (
    Magnum::GL::Texture2D * ambient_texture
) 

function set_diffuse_color

Material & robot_dart::gui::magnum::gs::Material::set_diffuse_color (
    const Magnum::Color4 & diffuse
) 

function set_diffuse_texture

Material & robot_dart::gui::magnum::gs::Material::set_diffuse_texture (
    Magnum::GL::Texture2D * diffuse_texture
) 

function set_shininess

Material & robot_dart::gui::magnum::gs::Material::set_shininess (
    Magnum::Float shininess
) 

function set_specular_color

Material & robot_dart::gui::magnum::gs::Material::set_specular_color (
    const Magnum::Color4 & specular
) 

function set_specular_texture

Material & robot_dart::gui::magnum::gs::Material::set_specular_texture (
    Magnum::GL::Texture2D * specular_texture
) 

function shininess [½]

Magnum::Float & robot_dart::gui::magnum::gs::Material::shininess () 

function shininess [2/2]

Magnum::Float robot_dart::gui::magnum::gs::Material::shininess () const

function specular_color [½]

Magnum::Color4 & robot_dart::gui::magnum::gs::Material::specular_color () 

function specular_color [2/2]

Magnum::Color4 robot_dart::gui::magnum::gs::Material::specular_color () const

function specular_texture

Magnum::GL::Texture2D * robot_dart::gui::magnum::gs::Material::specular_texture () 

Protected Attributes Documentation

variable _ambient

Magnum::Color4 robot_dart::gui::magnum::gs::Material::_ambient;

variable _ambient_texture

Magnum::GL::Texture2D* robot_dart::gui::magnum::gs::Material::_ambient_texture;

variable _diffuse

Magnum::Color4 robot_dart::gui::magnum::gs::Material::_diffuse;

variable _diffuse_texture

Magnum::GL::Texture2D* robot_dart::gui::magnum::gs::Material::_diffuse_texture;

variable _shininess

Magnum::Float robot_dart::gui::magnum::gs::Material::_shininess;

variable _specular

Magnum::Color4 robot_dart::gui::magnum::gs::Material::_specular;

variable _specular_texture

Magnum::GL::Texture2D* robot_dart::gui::magnum::gs::Material::_specular_texture;


The documentation for this class was generated from the following file robot_dart/gui/magnum/gs/material.hpp