mirror of
https://github.com/doitsujin/dxvk.git
synced 2025-03-06 20:58:37 +01:00
[dxvk] Added new convenient buffer slice constructor
This commit is contained in:
parent
7cc65be16b
commit
5cfbb74455
1 changed files with 4 additions and 0 deletions
|
@ -240,6 +240,10 @@ namespace dxvk {
|
|||
public:
|
||||
|
||||
DxvkBufferSlice() { }
|
||||
|
||||
explicit DxvkBufferSlice(const Rc<DxvkBuffer>& buffer)
|
||||
: DxvkBufferSlice(buffer, 0, buffer->info().size) { }
|
||||
|
||||
DxvkBufferSlice(
|
||||
const Rc<DxvkBuffer>& buffer,
|
||||
VkDeviceSize rangeOffset,
|
||||
|
|
Loading…
Add table
Reference in a new issue