Untitled Game engine no.5
1.0
|
5 #ifndef ENGINE_PROJ_MESHRENDERER_HPP
6 #define ENGINE_PROJ_MESHRENDERER_HPP
48 this->mesh = renderMesh;
57 map = tex->getDefaultMapping();
63 #endif //ENGINE_PROJ_MESHRENDERER_HPP
Scene Component for passing drawing data to the renderer. Stores vertex data and references to the te...
Definition: MeshRenderer.hpp:15
void SetMap(const Ref< Texture > &tex)
Definition: MeshRenderer.hpp:56
std::shared_ptr< T > Ref
Has stuff for making references a lot more easily shared smart pointer.
Definition: Base.hpp:21
Ref< TextureMap > map
Definition: MeshRenderer.hpp:24
Ref< Texture > texture
Definition: MeshRenderer.hpp:29
void SetMesh(const Ref< Mesh > &renderMesh)
Definition: MeshRenderer.hpp:47
std::vector< Ref< Texture > > vertexTextures
Definition: MeshRenderer.hpp:34
Definition: Animation.hpp:14
Ref< Mesh > mesh
Definition: MeshRenderer.hpp:40
Ref< ColorMap > colorMap
Definition: MeshRenderer.hpp:19