public class VkPhysicalDeviceFeatures2KHR extends VkPhysicalDeviceFeatures2
VkPhysicalDeviceFeatures2.
struct VkPhysicalDeviceFeatures2KHR {
VkStructureType sType;
void * pNext;
VkPhysicalDeviceFeatures features;
}| Modifier and Type | Class and Description |
|---|---|
static class |
VkPhysicalDeviceFeatures2KHR.Buffer
An array of
VkPhysicalDeviceFeatures2KHR structs. |
| Constructor and Description |
|---|
VkPhysicalDeviceFeatures2KHR(java.nio.ByteBuffer container)
Creates a
VkPhysicalDeviceFeatures2KHR instance at the current position of the specified ByteBuffer container. |
| Modifier and Type | Method and Description |
|---|---|
static VkPhysicalDeviceFeatures2KHR |
calloc()
Returns a new
VkPhysicalDeviceFeatures2KHR instance allocated with memCalloc. |
static VkPhysicalDeviceFeatures2KHR.Buffer |
calloc(int capacity)
Returns a new
VkPhysicalDeviceFeatures2KHR.Buffer instance allocated with memCalloc. |
static VkPhysicalDeviceFeatures2KHR |
callocStack()
Returns a new
VkPhysicalDeviceFeatures2KHR instance allocated on the thread-local MemoryStack and initializes all its bits to zero. |
static VkPhysicalDeviceFeatures2KHR.Buffer |
callocStack(int capacity)
Returns a new
VkPhysicalDeviceFeatures2KHR.Buffer instance allocated on the thread-local MemoryStack and initializes all its bits to zero. |
static VkPhysicalDeviceFeatures2KHR.Buffer |
callocStack(int capacity,
org.lwjgl.system.MemoryStack stack)
Returns a new
VkPhysicalDeviceFeatures2KHR.Buffer instance allocated on the specified MemoryStack and initializes all its bits to zero. |
static VkPhysicalDeviceFeatures2KHR |
callocStack(org.lwjgl.system.MemoryStack stack)
Returns a new
VkPhysicalDeviceFeatures2KHR instance allocated on the specified MemoryStack and initializes all its bits to zero. |
static VkPhysicalDeviceFeatures2KHR |
create()
Returns a new
VkPhysicalDeviceFeatures2KHR instance allocated with BufferUtils. |
static VkPhysicalDeviceFeatures2KHR.Buffer |
create(int capacity)
Returns a new
VkPhysicalDeviceFeatures2KHR.Buffer instance allocated with BufferUtils. |
static VkPhysicalDeviceFeatures2KHR |
create(long address)
Returns a new
VkPhysicalDeviceFeatures2KHR instance for the specified memory address. |
static VkPhysicalDeviceFeatures2KHR.Buffer |
create(long address,
int capacity)
Create a
VkPhysicalDeviceFeatures2KHR.Buffer instance at the specified memory. |
static VkPhysicalDeviceFeatures2KHR |
createSafe(long address)
|
static VkPhysicalDeviceFeatures2KHR.Buffer |
createSafe(long address,
int capacity)
|
VkPhysicalDeviceFeatures2KHR |
features(java.util.function.Consumer<VkPhysicalDeviceFeatures> consumer)
Passes the
features field to the specified Consumer. |
VkPhysicalDeviceFeatures2KHR |
features(VkPhysicalDeviceFeatures value)
Copies the specified
VkPhysicalDeviceFeatures to the features field. |
static VkPhysicalDeviceFeatures2KHR |
malloc()
Returns a new
VkPhysicalDeviceFeatures2KHR instance allocated with memAlloc. |
static VkPhysicalDeviceFeatures2KHR.Buffer |
malloc(int capacity)
Returns a new
VkPhysicalDeviceFeatures2KHR.Buffer instance allocated with memAlloc. |
static VkPhysicalDeviceFeatures2KHR |
mallocStack()
Returns a new
VkPhysicalDeviceFeatures2KHR instance allocated on the thread-local MemoryStack. |
static VkPhysicalDeviceFeatures2KHR.Buffer |
mallocStack(int capacity)
Returns a new
VkPhysicalDeviceFeatures2KHR.Buffer instance allocated on the thread-local MemoryStack. |
static VkPhysicalDeviceFeatures2KHR.Buffer |
mallocStack(int capacity,
org.lwjgl.system.MemoryStack stack)
Returns a new
VkPhysicalDeviceFeatures2KHR.Buffer instance allocated on the specified MemoryStack. |
static VkPhysicalDeviceFeatures2KHR |
mallocStack(org.lwjgl.system.MemoryStack stack)
Returns a new
VkPhysicalDeviceFeatures2KHR instance allocated on the specified MemoryStack. |
VkPhysicalDeviceFeatures2KHR |
pNext(long value)
Sets the specified value to the
pNext field. |
VkPhysicalDeviceFeatures2KHR |
set(int sType,
long pNext,
VkPhysicalDeviceFeatures features)
Initializes this struct with the specified values.
|
VkPhysicalDeviceFeatures2KHR |
set(VkPhysicalDeviceFeatures2KHR src)
Copies the specified struct data to this struct.
|
VkPhysicalDeviceFeatures2KHR |
sType(int value)
Sets the specified value to the
sType field. |
public VkPhysicalDeviceFeatures2KHR(java.nio.ByteBuffer container)
VkPhysicalDeviceFeatures2KHR 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 VkPhysicalDeviceFeatures2KHR sType(int value)
sType field.sType in class VkPhysicalDeviceFeatures2public VkPhysicalDeviceFeatures2KHR pNext(long value)
pNext field.pNext in class VkPhysicalDeviceFeatures2public VkPhysicalDeviceFeatures2KHR features(VkPhysicalDeviceFeatures value)
VkPhysicalDeviceFeatures to the features field.features in class VkPhysicalDeviceFeatures2public VkPhysicalDeviceFeatures2KHR features(java.util.function.Consumer<VkPhysicalDeviceFeatures> consumer)
features field to the specified Consumer.features in class VkPhysicalDeviceFeatures2public VkPhysicalDeviceFeatures2KHR set(int sType, long pNext, VkPhysicalDeviceFeatures features)
set in class VkPhysicalDeviceFeatures2public VkPhysicalDeviceFeatures2KHR set(VkPhysicalDeviceFeatures2KHR src)
src - the source structpublic static VkPhysicalDeviceFeatures2KHR malloc()
VkPhysicalDeviceFeatures2KHR instance allocated with memAlloc. The instance must be explicitly freed.public static VkPhysicalDeviceFeatures2KHR calloc()
VkPhysicalDeviceFeatures2KHR instance allocated with memCalloc. The instance must be explicitly freed.public static VkPhysicalDeviceFeatures2KHR create()
VkPhysicalDeviceFeatures2KHR instance allocated with BufferUtils.public static VkPhysicalDeviceFeatures2KHR create(long address)
VkPhysicalDeviceFeatures2KHR instance for the specified memory address.@Nullable public static VkPhysicalDeviceFeatures2KHR createSafe(long address)
public static VkPhysicalDeviceFeatures2KHR.Buffer malloc(int capacity)
VkPhysicalDeviceFeatures2KHR.Buffer instance allocated with memAlloc. The instance must be explicitly freed.capacity - the buffer capacitypublic static VkPhysicalDeviceFeatures2KHR.Buffer calloc(int capacity)
VkPhysicalDeviceFeatures2KHR.Buffer instance allocated with memCalloc. The instance must be explicitly freed.capacity - the buffer capacitypublic static VkPhysicalDeviceFeatures2KHR.Buffer create(int capacity)
VkPhysicalDeviceFeatures2KHR.Buffer instance allocated with BufferUtils.capacity - the buffer capacitypublic static VkPhysicalDeviceFeatures2KHR.Buffer create(long address, int capacity)
VkPhysicalDeviceFeatures2KHR.Buffer instance at the specified memory.address - the memory addresscapacity - the buffer capacity@Nullable public static VkPhysicalDeviceFeatures2KHR.Buffer createSafe(long address, int capacity)
public static VkPhysicalDeviceFeatures2KHR mallocStack()
VkPhysicalDeviceFeatures2KHR instance allocated on the thread-local MemoryStack.public static VkPhysicalDeviceFeatures2KHR callocStack()
VkPhysicalDeviceFeatures2KHR instance allocated on the thread-local MemoryStack and initializes all its bits to zero.public static VkPhysicalDeviceFeatures2KHR mallocStack(org.lwjgl.system.MemoryStack stack)
VkPhysicalDeviceFeatures2KHR instance allocated on the specified MemoryStack.stack - the stack from which to allocatepublic static VkPhysicalDeviceFeatures2KHR callocStack(org.lwjgl.system.MemoryStack stack)
VkPhysicalDeviceFeatures2KHR instance allocated on the specified MemoryStack and initializes all its bits to zero.stack - the stack from which to allocatepublic static VkPhysicalDeviceFeatures2KHR.Buffer mallocStack(int capacity)
VkPhysicalDeviceFeatures2KHR.Buffer instance allocated on the thread-local MemoryStack.capacity - the buffer capacitypublic static VkPhysicalDeviceFeatures2KHR.Buffer callocStack(int capacity)
VkPhysicalDeviceFeatures2KHR.Buffer instance allocated on the thread-local MemoryStack and initializes all its bits to zero.capacity - the buffer capacitypublic static VkPhysicalDeviceFeatures2KHR.Buffer mallocStack(int capacity, org.lwjgl.system.MemoryStack stack)
VkPhysicalDeviceFeatures2KHR.Buffer instance allocated on the specified MemoryStack.stack - the stack from which to allocatecapacity - the buffer capacitypublic static VkPhysicalDeviceFeatures2KHR.Buffer callocStack(int capacity, org.lwjgl.system.MemoryStack stack)
VkPhysicalDeviceFeatures2KHR.Buffer instance allocated on the specified MemoryStack and initializes all its bits to zero.stack - the stack from which to allocatecapacity - the buffer capacityCopyright LWJGL. All Rights Reserved. License terms.