update
This commit is contained in:
@@ -98,6 +98,7 @@ namespace Nuake {
|
||||
sRendererAPI->DrawElements(mode, count, type, indices);
|
||||
}
|
||||
|
||||
|
||||
void RenderCommand::DrawArrays(int first, int count)
|
||||
{
|
||||
sRendererAPI->DrawArrays(first, count);
|
||||
|
||||
@@ -129,7 +129,6 @@ namespace Nuake
|
||||
Matrix4 Projection;
|
||||
};
|
||||
|
||||
|
||||
class VkRenderer
|
||||
{
|
||||
private:
|
||||
@@ -170,7 +169,6 @@ namespace Nuake
|
||||
VkDescriptorSet DrawImageDescriptors;
|
||||
VkDescriptorSetLayout DrawImageDescriptorLayout;
|
||||
|
||||
// Triangle descriptor set layout
|
||||
VkDescriptorSet TriangleBufferDescriptors;
|
||||
VkDescriptorSetLayout TriangleBufferDescriptorLayout;
|
||||
|
||||
|
||||
@@ -38,6 +38,7 @@ VSOutput main(uint vertexIndex : SV_VertexID)
|
||||
VSOutput output;
|
||||
|
||||
World worldData = world[0];
|
||||
|
||||
// Load vertex data from the buffer
|
||||
Vertex v = vertexBuffer[vertexIndex];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user