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