开始写,脸的点云了。
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user