shader reflect testing
This commit is contained in:
@@ -48,6 +48,10 @@ class Buffer {
|
||||
}
|
||||
vk::DeviceSize getBufferSize() const { return bufferSize; }
|
||||
|
||||
vk::DeviceAddress getDeviceAddress() {
|
||||
return this->device.get()->getBufferAddress(this->buffer);
|
||||
}
|
||||
|
||||
private:
|
||||
static vk::DeviceSize getAlignment(vk::DeviceSize instanceSize,
|
||||
vk::DeviceSize minOffsetAlignment);
|
||||
|
||||
Reference in New Issue
Block a user