Package org.lwjgl.vulkan
Class VkPhysicalDeviceTexelBufferAlignmentPropertiesEXT
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.Struct
-
- org.lwjgl.vulkan.VkPhysicalDeviceTexelBufferAlignmentProperties
-
- org.lwjgl.vulkan.VkPhysicalDeviceTexelBufferAlignmentPropertiesEXT
-
- All Implemented Interfaces:
java.lang.AutoCloseable,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
public class VkPhysicalDeviceTexelBufferAlignmentPropertiesEXT extends VkPhysicalDeviceTexelBufferAlignmentProperties
SeeVkPhysicalDeviceTexelBufferAlignmentProperties.Layout
struct VkPhysicalDeviceTexelBufferAlignmentPropertiesEXT { VkStructureType sType; void * pNext; VkDeviceSize storageTexelBufferOffsetAlignmentBytes; VkBool32 storageTexelBufferOffsetSingleTexelAlignment; VkDeviceSize uniformTexelBufferOffsetAlignmentBytes; VkBool32 uniformTexelBufferOffsetSingleTexelAlignment; }
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classVkPhysicalDeviceTexelBufferAlignmentPropertiesEXT.BufferAn array ofVkPhysicalDeviceTexelBufferAlignmentPropertiesEXTstructs.
-
Field Summary
-
Fields inherited from interface org.lwjgl.system.Pointer
BITS32, BITS64, CLONG_SHIFT, CLONG_SIZE, POINTER_SHIFT, POINTER_SIZE
-
Fields inherited from class org.lwjgl.vulkan.VkPhysicalDeviceTexelBufferAlignmentProperties
ALIGNOF, PNEXT, SIZEOF, STORAGETEXELBUFFEROFFSETALIGNMENTBYTES, STORAGETEXELBUFFEROFFSETSINGLETEXELALIGNMENT, STYPE, UNIFORMTEXELBUFFEROFFSETALIGNMENTBYTES, UNIFORMTEXELBUFFEROFFSETSINGLETEXELALIGNMENT
-
-
Constructor Summary
Constructors Constructor Description VkPhysicalDeviceTexelBufferAlignmentPropertiesEXT(java.nio.ByteBuffer container)Creates aVkPhysicalDeviceTexelBufferAlignmentPropertiesEXTinstance 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 VkPhysicalDeviceTexelBufferAlignmentPropertiesEXTcalloc()Returns a newVkPhysicalDeviceTexelBufferAlignmentPropertiesEXTinstance allocated withmemCalloc.static VkPhysicalDeviceTexelBufferAlignmentPropertiesEXT.Buffercalloc(int capacity)Returns a newVkPhysicalDeviceTexelBufferAlignmentPropertiesEXT.Bufferinstance allocated withmemCalloc.static VkPhysicalDeviceTexelBufferAlignmentPropertiesEXT.Buffercalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkPhysicalDeviceTexelBufferAlignmentPropertiesEXT.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkPhysicalDeviceTexelBufferAlignmentPropertiesEXTcalloc(org.lwjgl.system.MemoryStack stack)Returns a newVkPhysicalDeviceTexelBufferAlignmentPropertiesEXTinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkPhysicalDeviceTexelBufferAlignmentPropertiesEXTcallocStack()Deprecated.static VkPhysicalDeviceTexelBufferAlignmentPropertiesEXT.BuffercallocStack(int capacity)Deprecated.static VkPhysicalDeviceTexelBufferAlignmentPropertiesEXT.BuffercallocStack(int capacity, org.lwjgl.system.MemoryStack stack)Deprecated.static VkPhysicalDeviceTexelBufferAlignmentPropertiesEXTcallocStack(org.lwjgl.system.MemoryStack stack)Deprecated.static VkPhysicalDeviceTexelBufferAlignmentPropertiesEXTcreate()Returns a newVkPhysicalDeviceTexelBufferAlignmentPropertiesEXTinstance allocated withBufferUtils.static VkPhysicalDeviceTexelBufferAlignmentPropertiesEXT.Buffercreate(int capacity)Returns a newVkPhysicalDeviceTexelBufferAlignmentPropertiesEXT.Bufferinstance allocated withBufferUtils.static VkPhysicalDeviceTexelBufferAlignmentPropertiesEXTcreate(long address)Returns a newVkPhysicalDeviceTexelBufferAlignmentPropertiesEXTinstance for the specified memory address.static VkPhysicalDeviceTexelBufferAlignmentPropertiesEXT.Buffercreate(long address, int capacity)Create aVkPhysicalDeviceTexelBufferAlignmentPropertiesEXT.Bufferinstance at the specified memory.static VkPhysicalDeviceTexelBufferAlignmentPropertiesEXTcreateSafe(long address)static VkPhysicalDeviceTexelBufferAlignmentPropertiesEXT.BuffercreateSafe(long address, int capacity)static VkPhysicalDeviceTexelBufferAlignmentPropertiesEXTmalloc()Returns a newVkPhysicalDeviceTexelBufferAlignmentPropertiesEXTinstance allocated withmemAlloc.static VkPhysicalDeviceTexelBufferAlignmentPropertiesEXT.Buffermalloc(int capacity)Returns a newVkPhysicalDeviceTexelBufferAlignmentPropertiesEXT.Bufferinstance allocated withmemAlloc.static VkPhysicalDeviceTexelBufferAlignmentPropertiesEXT.Buffermalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkPhysicalDeviceTexelBufferAlignmentPropertiesEXT.Bufferinstance allocated on the specifiedMemoryStack.static VkPhysicalDeviceTexelBufferAlignmentPropertiesEXTmalloc(org.lwjgl.system.MemoryStack stack)Returns a newVkPhysicalDeviceTexelBufferAlignmentPropertiesEXTinstance allocated on the specifiedMemoryStack.static VkPhysicalDeviceTexelBufferAlignmentPropertiesEXTmallocStack()Deprecated.static VkPhysicalDeviceTexelBufferAlignmentPropertiesEXT.BuffermallocStack(int capacity)Deprecated.static VkPhysicalDeviceTexelBufferAlignmentPropertiesEXT.BuffermallocStack(int capacity, org.lwjgl.system.MemoryStack stack)Deprecated.static VkPhysicalDeviceTexelBufferAlignmentPropertiesEXTmallocStack(org.lwjgl.system.MemoryStack stack)Deprecated.VkPhysicalDeviceTexelBufferAlignmentPropertiesEXTpNext(long value)Sets the specified value to thepNextfield.VkPhysicalDeviceTexelBufferAlignmentPropertiesEXTset(int sType, long pNext)Initializes this struct with the specified values.VkPhysicalDeviceTexelBufferAlignmentPropertiesEXTset(VkPhysicalDeviceTexelBufferAlignmentPropertiesEXT src)Copies the specified struct data to this struct.VkPhysicalDeviceTexelBufferAlignmentPropertiesEXTsType(int value)Sets the specified value to thesTypefield.VkPhysicalDeviceTexelBufferAlignmentPropertiesEXTsType$Default()Sets theSTRUCTURE_TYPE_PHYSICAL_DEVICE_TEXEL_BUFFER_ALIGNMENT_PROPERTIESvalue to thesTypefield.-
Methods inherited from class org.lwjgl.vulkan.VkPhysicalDeviceTexelBufferAlignmentProperties
npNext, npNext, nstorageTexelBufferOffsetAlignmentBytes, nstorageTexelBufferOffsetSingleTexelAlignment, nsType, nsType, nuniformTexelBufferOffsetAlignmentBytes, nuniformTexelBufferOffsetSingleTexelAlignment, pNext, set, sizeof, storageTexelBufferOffsetAlignmentBytes, storageTexelBufferOffsetSingleTexelAlignment, sType, uniformTexelBufferOffsetAlignmentBytes, uniformTexelBufferOffsetSingleTexelAlignment
-
-
-
-
Constructor Detail
-
VkPhysicalDeviceTexelBufferAlignmentPropertiesEXT
public VkPhysicalDeviceTexelBufferAlignmentPropertiesEXT(java.nio.ByteBuffer container)
Creates aVkPhysicalDeviceTexelBufferAlignmentPropertiesEXTinstance 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
-
sType
public VkPhysicalDeviceTexelBufferAlignmentPropertiesEXT sType(int value)
Sets the specified value to thesTypefield.- Overrides:
sTypein classVkPhysicalDeviceTexelBufferAlignmentProperties
-
sType$Default
public VkPhysicalDeviceTexelBufferAlignmentPropertiesEXT sType$Default()
Sets theSTRUCTURE_TYPE_PHYSICAL_DEVICE_TEXEL_BUFFER_ALIGNMENT_PROPERTIESvalue to thesTypefield.- Overrides:
sType$Defaultin classVkPhysicalDeviceTexelBufferAlignmentProperties
-
pNext
public VkPhysicalDeviceTexelBufferAlignmentPropertiesEXT pNext(long value)
Sets the specified value to thepNextfield.- Overrides:
pNextin classVkPhysicalDeviceTexelBufferAlignmentProperties
-
set
public VkPhysicalDeviceTexelBufferAlignmentPropertiesEXT set(int sType, long pNext)
Initializes this struct with the specified values.- Overrides:
setin classVkPhysicalDeviceTexelBufferAlignmentProperties
-
set
public VkPhysicalDeviceTexelBufferAlignmentPropertiesEXT set(VkPhysicalDeviceTexelBufferAlignmentPropertiesEXT src)
Copies the specified struct data to this struct.- Parameters:
src- the source struct- Returns:
- this struct
-
malloc
public static VkPhysicalDeviceTexelBufferAlignmentPropertiesEXT malloc()
Returns a newVkPhysicalDeviceTexelBufferAlignmentPropertiesEXTinstance allocated withmemAlloc. The instance must be explicitly freed.
-
calloc
public static VkPhysicalDeviceTexelBufferAlignmentPropertiesEXT calloc()
Returns a newVkPhysicalDeviceTexelBufferAlignmentPropertiesEXTinstance allocated withmemCalloc. The instance must be explicitly freed.
-
create
public static VkPhysicalDeviceTexelBufferAlignmentPropertiesEXT create()
Returns a newVkPhysicalDeviceTexelBufferAlignmentPropertiesEXTinstance allocated withBufferUtils.
-
create
public static VkPhysicalDeviceTexelBufferAlignmentPropertiesEXT create(long address)
Returns a newVkPhysicalDeviceTexelBufferAlignmentPropertiesEXTinstance for the specified memory address.
-
createSafe
@Nullable public static VkPhysicalDeviceTexelBufferAlignmentPropertiesEXT createSafe(long address)
-
malloc
public static VkPhysicalDeviceTexelBufferAlignmentPropertiesEXT.Buffer malloc(int capacity)
Returns a newVkPhysicalDeviceTexelBufferAlignmentPropertiesEXT.Bufferinstance allocated withmemAlloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
calloc
public static VkPhysicalDeviceTexelBufferAlignmentPropertiesEXT.Buffer calloc(int capacity)
Returns a newVkPhysicalDeviceTexelBufferAlignmentPropertiesEXT.Bufferinstance allocated withmemCalloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
create
public static VkPhysicalDeviceTexelBufferAlignmentPropertiesEXT.Buffer create(int capacity)
Returns a newVkPhysicalDeviceTexelBufferAlignmentPropertiesEXT.Bufferinstance allocated withBufferUtils.- Parameters:
capacity- the buffer capacity
-
create
public static VkPhysicalDeviceTexelBufferAlignmentPropertiesEXT.Buffer create(long address, int capacity)
Create aVkPhysicalDeviceTexelBufferAlignmentPropertiesEXT.Bufferinstance at the specified memory.- Parameters:
address- the memory addresscapacity- the buffer capacity
-
createSafe
@Nullable public static VkPhysicalDeviceTexelBufferAlignmentPropertiesEXT.Buffer createSafe(long address, int capacity)
-
mallocStack
@Deprecated public static VkPhysicalDeviceTexelBufferAlignmentPropertiesEXT mallocStack()
Deprecated.Deprecated for removal in 3.4.0. Usemalloc(MemoryStack)instead.
-
callocStack
@Deprecated public static VkPhysicalDeviceTexelBufferAlignmentPropertiesEXT callocStack()
Deprecated.Deprecated for removal in 3.4.0. Usecalloc(MemoryStack)instead.
-
mallocStack
@Deprecated public static VkPhysicalDeviceTexelBufferAlignmentPropertiesEXT mallocStack(org.lwjgl.system.MemoryStack stack)
Deprecated.Deprecated for removal in 3.4.0. Usemalloc(MemoryStack)instead.
-
callocStack
@Deprecated public static VkPhysicalDeviceTexelBufferAlignmentPropertiesEXT callocStack(org.lwjgl.system.MemoryStack stack)
Deprecated.Deprecated for removal in 3.4.0. Usecalloc(MemoryStack)instead.
-
mallocStack
@Deprecated public static VkPhysicalDeviceTexelBufferAlignmentPropertiesEXT.Buffer mallocStack(int capacity)
Deprecated.Deprecated for removal in 3.4.0. Usemalloc(int, MemoryStack)instead.
-
callocStack
@Deprecated public static VkPhysicalDeviceTexelBufferAlignmentPropertiesEXT.Buffer callocStack(int capacity)
Deprecated.Deprecated for removal in 3.4.0. Usecalloc(int, MemoryStack)instead.
-
mallocStack
@Deprecated public static VkPhysicalDeviceTexelBufferAlignmentPropertiesEXT.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 VkPhysicalDeviceTexelBufferAlignmentPropertiesEXT.Buffer callocStack(int capacity, org.lwjgl.system.MemoryStack stack)
Deprecated.Deprecated for removal in 3.4.0. Usecalloc(int, MemoryStack)instead.
-
malloc
public static VkPhysicalDeviceTexelBufferAlignmentPropertiesEXT malloc(org.lwjgl.system.MemoryStack stack)
Returns a newVkPhysicalDeviceTexelBufferAlignmentPropertiesEXTinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocate
-
calloc
public static VkPhysicalDeviceTexelBufferAlignmentPropertiesEXT calloc(org.lwjgl.system.MemoryStack stack)
Returns a newVkPhysicalDeviceTexelBufferAlignmentPropertiesEXTinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocate
-
malloc
public static VkPhysicalDeviceTexelBufferAlignmentPropertiesEXT.Buffer malloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkPhysicalDeviceTexelBufferAlignmentPropertiesEXT.Bufferinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocatecapacity- the buffer capacity
-
calloc
public static VkPhysicalDeviceTexelBufferAlignmentPropertiesEXT.Buffer calloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkPhysicalDeviceTexelBufferAlignmentPropertiesEXT.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocatecapacity- the buffer capacity
-
-