Class VkDescriptorBufferInfo

  • All Implemented Interfaces:
    java.lang.AutoCloseable, NativeResource, Pointer


    public class VkDescriptorBufferInfo
    extends Struct
    Khronos Reference Page
    Vulkan Specification
    Valid Usage
    • buffer must be a valid VkBuffer handle
    • offset must be less than the size of buffer
    • If range is not equal to WHOLE_SIZE, range must be greater than 0
    • If range is not equal to WHOLE_SIZE, range must be less than or equal to the size of buffer minus offset

    Member documentation

    • buffer – the buffer resource
    • offset – the offset in bytes from the start of buffer. Access to buffer memory via this descriptor uses addressing that is relative to this starting offset.
    • range – the size in bytes that is used for this descriptor update, or WHOLE_SIZE to use the range from offset to the end of the buffer

    Layout

    struct VkDescriptorBufferInfo {
        VkBuffer buffer;
        VkDeviceSize offset;
        VkDeviceSize range;
    }