mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-09-11 12:05:51 +00:00
VideoCommon: expose index generator data so it can be hashed
This commit is contained in:
parent
08a5137512
commit
65efa2aa13
1 changed files with 1 additions and 0 deletions
|
@ -24,6 +24,7 @@ public:
|
||||||
u32 GetNumVerts() const { return m_base_index; }
|
u32 GetNumVerts() const { return m_base_index; }
|
||||||
u32 GetIndexLen() const { return static_cast<u32>(m_index_buffer_current - m_base_index_ptr); }
|
u32 GetIndexLen() const { return static_cast<u32>(m_index_buffer_current - m_base_index_ptr); }
|
||||||
u32 GetRemainingIndices(OpcodeDecoder::Primitive primitive) const;
|
u32 GetRemainingIndices(OpcodeDecoder::Primitive primitive) const;
|
||||||
|
u16* GetIndexDataStart() const { return m_base_index_ptr; }
|
||||||
|
|
||||||
private:
|
private:
|
||||||
u16* m_index_buffer_current = nullptr;
|
u16* m_index_buffer_current = nullptr;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue