Top Description Inners Fields Constructors Methods
org.lwjgl.vulkan

public Class VkPhysicalDeviceFeatures2KHR

extends VkPhysicalDeviceFeatures2
Class Inheritance
Imports
javax.annotation.*, java.nio.*, org.lwjgl.*, org.lwjgl.system.*

See VkPhysicalDeviceFeatures2.

Layout


struct VkPhysicalDeviceFeatures2KHR {
    VkStructureType sType;
    void * pNext;
    VkPhysicalDeviceFeatures features;
}

Nested and Inner Type Summary

Modifier and TypeClass and Description
public static class

Field Summary

Inherited from org.lwjgl.vulkan.VkPhysicalDeviceFeatures2:
ALIGNOFFEATURESPNEXTSIZEOFSTYPE

Constructor Summary

AccessConstructor and Description
protected
VkPhysicalDeviceFeatures2KHR(long address, ByteBuffer container)

public
VkPhysicalDeviceFeatures2KHR(ByteBuffer container)

Creates a VkPhysicalDeviceFeatures2KHR instance at the current position of the specified ByteBuffer container.

Method Summary

Modifier and TypeMethod and Description
public static VkPhysicalDeviceFeatures2KHR
calloc()

Hides org.lwjgl.vulkan.VkPhysicalDeviceFeatures2.calloc.

Returns a new VkPhysicalDeviceFeatures2KHR instance allocated with memCalloc.
public static VkPhysicalDeviceFeatures2KHR.Buffer
calloc(int
the buffer capacity
capacity
)

Hides org.lwjgl.vulkan.VkPhysicalDeviceFeatures2.calloc.

Returns a new VkPhysicalDeviceFeatures2KHR.Buffer instance allocated with memCalloc.
public static VkPhysicalDeviceFeatures2KHR
calloc(MemoryStack
the stack from which to allocate
stack
)

Hides org.lwjgl.vulkan.VkPhysicalDeviceFeatures2.calloc.

Returns a new VkPhysicalDeviceFeatures2KHR instance allocated on the specified MemoryStack and initializes all its bits to zero.
public static VkPhysicalDeviceFeatures2KHR.Buffer
calloc(int
the buffer capacity
capacity
,
MemoryStack
the stack from which to allocate
stack
)

Hides org.lwjgl.vulkan.VkPhysicalDeviceFeatures2.calloc.

Returns a new VkPhysicalDeviceFeatures2KHR.Buffer instance allocated on the specified MemoryStack and initializes all its bits to zero.
public static VkPhysicalDeviceFeatures2KHR
callocStack()

Hides org.lwjgl.vulkan.VkPhysicalDeviceFeatures2.callocStack.

Deprecated
Deprecated for removal in 3.4.0.
public static VkPhysicalDeviceFeatures2KHR
callocStack(MemoryStack stack)

Hides org.lwjgl.vulkan.VkPhysicalDeviceFeatures2.callocStack.

Deprecated
Deprecated for removal in 3.4.0.
public static VkPhysicalDeviceFeatures2KHR.Buffer
callocStack(int capacity)

Hides org.lwjgl.vulkan.VkPhysicalDeviceFeatures2.callocStack.

Deprecated
Deprecated for removal in 3.4.0.
public static VkPhysicalDeviceFeatures2KHR.Buffer
callocStack(int capacity, MemoryStack stack)

Hides org.lwjgl.vulkan.VkPhysicalDeviceFeatures2.callocStack.

Deprecated
Deprecated for removal in 3.4.0.
protected VkPhysicalDeviceFeatures2KHR
create(long
the struct memory address
address
,
ByteBuffer
an optional container buffer, to be referenced strongly by the struct instance.
container
)

Overrides org.lwjgl.vulkan.VkPhysicalDeviceFeatures2.create.

Similar to the constructor, but returns the exact type of the Struct subclass.
public static VkPhysicalDeviceFeatures2KHR
create()

Hides org.lwjgl.vulkan.VkPhysicalDeviceFeatures2.create.

Returns a new VkPhysicalDeviceFeatures2KHR instance allocated with BufferUtils.
public static VkPhysicalDeviceFeatures2KHR
create(long address)

Hides org.lwjgl.vulkan.VkPhysicalDeviceFeatures2.create.

Returns a new VkPhysicalDeviceFeatures2KHR instance for the specified memory address.
public static VkPhysicalDeviceFeatures2KHR.Buffer
create(int
the buffer capacity
capacity
)

Hides org.lwjgl.vulkan.VkPhysicalDeviceFeatures2.create.

Returns a new VkPhysicalDeviceFeatures2KHR.Buffer instance allocated with BufferUtils.
public static VkPhysicalDeviceFeatures2KHR.Buffer
create(long
the memory address
address
,
int
the buffer capacity
capacity
)

Hides org.lwjgl.vulkan.VkPhysicalDeviceFeatures2.create.

Create a VkPhysicalDeviceFeatures2KHR.Buffer instance at the specified memory.
public static VkPhysicalDeviceFeatures2KHR
createSafe(long address)

Hides org.lwjgl.vulkan.VkPhysicalDeviceFeatures2.createSafe.

Like create, but returns null if address is NULL.
public static VkPhysicalDeviceFeatures2KHR.Buffer
createSafe(long address, int capacity)

Hides org.lwjgl.vulkan.VkPhysicalDeviceFeatures2.createSafe.

