VKRenderable and CommandBufferRender supported newly VertexInputLayout
This commit is contained in:
@@ -37,9 +37,9 @@ private:
|
||||
|
||||
MaterialInstance * material_instance =nullptr;
|
||||
Renderable * render_obj =nullptr;
|
||||
DeviceBuffer * ubo_camera_info =nullptr;
|
||||
DeviceBuffer * ubo_color_material =nullptr;
|
||||
DeviceBuffer * ubo_line_config =nullptr;
|
||||
DeviceBuffer * ubo_camera_info =nullptr;
|
||||
DeviceBuffer * ubo_color_material =nullptr;
|
||||
DeviceBuffer * ubo_line_config =nullptr;
|
||||
|
||||
Pipeline * pipeline =nullptr;
|
||||
|
||||
|
@@ -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"));
|
||||
|
Reference in New Issue
Block a user