public class VkPhysicalDeviceUniformBufferStandardLayoutFeaturesKHR
extends org.lwjgl.system.Struct
implements org.lwjgl.system.NativeResource
If the VkPhysicalDeviceUniformBufferStandardLayoutFeaturesKHR structure is included in the pNext chain of VkPhysicalDeviceFeatures2, it is filled with values indicating whether the feature is supported. VkPhysicalDeviceUniformBufferStandardLayoutFeaturesKHR can also be included in the pNext chain of VkDeviceCreateInfo to enable this feature.
uniformBufferStandardLayout – indicates that the implementation supports the same layouts for uniform buffers as for storage and other kinds of buffers. See Standard Buffer Layout.
struct VkPhysicalDeviceUniformBufferStandardLayoutFeaturesKHR {
VkStructureType sType;
void * pNext;
VkBool32 uniformBufferStandardLayout;
}| Modifier and Type | Class and Description |
|---|---|
static class |
VkPhysicalDeviceUniformBufferStandardLayoutFeaturesKHR.Buffer
An array of
VkPhysicalDeviceUniformBufferStandardLayoutFeaturesKHR 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 |
UNIFORMBUFFERSTANDARDLAYOUT
The struct member offsets.
|
| Constructor and Description |
|---|
VkPhysicalDeviceUniformBufferStandardLayoutFeaturesKHR(java.nio.ByteBuffer container)
Creates a
VkPhysicalDeviceUniformBufferStandardLayoutFeaturesKHR instance at the current position of the specified ByteBuffer container. |
| Modifier and Type | Method and Description |
|---|---|
static VkPhysicalDeviceUniformBufferStandardLayoutFeaturesKHR |
calloc()
Returns a new
VkPhysicalDeviceUniformBufferStandardLayoutFeaturesKHR instance allocated with memCalloc. |
static VkPhysicalDeviceUniformBufferStandardLayoutFeaturesKHR.Buffer |
calloc(int capacity)
Returns a new
VkPhysicalDeviceUniformBufferStandardLayoutFeaturesKHR.Buffer instance allocated with memCalloc. |
static VkPhysicalDeviceUniformBufferStandardLayoutFeaturesKHR |
callocStack()
Returns a new
VkPhysicalDeviceUniformBufferStandardLayoutFeaturesKHR instance allocated on the thread-local MemoryStack and initializes all its bits to zero. |
static VkPhysicalDeviceUniformBufferStandardLayoutFeaturesKHR.Buffer |
callocStack(int capacity)
Returns a new
VkPhysicalDeviceUniformBufferStandardLayoutFeaturesKHR.Buffer instance allocated on the thread-local MemoryStack and initializes all its bits to zero. |
static VkPhysicalDeviceUniformBufferStandardLayoutFeaturesKHR.Buffer |
callocStack(int capacity,
org.lwjgl.system.MemoryStack stack)
Returns a new
VkPhysicalDeviceUniformBufferStandardLayoutFeaturesKHR.Buffer instance allocated on the specified MemoryStack and initializes all its bits to zero. |
static VkPhysicalDeviceUniformBufferStandardLayoutFeaturesKHR |
callocStack(org.lwjgl.system.MemoryStack stack)
Returns a new
VkPhysicalDeviceUniformBufferStandardLayoutFeaturesKHR instance allocated on the specified MemoryStack and initializes all its bits to zero. |
static VkPhysicalDeviceUniformBufferStandardLayoutFeaturesKHR |
create()
Returns a new
VkPhysicalDeviceUniformBufferStandardLayoutFeaturesKHR instance allocated with BufferUtils. |
static VkPhysicalDeviceUniformBufferStandardLayoutFeaturesKHR.Buffer |
create(int capacity)
Returns a new
VkPhysicalDeviceUniformBufferStandardLayoutFeaturesKHR.Buffer instance allocated with BufferUtils. |
static VkPhysicalDeviceUniformBufferStandardLayoutFeaturesKHR |
create(long address)
Returns a new
VkPhysicalDeviceUniformBufferStandardLayoutFeaturesKHR instance for the specified memory address. |
static VkPhysicalDeviceUniformBufferStandardLayoutFeaturesKHR.Buffer |
create(long address,
int capacity)
Create a
VkPhysicalDeviceUniformBufferStandardLayoutFeaturesKHR.Buffer instance at the specified memory. |
static VkPhysicalDeviceUniformBufferStandardLayoutFeaturesKHR |
createSafe(long address)
|
static VkPhysicalDeviceUniformBufferStandardLayoutFeaturesKHR.Buffer |
createSafe(long address,
int capacity)
|
static VkPhysicalDeviceUniformBufferStandardLayoutFeaturesKHR |
malloc()
Returns a new
VkPhysicalDeviceUniformBufferStandardLayoutFeaturesKHR instance allocated with memAlloc. |
static VkPhysicalDeviceUniformBufferStandardLayoutFeaturesKHR.Buffer |
malloc(int capacity)
Returns a new
VkPhysicalDeviceUniformBufferStandardLayoutFeaturesKHR.Buffer instance allocated with memAlloc. |
static VkPhysicalDeviceUniformBufferStandardLayoutFeaturesKHR |
mallocStack()
Returns a new
VkPhysicalDeviceUniformBufferStandardLayoutFeaturesKHR instance allocated on the thread-local MemoryStack. |
static VkPhysicalDeviceUniformBufferStandardLayoutFeaturesKHR.Buffer |
mallocStack(int capacity)
Returns a new
VkPhysicalDeviceUniformBufferStandardLayoutFeaturesKHR.Buffer instance allocated on the thread-local MemoryStack. |
static VkPhysicalDeviceUniformBufferStandardLayoutFeaturesKHR.Buffer |
mallocStack(int capacity,
org.lwjgl.system.MemoryStack stack)
Returns a new
VkPhysicalDeviceUniformBufferStandardLayoutFeaturesKHR.Buffer instance allocated on the specified MemoryStack. |
static VkPhysicalDeviceUniformBufferStandardLayoutFeaturesKHR |
mallocStack(org.lwjgl.system.MemoryStack stack)
Returns a new
VkPhysicalDeviceUniformBufferStandardLayoutFeaturesKHR 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 |
nuniformBufferStandardLayout(long struct)
Unsafe version of
uniformBufferStandardLayout(). |
static void |
nuniformBufferStandardLayout(long struct,
int value)
Unsafe version of
uniformBufferStandardLayout. |
long |
pNext()
Returns the value of the
pNext field. |
VkPhysicalDeviceUniformBufferStandardLayoutFeaturesKHR |
pNext(long value)
Sets the specified value to the
pNext field. |
VkPhysicalDeviceUniformBufferStandardLayoutFeaturesKHR |
set(int sType,
long pNext,
boolean uniformBufferStandardLayout)
Initializes this struct with the specified values.
|
VkPhysicalDeviceUniformBufferStandardLayoutFeaturesKHR |
set(VkPhysicalDeviceUniformBufferStandardLayoutFeaturesKHR src)
Copies the specified struct data to this struct.
|
int |
sizeof() |
int |
sType()
Returns the value of the
sType field. |
VkPhysicalDeviceUniformBufferStandardLayoutFeaturesKHR |
sType(int value)
Sets the specified value to the
sType field. |
boolean |
uniformBufferStandardLayout()
Returns the value of the
uniformBufferStandardLayout field. |
VkPhysicalDeviceUniformBufferStandardLayoutFeaturesKHR |
uniformBufferStandardLayout(boolean value)
Sets the specified value to the
uniformBufferStandardLayout 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 UNIFORMBUFFERSTANDARDLAYOUT
public VkPhysicalDeviceUniformBufferStandardLayoutFeaturesKHR(java.nio.ByteBuffer container)
VkPhysicalDeviceUniformBufferStandardLayoutFeaturesKHR 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 uniformBufferStandardLayout()
uniformBufferStandardLayout field.public VkPhysicalDeviceUniformBufferStandardLayoutFeaturesKHR sType(int value)
sType field.public VkPhysicalDeviceUniformBufferStandardLayoutFeaturesKHR pNext(long value)
pNext field.public VkPhysicalDeviceUniformBufferStandardLayoutFeaturesKHR uniformBufferStandardLayout(boolean value)
uniformBufferStandardLayout field.public VkPhysicalDeviceUniformBufferStandardLayoutFeaturesKHR set(int sType, long pNext, boolean uniformBufferStandardLayout)
public VkPhysicalDeviceUniformBufferStandardLayoutFeaturesKHR set(VkPhysicalDeviceUniformBufferStandardLayoutFeaturesKHR src)
src - the source structpublic static VkPhysicalDeviceUniformBufferStandardLayoutFeaturesKHR malloc()
VkPhysicalDeviceUniformBufferStandardLayoutFeaturesKHR instance allocated with memAlloc. The instance must be explicitly freed.public static VkPhysicalDeviceUniformBufferStandardLayoutFeaturesKHR calloc()
VkPhysicalDeviceUniformBufferStandardLayoutFeaturesKHR instance allocated with memCalloc. The instance must be explicitly freed.public static VkPhysicalDeviceUniformBufferStandardLayoutFeaturesKHR create()
VkPhysicalDeviceUniformBufferStandardLayoutFeaturesKHR instance allocated with BufferUtils.public static VkPhysicalDeviceUniformBufferStandardLayoutFeaturesKHR create(long address)
VkPhysicalDeviceUniformBufferStandardLayoutFeaturesKHR instance for the specified memory address.@Nullable public static VkPhysicalDeviceUniformBufferStandardLayoutFeaturesKHR createSafe(long address)
public static VkPhysicalDeviceUniformBufferStandardLayoutFeaturesKHR.Buffer malloc(int capacity)
VkPhysicalDeviceUniformBufferStandardLayoutFeaturesKHR.Buffer instance allocated with memAlloc. The instance must be explicitly freed.capacity - the buffer capacitypublic static VkPhysicalDeviceUniformBufferStandardLayoutFeaturesKHR.Buffer calloc(int capacity)
VkPhysicalDeviceUniformBufferStandardLayoutFeaturesKHR.Buffer instance allocated with memCalloc. The instance must be explicitly freed.capacity - the buffer capacitypublic static VkPhysicalDeviceUniformBufferStandardLayoutFeaturesKHR.Buffer create(int capacity)
VkPhysicalDeviceUniformBufferStandardLayoutFeaturesKHR.Buffer instance allocated with BufferUtils.capacity - the buffer capacitypublic static VkPhysicalDeviceUniformBufferStandardLayoutFeaturesKHR.Buffer create(long address, int capacity)
VkPhysicalDeviceUniformBufferStandardLayoutFeaturesKHR.Buffer instance at the specified memory.address - the memory addresscapacity - the buffer capacity@Nullable public static VkPhysicalDeviceUniformBufferStandardLayoutFeaturesKHR.Buffer createSafe(long address, int capacity)
public static VkPhysicalDeviceUniformBufferStandardLayoutFeaturesKHR mallocStack()
VkPhysicalDeviceUniformBufferStandardLayoutFeaturesKHR instance allocated on the thread-local MemoryStack.public static VkPhysicalDeviceUniformBufferStandardLayoutFeaturesKHR callocStack()
VkPhysicalDeviceUniformBufferStandardLayoutFeaturesKHR instance allocated on the thread-local MemoryStack and initializes all its bits to zero.public static VkPhysicalDeviceUniformBufferStandardLayoutFeaturesKHR mallocStack(org.lwjgl.system.MemoryStack stack)
VkPhysicalDeviceUniformBufferStandardLayoutFeaturesKHR instance allocated on the specified MemoryStack.stack - the stack from which to allocatepublic static VkPhysicalDeviceUniformBufferStandardLayoutFeaturesKHR callocStack(org.lwjgl.system.MemoryStack stack)
VkPhysicalDeviceUniformBufferStandardLayoutFeaturesKHR instance allocated on the specified MemoryStack and initializes all its bits to zero.stack - the stack from which to allocatepublic static VkPhysicalDeviceUniformBufferStandardLayoutFeaturesKHR.Buffer mallocStack(int capacity)
VkPhysicalDeviceUniformBufferStandardLayoutFeaturesKHR.Buffer instance allocated on the thread-local MemoryStack.capacity - the buffer capacitypublic static VkPhysicalDeviceUniformBufferStandardLayoutFeaturesKHR.Buffer callocStack(int capacity)
VkPhysicalDeviceUniformBufferStandardLayoutFeaturesKHR.Buffer instance allocated on the thread-local MemoryStack and initializes all its bits to zero.capacity - the buffer capacitypublic static VkPhysicalDeviceUniformBufferStandardLayoutFeaturesKHR.Buffer mallocStack(int capacity, org.lwjgl.system.MemoryStack stack)
VkPhysicalDeviceUniformBufferStandardLayoutFeaturesKHR.Buffer instance allocated on the specified MemoryStack.stack - the stack from which to allocatecapacity - the buffer capacitypublic static VkPhysicalDeviceUniformBufferStandardLayoutFeaturesKHR.Buffer callocStack(int capacity, org.lwjgl.system.MemoryStack stack)
VkPhysicalDeviceUniformBufferStandardLayoutFeaturesKHR.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 nuniformBufferStandardLayout(long struct)
uniformBufferStandardLayout().public static void nsType(long struct,
int value)
sType.public static void npNext(long struct,
long value)
pNext.public static void nuniformBufferStandardLayout(long struct,
int value)
uniformBufferStandardLayout.Copyright LWJGL. All Rights Reserved. License terms.