Like create, but returns null if address is NULL.
public VkPhysicalDeviceFeatures2KHR
public VkPhysicalDeviceFeatures2KHR
features(Consumer<VkPhysicalDeviceFeatures> consumer)

Overrides org.lwjgl.vulkan.VkPhysicalDeviceFeatures2.features.

Passes the features field to the specified Consumer.
public static VkPhysicalDeviceFeatures2KHR
malloc()

Hides org.lwjgl.vulkan.VkPhysicalDeviceFeatures2.malloc.

Returns a new VkPhysicalDeviceFeatures2KHR instance allocated with memAlloc.
public static VkPhysicalDeviceFeatures2KHR.Buffer
malloc(int
the buffer capacity
capacity
)

Hides org.lwjgl.vulkan.VkPhysicalDeviceFeatures2.malloc.

Returns a new VkPhysicalDeviceFeatures2KHR.Buffer instance allocated with memAlloc.
public static VkPhysicalDeviceFeatures2KHR
malloc(MemoryStack
the stack from which to allocate
stack
)

Hides org.lwjgl.vulkan.VkPhysicalDeviceFeatures2.malloc.

Returns a new VkPhysicalDeviceFeatures2KHR instance allocated on the specified MemoryStack.
public static VkPhysicalDeviceFeatures2KHR.Buffer
malloc(int
the buffer capacity
capacity
,
MemoryStack
the stack from which to allocate
stack
)

Hides org.lwjgl.vulkan.VkPhysicalDeviceFeatures2.malloc.

Returns a new VkPhysicalDeviceFeatures2KHR.Buffer instance allocated on the specified MemoryStack.
public static VkPhysicalDeviceFeatures2KHR
mallocStack()

Hides org.lwjgl.vulkan.VkPhysicalDeviceFeatures2.mallocStack.

Deprecated
Deprecated for removal in 3.4.0.
public static VkPhysicalDeviceFeatures2KHR
mallocStack(MemoryStack stack)

Hides org.lwjgl.vulkan.VkPhysicalDeviceFeatures2.mallocStack.

Deprecated
Deprecated for removal in 3.4.0.
public static VkPhysicalDeviceFeatures2KHR.Buffer
mallocStack(int capacity)

Hides org.lwjgl.vulkan.VkPhysicalDeviceFeatures2.mallocStack.

Deprecated
Deprecated for removal in 3.4.0.
public static VkPhysicalDeviceFeatures2KHR.Buffer
mallocStack(int capacity, MemoryStack stack)

Hides org.lwjgl.vulkan.VkPhysicalDeviceFeatures2.mallocStack.

Deprecated
Deprecated for removal in 3.4.0.
public VkPhysicalDeviceFeatures2KHR
pNext(long value)

Overrides org.lwjgl.vulkan.VkPhysicalDeviceFeatures2.pNext.

Sets the specified value to the pNext field.
public VkPhysicalDeviceFeatures2KHR
set(int sType, long pNext, VkPhysicalDeviceFeatures features)

Overrides org.lwjgl.vulkan.VkPhysicalDeviceFeatures2.set.

Initializes this struct with the specified values.
public VkPhysicalDeviceFeatures2KHR

Returns:

this struct
set
(VkPhysicalDeviceFeatures2KHR
the source struct
src
)

Copies the specified struct data to this struct.

public VkPhysicalDeviceFeatures2KHR
sType(int value)

Overrides org.lwjgl.vulkan.VkPhysicalDeviceFeatures2.sType.

Sets the specified value to the sType field.
public VkPhysicalDeviceFeatures2KHR
Inherited from org.lwjgl.vulkan.VkPhysicalDeviceFeatures2:
featuresnfeaturesnfeaturesnpNextnpNextnsTypensTypepNextpNextpNextpNextpNextpNextpNextpNextpNextpNextpNextpNextpNextpNextpNextpNextpNextpNextpNextpNextpNextpNextpNextpNextpNextpNextpNextpNextpNextpNextpNextpNextpNextpNextpNextpNextpNextpNextpNextpNextpNextpNextpNextpNextpNextpNextpNextpNextpNextpNextpNextpNextpNextpNextpNextpNextpNextpNextpNextpNextpNextpNextpNextpNextpNextpNextpNextpNextpNextpNextpNextpNextpNextpNextpNextpNextpNextpNextpNextpNextpNextpNextpNextpNextpNextpNextpNextpNextpNextpNextpNextpNextpNextpNextpNextpNextpNextpNextpNextpNextpNextpNextpNextpNextpNextpNextpNextpNextpNextpNextpNextpNextpNextpNextpNextpNextpNextpNextpNextpNextpNextpNextpNextpNextpNextpNextpNextpNextpNextpNextpNextpNextpNextpNextpNextpNextpNextpNextpNextpNextpNextpNextpNextpNextpNextpNextpNextpNextpNextpNextpNextpNextpNextpNextpNextpNextpNextpNextpNextpNextpNextpNextpNextpNextpNextpNextpNextpNextpNextpNextpNextpNextpNextpNextpNextpNextpNextpNextpNextpNextpNextpNextpNextpNextpNextpNextpNextpNextpNextpNextpNextpNextpNextpNextpNextpNextpNextpNextpNextpNextpNextpNextpNextpNextpNextpNextsetsizeofsType