src/core/Buffer.cpp
void Buffer::setupDescriptor(VkDeviceSize size, VkDeviceSize offset) {
    descriptorBufferInfo.offset = offset;
    descriptorBufferInfo.buffer = buffer;
    descriptorBufferInfo.range = size;
}
/**
* Setup the default descriptor for this buffer
*
* @param size (Optional) Size of the memory range of the descriptor
* @param offset (Optional) Byte offset from beginning
*
*/
Setup the default descriptor for this buffer
Setup the default descriptor for this buffer
void Buffer::setupDescriptor(VkDeviceSize size, VkDeviceSize offset) {
    descriptorBufferInfo.offset = offset;
    descriptorBufferInfo.buffer = buffer;
    descriptorBufferInfo.range = size;
}
void Buffer :: setupDescriptor ( VkDeviceSize size , VkDeviceSize offset ) { descriptorBufferInfo . offset = offset ; descriptorBufferInfo . buffer = buffer ; descriptorBufferInfo . range = size ; }
Setup the default descriptor for this buffer
Setup the default descriptor for this buffer