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 [⅓]¶
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 [½]¶
function ambient_color [2/2]¶
function ambient_texture¶
function diffuse_color [½]¶
function diffuse_color [2/2]¶
function diffuse_texture¶
function has_ambient_texture¶
function has_diffuse_texture¶
function has_specular_texture¶
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¶
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 [½]¶
function shininess [2/2]¶
function specular_color [½]¶
function specular_color [2/2]¶
function specular_texture¶
Protected Attributes Documentation¶
variable _ambient¶
variable _ambient_texture¶
variable _diffuse¶
variable _diffuse_texture¶
variable _shininess¶
variable _specular¶
variable _specular_texture¶
The documentation for this class was generated from the following file robot_dart/gui/magnum/gs/material.hpp