public class VkPhysicalDeviceTexelBufferAlignmentFeaturesEXT
extends org.lwjgl.system.Struct
implements org.lwjgl.system.NativeResource
If the VkPhysicalDeviceTexelBufferAlignmentFeaturesEXT structure is included in the pNext chain of VkPhysicalDeviceFeatures2, it is filled with values indicating whether the feature is supported. VkPhysicalDeviceTexelBufferAlignmentFeaturesEXT can also be included in the pNext chain of VkDeviceCreateInfo to enable the feature.
texelBufferAlignment – indicates whether the implementation uses more specific alignment requirements advertised in VkPhysicalDeviceTexelBufferAlignmentPropertiesEXT rather than VkPhysicalDeviceLimits::minTexelBufferOffsetAlignment.
struct VkPhysicalDeviceTexelBufferAlignmentFeaturesEXT {
VkStructureType sType;
void * pNext;
VkBool32 texelBufferAlignment;
}| Modifier and Type | Class and Description |
|---|---|
static class |
VkPhysicalDeviceTexelBufferAlignmentFeaturesEXT.Buffer
An array of
VkPhysicalDeviceTexelBufferAlignmentFeaturesEXT structs. |
| Modifier and Type | Field and Description |
|---|---|
static int |
ALIGNOF
The struct alignment in bytes.
|
static int |
PNEXT
The struct member offsets.
|
static int |
SIZEOF
The struct size in bytes.
|
static int |
STYPE
The struct member offsets.
|
static int |
TEXELBUFFERALIGNMENT
The struct member offsets.
|
| Constructor and Description |
|---|
VkPhysicalDeviceTexelBufferAlignmentFeaturesEXT(java.nio.ByteBuffer container)
Creates a
VkPhysicalDeviceTexelBufferAlignmentFeaturesEXT instance at the current position of the specified ByteBuffer container. |
| Modifier and Type | Method and Description |
|---|---|
static VkPhysicalDeviceTexelBufferAlignmentFeaturesEXT |
calloc()
Returns a new
VkPhysicalDeviceTexelBufferAlignmentFeaturesEXT instance allocated with memCalloc. |
static VkPhysicalDeviceTexelBufferAlignmentFeaturesEXT.Buffer |
calloc(int capacity)
Returns a new
VkPhysicalDeviceTexelBufferAlignmentFeaturesEXT.Buffer instance allocated with memCalloc. |
static VkPhysicalDeviceTexelBufferAlignmentFeaturesEXT |
callocStack()
Returns a new
VkPhysicalDeviceTexelBufferAlignmentFeaturesEXT instance allocated on the thread-local MemoryStack and initializes all its bits to zero. |
static VkPhysicalDeviceTexelBufferAlignmentFeaturesEXT.Buffer |
callocStack(int capacity)
Returns a new
VkPhysicalDeviceTexelBufferAlignmentFeaturesEXT.Buffer instance allocated on the thread-local MemoryStack and initializes all its bits to zero. |
static VkPhysicalDeviceTexelBufferAlignmentFeaturesEXT.Buffer |
callocStack(int capacity,
org.lwjgl.system.MemoryStack stack)
Returns a new
VkPhysicalDeviceTexelBufferAlignmentFeaturesEXT.Buffer instance allocated on the specified MemoryStack and initializes all its bits to zero. |
static VkPhysicalDeviceTexelBufferAlignmentFeaturesEXT |
callocStack(org.lwjgl.system.MemoryStack stack)
Returns a new
VkPhysicalDeviceTexelBufferAlignmentFeaturesEXT instance allocated on the specified MemoryStack and initializes all its bits to zero. |
static VkPhysicalDeviceTexelBufferAlignmentFeaturesEXT |
create()
Returns a new
VkPhysicalDeviceTexelBufferAlignmentFeaturesEXT instance allocated with BufferUtils. |
static VkPhysicalDeviceTexelBufferAlignmentFeaturesEXT.Buffer |
create(int capacity)
Returns a new
VkPhysicalDeviceTexelBufferAlignmentFeaturesEXT.Buffer instance allocated with BufferUtils. |
static VkPhysicalDeviceTexelBufferAlignmentFeaturesEXT |
create(long address)
Returns a new
VkPhysicalDeviceTexelBufferAlignmentFeaturesEXT instance for the specified memory address. |
static VkPhysicalDeviceTexelBufferAlignmentFeaturesEXT.Buffer |
create(long address,
int capacity)
Create a
VkPhysicalDeviceTexelBufferAlignmentFeaturesEXT.Buffer instance at the specified memory. |
static VkPhysicalDeviceTexelBufferAlignmentFeaturesEXT |
createSafe(long address)
|
static VkPhysicalDeviceTexelBufferAlignmentFeaturesEXT.Buffer |
createSafe(long address,
int capacity)
|
static VkPhysicalDeviceTexelBufferAlignmentFeaturesEXT |
malloc()
Returns a new
VkPhysicalDeviceTexelBufferAlignmentFeaturesEXT instance allocated with memAlloc. |
static VkPhysicalDeviceTexelBufferAlignmentFeaturesEXT.Buffer |
malloc(int capacity)
Returns a new
VkPhysicalDeviceTexelBufferAlignmentFeaturesEXT.Buffer instance allocated with memAlloc. |
static VkPhysicalDeviceTexelBufferAlignmentFeaturesEXT |
mallocStack()
Returns a new
VkPhysicalDeviceTexelBufferAlignmentFeaturesEXT instance allocated on the thread-local MemoryStack. |
static VkPhysicalDeviceTexelBufferAlignmentFeaturesEXT.Buffer |
mallocStack(int capacity)
Returns a new
VkPhysicalDeviceTexelBufferAlignmentFeaturesEXT.Buffer instance allocated on the thread-local MemoryStack. |
static VkPhysicalDeviceTexelBufferAlignmentFeaturesEXT.Buffer |
mallocStack(int capacity,
org.lwjgl.system.MemoryStack stack)
Returns a new
VkPhysicalDeviceTexelBufferAlignmentFeaturesEXT.Buffer instance allocated on the specified MemoryStack. |
static VkPhysicalDeviceTexelBufferAlignmentFeaturesEXT |
mallocStack(org.lwjgl.system.MemoryStack stack)
Returns a new
VkPhysicalDeviceTexelBufferAlignmentFeaturesEXT instance allocated on the specified MemoryStack. |
static long |
npNext(long struct)
Unsafe version of
pNext(). |
static void |
npNext(long struct,
long value)
Unsafe version of
pNext. |
static int |
nsType(long struct)
Unsafe version of
sType(). |
static void |
nsType(long struct,
int value)
Unsafe version of
sType. |
static int |
ntexelBufferAlignment(long struct)
Unsafe version of
texelBufferAlignment(). |
static void |
ntexelBufferAlignment(long struct,
int value)
Unsafe version of
texelBufferAlignment. |
long |
pNext()
Returns the value of the
pNext field. |
VkPhysicalDeviceTexelBufferAlignmentFeaturesEXT |
pNext(long value)
Sets the specified value to the
pNext field. |
VkPhysicalDeviceTexelBufferAlignmentFeaturesEXT |
set(int sType,
long pNext,
boolean texelBufferAlignment)
Initializes this struct with the specified values.
|
VkPhysicalDeviceTexelBufferAlignmentFeaturesEXT |
set(VkPhysicalDeviceTexelBufferAlignmentFeaturesEXT src)
Copies the specified struct data to this struct.
|
int |
sizeof() |
int |
sType()
Returns the value of the
sType field. |
VkPhysicalDeviceTexelBufferAlignmentFeaturesEXT |
sType(int value)
Sets the specified value to the
sType field. |
boolean |
texelBufferAlignment()
Returns the value of the
texelBufferAlignment field. |
VkPhysicalDeviceTexelBufferAlignmentFeaturesEXT |
texelBufferAlignment(boolean value)
Sets the specified value to the
texelBufferAlignment field. |
public static final int SIZEOF
public static final int ALIGNOF
public static final int STYPE
public static final int PNEXT
public static final int TEXELBUFFERALIGNMENT
public VkPhysicalDeviceTexelBufferAlignmentFeaturesEXT(java.nio.ByteBuffer container)
VkPhysicalDeviceTexelBufferAlignmentFeaturesEXT instance at the current position of the specified ByteBuffer container. 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.
public int sizeof()
sizeof in class org.lwjgl.system.Structpublic int sType()
sType field.public long pNext()
pNext field.public boolean texelBufferAlignment()
texelBufferAlignment field.public VkPhysicalDeviceTexelBufferAlignmentFeaturesEXT sType(int value)
sType field.public VkPhysicalDeviceTexelBufferAlignmentFeaturesEXT pNext(long value)
pNext field.public VkPhysicalDeviceTexelBufferAlignmentFeaturesEXT texelBufferAlignment(boolean value)
texelBufferAlignment field.public VkPhysicalDeviceTexelBufferAlignmentFeaturesEXT set(int sType, long pNext, boolean texelBufferAlignment)
public VkPhysicalDeviceTexelBufferAlignmentFeaturesEXT set(VkPhysicalDeviceTexelBufferAlignmentFeaturesEXT src)
src - the source structpublic static VkPhysicalDeviceTexelBufferAlignmentFeaturesEXT malloc()
VkPhysicalDeviceTexelBufferAlignmentFeaturesEXT instance allocated with memAlloc. The instance must be explicitly freed.public static VkPhysicalDeviceTexelBufferAlignmentFeaturesEXT calloc()
VkPhysicalDeviceTexelBufferAlignmentFeaturesEXT instance allocated with memCalloc. The instance must be explicitly freed.public static VkPhysicalDeviceTexelBufferAlignmentFeaturesEXT create()
VkPhysicalDeviceTexelBufferAlignmentFeaturesEXT instance allocated with BufferUtils.public static VkPhysicalDeviceTexelBufferAlignmentFeaturesEXT create(long address)
VkPhysicalDeviceTexelBufferAlignmentFeaturesEXT instance for the specified memory address.@Nullable public static VkPhysicalDeviceTexelBufferAlignmentFeaturesEXT createSafe(long address)
public static VkPhysicalDeviceTexelBufferAlignmentFeaturesEXT.Buffer malloc(int capacity)
VkPhysicalDeviceTexelBufferAlignmentFeaturesEXT.Buffer instance allocated with memAlloc. The instance must be explicitly freed.capacity - the buffer capacitypublic static VkPhysicalDeviceTexelBufferAlignmentFeaturesEXT.Buffer calloc(int capacity)
VkPhysicalDeviceTexelBufferAlignmentFeaturesEXT.Buffer instance allocated with memCalloc. The instance must be explicitly freed.capacity - the buffer capacitypublic static VkPhysicalDeviceTexelBufferAlignmentFeaturesEXT.Buffer create(int capacity)
VkPhysicalDeviceTexelBufferAlignmentFeaturesEXT.Buffer instance allocated with BufferUtils.capacity - the buffer capacitypublic static VkPhysicalDeviceTexelBufferAlignmentFeaturesEXT.Buffer create(long address, int capacity)
VkPhysicalDeviceTexelBufferAlignmentFeaturesEXT.Buffer instance at the specified memory.address - the memory addresscapacity - the buffer capacity@Nullable public static VkPhysicalDeviceTexelBufferAlignmentFeaturesEXT.Buffer createSafe(long address, int capacity)
public static VkPhysicalDeviceTexelBufferAlignmentFeaturesEXT mallocStack()
VkPhysicalDeviceTexelBufferAlignmentFeaturesEXT instance allocated on the thread-local MemoryStack.public static VkPhysicalDeviceTexelBufferAlignmentFeaturesEXT callocStack()
VkPhysicalDeviceTexelBufferAlignmentFeaturesEXT instance allocated on the thread-local MemoryStack and initializes all its bits to zero.public static VkPhysicalDeviceTexelBufferAlignmentFeaturesEXT mallocStack(org.lwjgl.system.MemoryStack stack)
VkPhysicalDeviceTexelBufferAlignmentFeaturesEXT instance allocated on the specified MemoryStack.stack - the stack from which to allocatepublic static VkPhysicalDeviceTexelBufferAlignmentFeaturesEXT callocStack(org.lwjgl.system.MemoryStack stack)
VkPhysicalDeviceTexelBufferAlignmentFeaturesEXT instance allocated on the specified MemoryStack and initializes all its bits to zero.stack - the stack from which to allocatepublic static VkPhysicalDeviceTexelBufferAlignmentFeaturesEXT.Buffer mallocStack(int capacity)
VkPhysicalDeviceTexelBufferAlignmentFeaturesEXT.Buffer instance allocated on the thread-local MemoryStack.capacity - the buffer capacitypublic static VkPhysicalDeviceTexelBufferAlignmentFeaturesEXT.Buffer callocStack(int capacity)
VkPhysicalDeviceTexelBufferAlignmentFeaturesEXT.Buffer instance allocated on the thread-local MemoryStack and initializes all its bits to zero.capacity - the buffer capacitypublic static VkPhysicalDeviceTexelBufferAlignmentFeaturesEXT.Buffer mallocStack(int capacity, org.lwjgl.system.MemoryStack stack)
VkPhysicalDeviceTexelBufferAlignmentFeaturesEXT.Buffer instance allocated on the specified MemoryStack.stack - the stack from which to allocatecapacity - the buffer capacitypublic static VkPhysicalDeviceTexelBufferAlignmentFeaturesEXT.Buffer callocStack(int capacity, org.lwjgl.system.MemoryStack stack)
VkPhysicalDeviceTexelBufferAlignmentFeaturesEXT.Buffer instance allocated on the specified MemoryStack and initializes all its bits to zero.stack - the stack from which to allocatecapacity - the buffer capacitypublic static int nsType(long struct)
sType().public static long npNext(long struct)
pNext().public static int ntexelBufferAlignment(long struct)
texelBufferAlignment().public static void nsType(long struct,
int value)
sType.public static void npNext(long struct,
long value)
pNext.public static void ntexelBufferAlignment(long struct,
int value)
texelBufferAlignment.Copyright LWJGL. All Rights Reserved. License terms.