1 #ifndef MESH_RENDERER_COMPONENT     2 #define MESH_RENDERER_COMPONENT    34         static int Type() { 
return 5; }
    37         static unsigned New();
    46         void Render( 
const struct Matrix44& modelView, 
const Matrix44& modelViewProjectionMatrix, 
const class Frustum& cameraFrustum, 
const Matrix44& localToWorld, 
class Shader* overrideShader );
    49         std::vector< Material* > materials;
 Material is used to render a mesh. 
Definition: Material.hpp:14
 
std::string GetSerialized() const 
 
Definition: AudioClip.hpp:4
 
Contains a Mesh. 
Definition: MeshRendererComponent.hpp:10
 
Contains a mesh. Can contain submeshes. 
Definition: Mesh.hpp:19
 
void SetMaterial(class Material *material, int subMeshIndex)
 
class Mesh * GetMesh()
Definition: MeshRendererComponent.hpp:17
 
Shader program containing a vertex and pixel shader. 
Definition: Shader.hpp:26
 
void SetMesh(Mesh *aMesh)
 
GameObject is composed of components that define its behavior. 
Definition: GameObject.hpp:9
 
class GameObject * GetGameObject() const 
Definition: MeshRendererComponent.hpp:14
 
Contains game objects in a transform hierarchy. 
Definition: Scene.hpp:17