Skip to content

Commit

Permalink
Added VertexInput::operator==()
Browse files Browse the repository at this point in the history
  • Loading branch information
corporateshark committed Aug 31, 2024
1 parent 1dd8c6a commit 1239753
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lvk/LVK.h
Original file line number Diff line number Diff line change
Expand Up @@ -543,6 +543,10 @@ struct VertexInput final {
}
return n;
}

bool operator==(const VertexInput& other) const {
return memcmp(this, &other, sizeof(VertexInput)) == 0;
}
};

struct ColorAttachment {
Expand Down

0 comments on commit 1239753

Please sign in to comment.