VKRenderable and CommandBufferRender supported newly VertexInputLayout

This commit is contained in:
2023-05-04 19:11:18 +08:00
parent 6bdbf87446
commit 7031270476
9 changed files with 87 additions and 67 deletions

View File

@@ -48,9 +48,9 @@ private:
AutoDelete<MaterialCreateInfo> mci;
#ifdef USE_ZERO2ONE_COORD
mci=mtl::CreateVertexColor2D(CoordinateSystem2D::ZeroToOne);
mci=mtl::CreateVertexColor2D(mtl::CoordinateSystem2D::ZeroToOne);
#else
mci=mtl::CreateVertexColor2D(CoordinateSystem2D::Ortho);
mci=mtl::CreateVertexColor2D(mtl::CoordinateSystem2D::Ortho);
#endif//USE_ZERO2ONE_COORD
//material_instance=db->CreateMaterialInstance(OS_TEXT("res/material/VertexColor2D"));