Class VkPhysicalDeviceTexelBufferAlignmentProperties

java.lang.Object
org.lwjgl.system.Pointer.Default
org.lwjgl.system.Struct<VkPhysicalDeviceTexelBufferAlignmentProperties>
org.lwjgl.vulkan.VkPhysicalDeviceTexelBufferAlignmentProperties
All Implemented Interfaces:
AutoCloseable, org.lwjgl.system.NativeResource, org.lwjgl.system.Pointer
Direct Known Subclasses:
VkPhysicalDeviceTexelBufferAlignmentPropertiesEXT

public class VkPhysicalDeviceTexelBufferAlignmentProperties extends org.lwjgl.system.Struct<VkPhysicalDeviceTexelBufferAlignmentProperties> implements org.lwjgl.system.NativeResource
Structure describing the texel buffer alignment requirements supported by an implementation.
Description

If the VkPhysicalDeviceTexelBufferAlignmentProperties structure is included in the pNext chain of the VkPhysicalDeviceProperties2 structure passed to GetPhysicalDeviceProperties2, it is filled in with each corresponding implementation-dependent property.

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)

Layout


 struct VkPhysicalDeviceTexelBufferAlignmentProperties {
     VkStructureType sType();
     void * pNext();
     VkDeviceSize storageTexelBufferOffsetAlignmentBytes();
     VkBool32 storageTexelBufferOffsetSingleTexelAlignment();
     VkDeviceSize uniformTexelBufferOffsetAlignmentBytes();
     VkBool32 uniformTexelBufferOffsetSingleTexelAlignment();
 }