17 std::weak_ptr<BaseTexture> texture;
18 std::weak_ptr<Shader> shader;
28 Skin(std::shared_ptr<BaseTexture> texture, std::shared_ptr<Shader> shader);
35 void setTexture(
const std::shared_ptr<BaseTexture>& texture);
41 void setShader(
const std::shared_ptr<Shader>& shader);
std::shared_ptr< BaseTexture > getTexture()
Gets the texture.
Definition: skin.cpp:18
std::shared_ptr< Shader > getShader()
Gets the shader.
Definition: skin.cpp:22
void setTexture(const std::shared_ptr< BaseTexture > &texture)
Sets the texture.
Definition: skin.cpp:10
Skin(std::shared_ptr< BaseTexture > texture, std::shared_ptr< Shader > shader)
Skin constructor.
Definition: skin.cpp:6
void setShader(const std::shared_ptr< Shader > &shader)
Sets the shader.
Definition: skin.cpp:14
Class for UI skin.
Definition: skin.h:15