Editor now displaying in Vulkan

This commit is contained in:
antopilo
2024-12-04 15:25:08 -05:00
parent 5ba897ed46
commit b2d749244f
18 changed files with 2172 additions and 57 deletions

View File

@@ -411,7 +411,7 @@ namespace Nuake
vblayout.Push<float>(3);
lineVertexArray.AddBuffer(lineVertexBuffer, vblayout);
RenderCommand::DrawLines(0, 2);
//RenderCommand::DrawLines(0, 2);
}
void Renderer::DrawLine(Vector3 start, Vector3 end, Vector3 color)
@@ -424,8 +424,8 @@ namespace Nuake
void Renderer::DrawCube(Matrix4 transform)
{
ZoneScoped;
CubeMesh->Bind();
RenderCommand::DrawArrays(0, 36);
//CubeMesh->Bind();
//RenderCommand::DrawArrays(0, 36);
}
@@ -438,7 +438,7 @@ namespace Nuake
{
ZoneScoped;
QuadMesh->Bind();
RenderCommand::DrawArrays(0, 6);
//QuadMesh->Bind();
//RenderCommand::DrawArrays(0, 6);
}
}