windows 脸和线都画出来了。

This commit is contained in:
xsl
2025-10-20 17:56:56 +08:00
parent 1f0422072a
commit 576c302cd1
5 changed files with 263 additions and 43 deletions
+11 -1
View File
@@ -43,7 +43,7 @@ public:
void update_face_vertex_buffer(float* pos, int pointCount);
virtual bool isInited() { return inited && faceAppInited; }
virtual void cleanup() override;
private:
glm::vec3 rotation = glm::vec3();
glm::vec3 camera_pos = glm::vec3();
@@ -101,6 +101,16 @@ private:
bool faceAppInited = false;
float myFloatValue = 1.5f;
Texture tex_bg = {};
void create_pipelines_bg();
void setup_descriptor_set_layout_bg();
void setup_descriptor_set_bg();
VkPipeline m_graphicsPipeline_bg = VK_NULL_HANDLE;
VkPipelineLayout m_pipelineLayout_bg = VK_NULL_HANDLE;
VkDescriptorSetLayout m_descriptorSetLayout_bg = VK_NULL_HANDLE;
VkDescriptorSet m_descriptor_set_bg = VK_NULL_HANDLE;
};
#endif