Package org.lwjgl.vulkan
Class VkPhysicalDeviceTexelBufferAlignmentFeaturesEXT
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.Struct
-
- org.lwjgl.vulkan.VkPhysicalDeviceTexelBufferAlignmentFeaturesEXT
-
- All Implemented Interfaces:
java.lang.AutoCloseable,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
public class VkPhysicalDeviceTexelBufferAlignmentFeaturesEXT extends org.lwjgl.system.Struct implements org.lwjgl.system.NativeResourceStructure describing the texel buffer alignment features that can be supported by an implementation.Description
If the
VkPhysicalDeviceTexelBufferAlignmentFeaturesEXTstructure is included in thepNextchain of theVkPhysicalDeviceFeatures2structure passed toGetPhysicalDeviceFeatures2, it is filled in to indicate whether each corresponding feature is supported.VkPhysicalDeviceTexelBufferAlignmentFeaturesEXTcan also be used in thepNextchain ofVkDeviceCreateInfoto selectively enable these features.Valid Usage (Implicit)
Layout
struct VkPhysicalDeviceTexelBufferAlignmentFeaturesEXT { VkStructureTypesType(); void *pNext(); VkBool32texelBufferAlignment(); }
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classVkPhysicalDeviceTexelBufferAlignmentFeaturesEXT.BufferAn array ofVkPhysicalDeviceTexelBufferAlignmentFeaturesEXTstructs.
-
Field Summary
Fields Modifier and Type Field Description static intALIGNOFThe struct alignment in bytes.static intPNEXTThe struct member offsets.static intSIZEOFThe struct size in bytes.static intSTYPE
TEXELBUFFERALIGNMENTThe struct member offsets.
-
Constructor Summary
Constructors Constructor Description VkPhysicalDeviceTexelBufferAlignmentFeaturesEXT(java.nio.ByteBuffer container)Creates aVkPhysicalDeviceTexelBufferAlignmentFeaturesEXTinstance at the current position of the specifiedByteBuffercontainer.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static VkPhysicalDeviceTexelBufferAlignmentFeaturesEXTcalloc()Returns a newVkPhysicalDeviceTexelBufferAlignmentFeaturesEXTinstance allocated withmemCalloc.static VkPhysicalDeviceTexelBufferAlignmentFeaturesEXT.Buffercalloc(int capacity)Returns a newVkPhysicalDeviceTexelBufferAlignmentFeaturesEXT.Bufferinstance allocated withmemCalloc.static VkPhysicalDeviceTexelBufferAlignmentFeaturesEXT.Buffercalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkPhysicalDeviceTexelBufferAlignmentFeaturesEXT.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkPhysicalDeviceTexelBufferAlignmentFeaturesEXTcalloc(org.lwjgl.system.MemoryStack stack)Returns a newVkPhysicalDeviceTexelBufferAlignmentFeaturesEXTinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkPhysicalDeviceTexelBufferAlignmentFeaturesEXTcallocStack()Deprecated.static VkPhysicalDeviceTexelBufferAlignmentFeaturesEXT.BuffercallocStack(int capacity)Deprecated.static VkPhysicalDeviceTexelBufferAlignmentFeaturesEXT.BuffercallocStack(int capacity, org.lwjgl.system.MemoryStack stack)Deprecated.static VkPhysicalDeviceTexelBufferAlignmentFeaturesEXTcallocStack(org.lwjgl.system.MemoryStack stack)Deprecated.static VkPhysicalDeviceTexelBufferAlignmentFeaturesEXTcreate()Returns a newVkPhysicalDeviceTexelBufferAlignmentFeaturesEXTinstance allocated withBufferUtils.static VkPhysicalDeviceTexelBufferAlignmentFeaturesEXT.Buffercreate(int capacity)Returns a newVkPhysicalDeviceTexelBufferAlignmentFeaturesEXT.Bufferinstance allocated withBufferUtils.static VkPhysicalDeviceTexelBufferAlignmentFeaturesEXTcreate(long address)Returns a newVkPhysicalDeviceTexelBufferAlignmentFeaturesEXTinstance for the specified memory address.static VkPhysicalDeviceTexelBufferAlignmentFeaturesEXT.Buffercreate(long address, int capacity)Create aVkPhysicalDeviceTexelBufferAlignmentFeaturesEXT.Bufferinstance at the specified memory.static VkPhysicalDeviceTexelBufferAlignmentFeaturesEXTcreateSafe(long address)static VkPhysicalDeviceTexelBufferAlignmentFeaturesEXT.BuffercreateSafe(long address, int capacity)static VkPhysicalDeviceTexelBufferAlignmentFeaturesEXTmalloc()Returns a newVkPhysicalDeviceTexelBufferAlignmentFeaturesEXTinstance allocated withmemAlloc.static VkPhysicalDeviceTexelBufferAlignmentFeaturesEXT.Buffermalloc(int capacity)Returns a newVkPhysicalDeviceTexelBufferAlignmentFeaturesEXT.Bufferinstance allocated withmemAlloc.static VkPhysicalDeviceTexelBufferAlignmentFeaturesEXT.Buffermalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkPhysicalDeviceTexelBufferAlignmentFeaturesEXT.Bufferinstance allocated on the specifiedMemoryStack.static VkPhysicalDeviceTexelBufferAlignmentFeaturesEXTmalloc(org.lwjgl.system.MemoryStack stack)Returns a newVkPhysicalDeviceTexelBufferAlignmentFeaturesEXTinstance allocated on the specifiedMemoryStack.static VkPhysicalDeviceTexelBufferAlignmentFeaturesEXTmallocStack()Deprecated.static VkPhysicalDeviceTexelBufferAlignmentFeaturesEXT.BuffermallocStack(int capacity)Deprecated.static VkPhysicalDeviceTexelBufferAlignmentFeaturesEXT.BuffermallocStack(int capacity, org.lwjgl.system.MemoryStack stack)Deprecated.static VkPhysicalDeviceTexelBufferAlignmentFeaturesEXTmallocStack(org.lwjgl.system.MemoryStack stack)Deprecated.static longnpNext(long struct)Unsafe version ofpNext().static voidnpNext(long struct, long value)Unsafe version ofpNext.static intnsType(long struct)Unsafe version ofsType().static voidnsType(long struct, int value)Unsafe version ofsType.static intntexelBufferAlignment(long struct)Unsafe version oftexelBufferAlignment().static voidntexelBufferAlignment(long struct, int value)Unsafe version oftexelBufferAlignment.longpNext()NULLor a pointer to a structure extending this structure.VkPhysicalDeviceTexelBufferAlignmentFeaturesEXTpNext(long value)Sets the specified value to thepNext()field.VkPhysicalDeviceTexelBufferAlignmentFeaturesEXTset(int sType, long pNext, boolean texelBufferAlignment)Initializes this struct with the specified values.VkPhysicalDeviceTexelBufferAlignmentFeaturesEXTset(VkPhysicalDeviceTexelBufferAlignmentFeaturesEXT src)Copies the specified struct data to this struct.intsizeof()intsType()the type of this structure.VkPhysicalDeviceTexelBufferAlignmentFeaturesEXTsType(int value)Sets the specified value to thesType()field.VkPhysicalDeviceTexelBufferAlignmentFeaturesEXTsType$Default()Sets theSTRUCTURE_TYPE_PHYSICAL_DEVICE_TEXEL_BUFFER_ALIGNMENT_FEATURES_EXTvalue to thesType()field.booleantexelBufferAlignment()indicates whether the implementation uses more specific alignment requirements advertised inVkPhysicalDeviceTexelBufferAlignmentPropertiesrather thanVkPhysicalDeviceLimits::minTexelBufferOffsetAlignment.VkPhysicalDeviceTexelBufferAlignmentFeaturesEXTtexelBufferAlignment(boolean value)Sets the specified value to thetexelBufferAlignment()field.
-
-
-
Constructor Detail
-
VkPhysicalDeviceTexelBufferAlignmentFeaturesEXT
public VkPhysicalDeviceTexelBufferAlignmentFeaturesEXT(java.nio.ByteBuffer container)
Creates aVkPhysicalDeviceTexelBufferAlignmentFeaturesEXTinstance at the current position of the specifiedByteBuffercontainer. Changes to the buffer's content will be visible to the struct instance and vice versa.The created instance holds a strong reference to the container object.
-
-
Method Detail
-
sizeof
public int sizeof()
- Specified by:
sizeofin classorg.lwjgl.system.Struct
-
sType
public int sType()
the type of this structure.
-
pNext
public long pNext()
NULLor a pointer to a structure extending this structure.
-
texelBufferAlignment
public boolean texelBufferAlignment()
indicates whether the implementation uses more specific alignment requirements advertised inVkPhysicalDeviceTexelBufferAlignmentPropertiesrather thanVkPhysicalDeviceLimits::minTexelBufferOffsetAlignment.
-
sType
public VkPhysicalDeviceTexelBufferAlignmentFeaturesEXT sType(int value)
Sets the specified value to thesType()field.
-
sType$Default
public VkPhysicalDeviceTexelBufferAlignmentFeaturesEXT sType$Default()
Sets theSTRUCTURE_TYPE_PHYSICAL_DEVICE_TEXEL_BUFFER_ALIGNMENT_FEATURES_EXTvalue to thesType()field.
-
pNext
public VkPhysicalDeviceTexelBufferAlignmentFeaturesEXT pNext(long value)
Sets the specified value to thepNext()field.
-
texelBufferAlignment
public VkPhysicalDeviceTexelBufferAlignmentFeaturesEXT texelBufferAlignment(boolean value)
Sets the specified value to thetexelBufferAlignment()field.
-
set
public VkPhysicalDeviceTexelBufferAlignmentFeaturesEXT set(int sType, long pNext, boolean texelBufferAlignment)
Initializes this struct with the specified values.
-
set
public VkPhysicalDeviceTexelBufferAlignmentFeaturesEXT set(VkPhysicalDeviceTexelBufferAlignmentFeaturesEXT src)
Copies the specified struct data to this struct.- Parameters:
src- the source struct- Returns:
- this struct
-
malloc
public static VkPhysicalDeviceTexelBufferAlignmentFeaturesEXT malloc()
Returns a newVkPhysicalDeviceTexelBufferAlignmentFeaturesEXTinstance allocated withmemAlloc. The instance must be explicitly freed.
-
calloc
public static VkPhysicalDeviceTexelBufferAlignmentFeaturesEXT calloc()
Returns a newVkPhysicalDeviceTexelBufferAlignmentFeaturesEXTinstance allocated withmemCalloc. The instance must be explicitly freed.
-
create
public static VkPhysicalDeviceTexelBufferAlignmentFeaturesEXT create()
Returns a newVkPhysicalDeviceTexelBufferAlignmentFeaturesEXTinstance allocated withBufferUtils.
-
create
public static VkPhysicalDeviceTexelBufferAlignmentFeaturesEXT create(long address)
Returns a newVkPhysicalDeviceTexelBufferAlignmentFeaturesEXTinstance for the specified memory address.
-
createSafe
@Nullable public static VkPhysicalDeviceTexelBufferAlignmentFeaturesEXT createSafe(long address)
-
malloc
public static VkPhysicalDeviceTexelBufferAlignmentFeaturesEXT.Buffer malloc(int capacity)
Returns a newVkPhysicalDeviceTexelBufferAlignmentFeaturesEXT.Bufferinstance allocated withmemAlloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
calloc
public static VkPhysicalDeviceTexelBufferAlignmentFeaturesEXT.Buffer calloc(int capacity)
Returns a newVkPhysicalDeviceTexelBufferAlignmentFeaturesEXT.Bufferinstance allocated withmemCalloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
create
public static VkPhysicalDeviceTexelBufferAlignmentFeaturesEXT.Buffer create(int capacity)
Returns a newVkPhysicalDeviceTexelBufferAlignmentFeaturesEXT.Bufferinstance allocated withBufferUtils.- Parameters:
capacity- the buffer capacity
-
create
public static VkPhysicalDeviceTexelBufferAlignmentFeaturesEXT.Buffer create(long address, int capacity)
Create aVkPhysicalDeviceTexelBufferAlignmentFeaturesEXT.Bufferinstance at the specified memory.- Parameters:
address- the memory addresscapacity- the buffer capacity
-
createSafe
@Nullable public static VkPhysicalDeviceTexelBufferAlignmentFeaturesEXT.Buffer createSafe(long address, int capacity)
-
mallocStack
@Deprecated public static VkPhysicalDeviceTexelBufferAlignmentFeaturesEXT mallocStack()
Deprecated.Deprecated for removal in 3.4.0. Usemalloc(MemoryStack)instead.
-
callocStack
@Deprecated public static VkPhysicalDeviceTexelBufferAlignmentFeaturesEXT callocStack()
Deprecated.Deprecated for removal in 3.4.0. Usecalloc(MemoryStack)instead.
-
mallocStack
@Deprecated public static VkPhysicalDeviceTexelBufferAlignmentFeaturesEXT mallocStack(org.lwjgl.system.MemoryStack stack)
Deprecated.Deprecated for removal in 3.4.0. Usemalloc(MemoryStack)instead.
-
callocStack
@Deprecated public static VkPhysicalDeviceTexelBufferAlignmentFeaturesEXT callocStack(org.lwjgl.system.MemoryStack stack)
Deprecated.Deprecated for removal in 3.4.0. Usecalloc(MemoryStack)instead.
-
mallocStack
@Deprecated public static VkPhysicalDeviceTexelBufferAlignmentFeaturesEXT.Buffer mallocStack(int capacity)
Deprecated.Deprecated for removal in 3.4.0. Usemalloc(int, MemoryStack)instead.
-
callocStack
@Deprecated public static VkPhysicalDeviceTexelBufferAlignmentFeaturesEXT.Buffer callocStack(int capacity)
Deprecated.Deprecated for removal in 3.4.0. Usecalloc(int, MemoryStack)instead.
-
mallocStack
@Deprecated public static VkPhysicalDeviceTexelBufferAlignmentFeaturesEXT.Buffer mallocStack(int capacity, org.lwjgl.system.MemoryStack stack)
Deprecated.Deprecated for removal in 3.4.0. Usemalloc(int, MemoryStack)instead.
-
callocStack
@Deprecated public static VkPhysicalDeviceTexelBufferAlignmentFeaturesEXT.Buffer callocStack(int capacity, org.lwjgl.system.MemoryStack stack)
Deprecated.Deprecated for removal in 3.4.0. Usecalloc(int, MemoryStack)instead.
-
malloc
public static VkPhysicalDeviceTexelBufferAlignmentFeaturesEXT malloc(org.lwjgl.system.MemoryStack stack)
Returns a newVkPhysicalDeviceTexelBufferAlignmentFeaturesEXTinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocate
-
calloc
public static VkPhysicalDeviceTexelBufferAlignmentFeaturesEXT calloc(org.lwjgl.system.MemoryStack stack)
Returns a newVkPhysicalDeviceTexelBufferAlignmentFeaturesEXTinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocate
-
malloc
public static VkPhysicalDeviceTexelBufferAlignmentFeaturesEXT.Buffer malloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkPhysicalDeviceTexelBufferAlignmentFeaturesEXT.Bufferinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocatecapacity- the buffer capacity
-
calloc
public static VkPhysicalDeviceTexelBufferAlignmentFeaturesEXT.Buffer calloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkPhysicalDeviceTexelBufferAlignmentFeaturesEXT.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocatecapacity- the buffer capacity
-
nsType
public static int nsType(long struct)
Unsafe version ofsType().
-
npNext
public static long npNext(long struct)
Unsafe version ofpNext().
-
ntexelBufferAlignment
public static int ntexelBufferAlignment(long struct)
Unsafe version oftexelBufferAlignment().
-
nsType
public static void nsType(long struct, int value)Unsafe version ofsType.
-
npNext
public static void npNext(long struct, long value)Unsafe version ofpNext.
-
ntexelBufferAlignment
public static void ntexelBufferAlignment(long struct, int value)Unsafe version oftexelBufferAlignment.
-
-