开始写,脸的点云了。

This commit is contained in:
xsl
2025-09-18 18:15:10 +08:00
parent 225591bf22
commit 3ca95b90f8
2 changed files with 10 additions and 1 deletions
@@ -60,6 +60,7 @@ TextureLoading::~TextureLoading()
vertex_buffer.reset();
index_buffer.reset();
uniform_buffer_vs.reset();
point_uniform_vs.reset();
point_vertex_buffer.reset(); // BufferC 会自动清理
@@ -1454,7 +1455,7 @@ void TextureLoading::setup_point_descriptor_set()
// --- 新增:更新点云描述符集以指向 uniform_buffer_vs 的辅助函数 ---
void TextureLoading::update_point_descriptor_set()
{
if (!uniform_buffer_vs) { // 检查主 UBO 缓冲区是否存在
if (!point_uniform_vs) { // 检查主 UBO 缓冲区是否存在
LOGW("Main uniform buffer (uniform_buffer_vs) not created yet, cannot update point descriptor set.");
return;
}