#include <Material.hpp>
|
| Material () |
|
| Material (std::string_view nameMaterial, iv::types::color color) |
|
| Material (std::string_view nameMaterial, iv::types::color color, float textureAlpha) |
|
| Material (std::string_view nameMaterial, iv::types::color color, std::shared_ptr< iv::ui::graphics::Image > textureImage) |
|
| Material (std::string_view nameMaterial, iv::types::color color, float textureAlpha, std::shared_ptr< iv::ui::graphics::Image > textureImage) |
|
| Material (std::string_view nameMaterial, float r, float g, float b, float a) |
|
| Material (std::string_view nameMaterial, float r, float g, float b, float a, std::shared_ptr< iv::ui::graphics::Image > textureImage) |
|
| Material (const Material &other) |
|
| Material (Material &&other) noexcept |
|
virtual | ~Material () |
|
Material & | operator= (const Material &other) |
|
Material & | operator= (Material &&other) noexcept |
|
bool | operator== (const Material &other) const |
|
void | updateMaterial (const Material &material) |
|
iv::types::color | getColor () const |
|
void | getMaterialData (iv::types::color *color, float *r, float *g, float *b, float *a, Material::ePriority *priority, float *widthLine) const |
|
const std::string & | getNameMaterial () const |
|
std::shared_ptr< iv::ui::graphics::Image > | getTexture () const |
|
void | setPriority (Material::ePriority priority) |
|
void | setWidthLine (float widthLine) |
|
bool | hasTexture () const |
|
bool | isMaterial (const std::string &nameMaterial) const |
|
bool | isSameMaterial (const Material *material) const |
|
◆ ePriority
Enumerator |
---|
Low | |
Normal | |
High | |
◆ Material() [1/9]
iv::ui::graphics::Material::Material |
( |
| ) |
|
◆ Material() [2/9]
iv::ui::graphics::Material::Material |
( |
std::string_view | nameMaterial, |
|
|
iv::types::color | color ) |
◆ Material() [3/9]
iv::ui::graphics::Material::Material |
( |
std::string_view | nameMaterial, |
|
|
iv::types::color | color, |
|
|
float | textureAlpha ) |
◆ Material() [4/9]
◆ Material() [5/9]
◆ Material() [6/9]
iv::ui::graphics::Material::Material |
( |
std::string_view | nameMaterial, |
|
|
float | r, |
|
|
float | g, |
|
|
float | b, |
|
|
float | a ) |
◆ Material() [7/9]
iv::ui::graphics::Material::Material |
( |
std::string_view | nameMaterial, |
|
|
float | r, |
|
|
float | g, |
|
|
float | b, |
|
|
float | a, |
|
|
std::shared_ptr< iv::ui::graphics::Image > | textureImage ) |
◆ Material() [8/9]
iv::ui::graphics::Material::Material |
( |
const Material & | other | ) |
|
|
default |
◆ Material() [9/9]
iv::ui::graphics::Material::Material |
( |
Material && | other | ) |
|
|
noexcept |
◆ ~Material()
iv::ui::graphics::Material::~Material |
( |
| ) |
|
|
virtualdefault |
◆ getColor()
◆ getMaterialData()
void iv::ui::graphics::Material::getMaterialData |
( |
iv::types::color * | color, |
|
|
float * | r, |
|
|
float * | g, |
|
|
float * | b, |
|
|
float * | a, |
|
|
Material::ePriority * | priority, |
|
|
float * | widthLine ) const |
◆ getNameMaterial()
const std::string & iv::ui::graphics::Material::getNameMaterial |
( |
| ) |
const |
|
nodiscard |
◆ getTexture()
◆ hasTexture()
bool iv::ui::graphics::Material::hasTexture |
( |
| ) |
const |
|
nodiscard |
◆ isMaterial()
bool iv::ui::graphics::Material::isMaterial |
( |
const std::string & | nameMaterial | ) |
const |
|
nodiscard |
◆ isSameMaterial()
bool iv::ui::graphics::Material::isSameMaterial |
( |
const Material * | material | ) |
const |
◆ operator=() [1/2]
◆ operator=() [2/2]
◆ operator==()
bool iv::ui::graphics::Material::operator== |
( |
const Material & | other | ) |
const |
◆ setPriority()
◆ setWidthLine()
void iv::ui::graphics::Material::setWidthLine |
( |
float | widthLine | ) |
|
◆ updateMaterial()
void iv::ui::graphics::Material::updateMaterial |
( |
const Material & | material | ) |
|
◆ m_color
◆ m_nameMaterial
std::string iv::ui::graphics::Material::m_nameMaterial |
|
private |
◆ m_priority
◆ m_textureAlpha
float iv::ui::graphics::Material::m_textureAlpha |
|
private |
◆ m_textureImage
◆ m_widthLine
float iv::ui::graphics::Material::m_widthLine |
|
private |
◆ m_withTexture
bool iv::ui::graphics::Material::m_withTexture |
|
private |
The documentation for this class was generated from the following files: