Class VkPhysicalDeviceTexelBufferAlignmentPropertiesEXT

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

    public class VkPhysicalDeviceTexelBufferAlignmentPropertiesEXT
    extends Struct
    implements NativeResource
    Structure describing the texel buffer alignment requirements supported by an implementation.
    Description

    If the VkPhysicalDeviceTexelBufferAlignmentPropertiesEXT structure is included in the pNext chain of VkPhysicalDeviceProperties2, it is filled with the implementation-dependent limits.

    If the single texel alignment property is FALSE, then the buffer view's offset must be aligned to the corresponding byte alignment value. If the single texel alignment property is TRUE, then the buffer view's offset must be aligned to the lesser of the corresponding byte alignment value or the size of a single texel, based on VkBufferViewCreateInfo::format. If the size of a single texel is a multiple of three bytes, then the size of a single component of the format is used instead.

    These limits must not advertise a larger alignment than the required maximum minimum value of VkPhysicalDeviceLimits::minTexelBufferOffsetAlignment, for any format that supports use as a texel buffer.

    Valid Usage (Implicit)

    Member documentation

    • sType – the type of this structure.
    • pNextNULL or a pointer to an extension-specific structure.
    • storageTexelBufferOffsetAlignmentBytes – a byte alignment that is sufficient for a storage texel buffer of any format.
    • storageTexelBufferOffsetSingleTexelAlignment – indicates whether single texel alignment is sufficient for a storage texel buffer of any format.
    • uniformTexelBufferOffsetAlignmentBytes – a byte alignment that is sufficient for a uniform texel buffer of any format.
    • uniformTexelBufferOffsetSingleTexelAlignment – indicates whether single texel alignment is sufficient for a uniform texel buffer of any format.

    Layout

    
     struct VkPhysicalDeviceTexelBufferAlignmentPropertiesEXT {
         VkStructureType sType;
         void * pNext;
         VkDeviceSize storageTexelBufferOffsetAlignmentBytes;
         VkBool32 storageTexelBufferOffsetSingleTexelAlignment;
         VkDeviceSize uniformTexelBufferOffsetAlignmentBytes;
         VkBool32 uniformTexelBufferOffsetSingleTexelAlignment;
     }