kick
/Users/morten/Programmering/cpp/kick/src/kick/scene/engine_uniforms.h
00001 //
00002 //  engine_uniforms.h
00003 //  KickCPP
00004 //
00005 //  Created by morten on 8/14/13.
00006 //  Copyright (c) 2013 Morten Nobel-Joergensen. All rights reserved.
00007 //
00008 
00009 #pragma once
00010 
00011 #include "glm/glm.hpp"
00012 #include "kick/scene/scene_lights.h"
00013 #include "kick/core/event_listener.h"
00014 
00015 namespace kick {
00016     class Camera;
00017     class Transform;
00018     
00019     struct EngineUniforms {
00020         SyncValue<glm::ivec2> viewportDimension;
00021         glm::mat4 viewMatrix;
00022         glm::mat4 projectionMatrix;
00023         glm::mat4 viewProjectionMatrix;
00024         glm::mat4 lightMatrix;
00025         std::shared_ptr<Camera> currentCamera;
00026         Transform* currentCameraTransform;
00027         SceneLights* sceneLights;
00028     };
00029 }
 All Classes Functions Variables