WIP Vulkan Pipeline refactoring
This commit is contained in:
@@ -35,6 +35,7 @@
|
||||
#include "KRCamera.h"
|
||||
#include "KRDataBlock.h"
|
||||
#include "KRNode.h"
|
||||
#include "KRSurface.h"
|
||||
|
||||
using std::map;
|
||||
using std::vector;
|
||||
@@ -51,7 +52,7 @@ class KRPipelineManager : public KRContextObject {
|
||||
public:
|
||||
KRPipelineManager(KRContext &context);
|
||||
virtual ~KRPipelineManager();
|
||||
void createPipelines(KrSurfaceHandle surface);
|
||||
void createPipelines(KRSurface& surface);
|
||||
KRPipeline* get(const char* szKey);
|
||||
|
||||
KRPipeline *getPipeline(const std::string &pipeline_name, KRCamera *pCamera, const std::vector<KRPointLight *> &point_lights, const std::vector<KRDirectionalLight *> &directional_lights, const std::vector<KRSpotLight *>&spot_lights, int bone_count, bool bDiffuseMap, bool bNormalMap, bool bSpecMap, bool bReflectionMap, bool bReflectionCubeMap, bool bLightMap, bool bDiffuseMapScale,bool bSpecMapScale, bool bNormalMapScale, bool bReflectionMapScale, bool bDiffuseMapOffset, bool bSpecMapOffset, bool bNormalMapOffset, bool bReflectionMapOffset, bool bAlphaTest, bool bAlphaBlend, KRNode::RenderPass renderPass, bool bRimColor = false);
|
||||
|
||||
Reference in New Issue
Block a user