forked from Dynamitos/Seele
Improving performance, but breaking vertex buffers
This commit is contained in:
1 parent
84b3fa29bf
commit
41710220ec
25 files changed
+164
-62
No files matched your search
@@ -190,10 +190,20 @@ public:
|
||||
{
|
||||
return allocation->getOffset();
|
||||
}
|
||||
uint32 getSize() const
|
||||
{
|
||||
return size;
|
||||
}
|
||||
bool isReadable() const
|
||||
{
|
||||
return bReadable;
|
||||
}
|
||||
|
||||
private:
|
||||
PSubAllocation allocation;
|
||||
VkBuffer buffer;
|
||||
uint32 size;
|
||||
VkBufferUsageFlags usage;
|
||||
uint8 bReadable;
|
||||
friend class StagingManager;
|
||||
};
|
||||
|
||||
Reference in new issue
Block a user