Creating Vulkan framebufffers

This commit is contained in:
2021-08-12 19:51:47 -07:00
parent 12e476dc81
commit 3fff761bca
6 changed files with 50 additions and 1 deletions

View File

@@ -52,6 +52,7 @@ public:
KRPipelineManager(KRContext &context);
virtual ~KRPipelineManager();
void createPipelines(KrSurfaceHandle 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);