kick
|
00001 // 00002 // Created by Morten Nobel-Jørgensen on 31/10/14. 00003 // 00004 00005 00006 #pragma once 00007 00008 #include <memory> 00009 #include "kick/kick.h" 00010 00011 namespace kick { 00012 class Skybox : public ComponentRenderable { 00013 MeshRenderer*mMeshRenderer; 00014 std::shared_ptr<Mesh> mMesh; 00015 public: 00016 Skybox(GameObject *gameObject); 00017 virtual ~Skybox(); 00018 virtual void render(EngineUniforms *engineUniforms, Material *replacementMaterial); 00019 00020 virtual int renderOrder(); 00021 00022 Material *material() const; 00023 00024 void setMaterial(Material *material); 00025 }; 00026 } 00027 00028