65 void AddShader(std::shared_ptr<Shader> shader) { m_Shaders.push_back(shader); }
72 void RemoveShader(std::shared_ptr<Shader> shader) { m_Shaders.remove(shader); }
79 void AddTexture(std::shared_ptr<Texture> texture) { m_Textures.push_back(texture); }
86 void RemoveTexture(std::shared_ptr<Texture> texture) { m_Textures.remove(texture); }
94 std::shared_ptr<Shader> GetShader(
const std::string& shaderName)
const;
101 std::shared_ptr<Shader> GetShader(
int index);
108 std::shared_ptr<Texture> GetTexture(
int index);
114 std::list<std::shared_ptr<Shader>> m_Shaders;
115 std::list<std::shared_ptr<Texture>> m_Textures;
117 std::shared_ptr<Camera> m_MainCamera;
This file contains the SkeletalMesh class.
void ProcessForSubmission()
Process for various things belonging to the material before submitting the VertexArray (or issuing dr...
Definition Material.cpp:33