63 void AddShader(std::shared_ptr<Shader> shader) { m_Shaders.push_back(shader); }
70 void RemoveShader(std::shared_ptr<Shader> shader) { m_Shaders.remove(shader); }
77 void AddTexture(std::shared_ptr<Texture> texture) { m_Textures.push_back(texture); }
84 void RemoveTexture(std::shared_ptr<Texture> texture) { m_Textures.remove(texture); }
92 std::shared_ptr<Shader> GetShader(
const std::string& shaderName)
const;
99 std::shared_ptr<Shader> GetShader(
int index);
106 std::shared_ptr<Texture> GetTexture(
int index);
112 std::list<std::shared_ptr<Shader>> m_Shaders;
113 std::list<std::shared_ptr<Texture>> m_Textures;
115 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