finxing memory usages

This commit is contained in:
Kbz-8
2024-12-16 01:24:25 +01:00
parent 11ccc041d2
commit ab4d67d764
24 changed files with 315 additions and 79 deletions

View File

@@ -3,6 +3,11 @@
namespace mlx
{
bool Vertex::operator==(const Vertex& rhs) const noexcept
{
return position == rhs.position && uv == rhs.uv;
}
VkVertexInputBindingDescription Vertex::GetBindingDescription()
{
VkVertexInputBindingDescription binding_description{};