Package org.lwjgl.vulkan
Class VkDeviceGroupDeviceCreateInfoKHR
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.Struct
-
- org.lwjgl.vulkan.VkDeviceGroupDeviceCreateInfo
-
- org.lwjgl.vulkan.VkDeviceGroupDeviceCreateInfoKHR
-
- All Implemented Interfaces:
java.lang.AutoCloseable
,org.lwjgl.system.NativeResource
,org.lwjgl.system.Pointer
public class VkDeviceGroupDeviceCreateInfoKHR extends VkDeviceGroupDeviceCreateInfo
SeeVkDeviceGroupDeviceCreateInfo
.Layout
struct VkDeviceGroupDeviceCreateInfoKHR { VkStructureType sType; void const * pNext; uint32_t physicalDeviceCount; VkPhysicalDevice const * pPhysicalDevices; }
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
VkDeviceGroupDeviceCreateInfoKHR.Buffer
An array ofVkDeviceGroupDeviceCreateInfoKHR
structs.
-
Field Summary
-
Fields inherited from interface org.lwjgl.system.Pointer
BITS32, BITS64, CLONG_SHIFT, CLONG_SIZE, POINTER_SHIFT, POINTER_SIZE
-
Fields inherited from class org.lwjgl.vulkan.VkDeviceGroupDeviceCreateInfo
ALIGNOF, PHYSICALDEVICECOUNT, PNEXT, PPHYSICALDEVICES, SIZEOF, STYPE
-
-
Constructor Summary
Constructors Constructor Description VkDeviceGroupDeviceCreateInfoKHR(java.nio.ByteBuffer container)
Creates aVkDeviceGroupDeviceCreateInfoKHR
instance at the current position of the specifiedByteBuffer
container.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static VkDeviceGroupDeviceCreateInfoKHR
calloc()
Returns a newVkDeviceGroupDeviceCreateInfoKHR
instance allocated withmemCalloc
.static VkDeviceGroupDeviceCreateInfoKHR.Buffer
calloc(int capacity)
Returns a newVkDeviceGroupDeviceCreateInfoKHR.Buffer
instance allocated withmemCalloc
.static VkDeviceGroupDeviceCreateInfoKHR
callocStack()
Returns a newVkDeviceGroupDeviceCreateInfoKHR
instance allocated on the thread-localMemoryStack
and initializes all its bits to zero.static VkDeviceGroupDeviceCreateInfoKHR.Buffer
callocStack(int capacity)
Returns a newVkDeviceGroupDeviceCreateInfoKHR.Buffer
instance allocated on the thread-localMemoryStack
and initializes all its bits to zero.static VkDeviceGroupDeviceCreateInfoKHR.Buffer
callocStack(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkDeviceGroupDeviceCreateInfoKHR.Buffer
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.static VkDeviceGroupDeviceCreateInfoKHR
callocStack(org.lwjgl.system.MemoryStack stack)
Returns a newVkDeviceGroupDeviceCreateInfoKHR
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.static VkDeviceGroupDeviceCreateInfoKHR
create()
Returns a newVkDeviceGroupDeviceCreateInfoKHR
instance allocated withBufferUtils
.static VkDeviceGroupDeviceCreateInfoKHR.Buffer
create(int capacity)
Returns a newVkDeviceGroupDeviceCreateInfoKHR.Buffer
instance allocated withBufferUtils
.static VkDeviceGroupDeviceCreateInfoKHR
create(long address)
Returns a newVkDeviceGroupDeviceCreateInfoKHR
instance for the specified memory address.static VkDeviceGroupDeviceCreateInfoKHR.Buffer
create(long address, int capacity)
Create aVkDeviceGroupDeviceCreateInfoKHR.Buffer
instance at the specified memory.static VkDeviceGroupDeviceCreateInfoKHR
createSafe(long address)
static VkDeviceGroupDeviceCreateInfoKHR.Buffer
createSafe(long address, int capacity)
static VkDeviceGroupDeviceCreateInfoKHR
malloc()
Returns a newVkDeviceGroupDeviceCreateInfoKHR
instance allocated withmemAlloc
.static VkDeviceGroupDeviceCreateInfoKHR.Buffer
malloc(int capacity)
Returns a newVkDeviceGroupDeviceCreateInfoKHR.Buffer
instance allocated withmemAlloc
.static VkDeviceGroupDeviceCreateInfoKHR
mallocStack()
Returns a newVkDeviceGroupDeviceCreateInfoKHR
instance allocated on the thread-localMemoryStack
.static VkDeviceGroupDeviceCreateInfoKHR.Buffer
mallocStack(int capacity)
Returns a newVkDeviceGroupDeviceCreateInfoKHR.Buffer
instance allocated on the thread-localMemoryStack
.static VkDeviceGroupDeviceCreateInfoKHR.Buffer
mallocStack(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkDeviceGroupDeviceCreateInfoKHR.Buffer
instance allocated on the specifiedMemoryStack
.static VkDeviceGroupDeviceCreateInfoKHR
mallocStack(org.lwjgl.system.MemoryStack stack)
Returns a newVkDeviceGroupDeviceCreateInfoKHR
instance allocated on the specifiedMemoryStack
.VkDeviceGroupDeviceCreateInfoKHR
pNext(long value)
Sets the specified value to thepNext
field.VkDeviceGroupDeviceCreateInfoKHR
pPhysicalDevices(org.lwjgl.PointerBuffer value)
Sets the address of the specifiedPointerBuffer
to thepPhysicalDevices
field.VkDeviceGroupDeviceCreateInfoKHR
set(int sType, long pNext, org.lwjgl.PointerBuffer pPhysicalDevices)
Initializes this struct with the specified values.VkDeviceGroupDeviceCreateInfoKHR
set(VkDeviceGroupDeviceCreateInfoKHR src)
Copies the specified struct data to this struct.VkDeviceGroupDeviceCreateInfoKHR
sType(int value)
Sets the specified value to thesType
field.-
Methods inherited from class org.lwjgl.vulkan.VkDeviceGroupDeviceCreateInfo
nphysicalDeviceCount, nphysicalDeviceCount, npNext, npNext, npPhysicalDevices, npPhysicalDevices, nsType, nsType, physicalDeviceCount, pNext, pPhysicalDevices, set, sizeof, sType, validate, validate
-
-
-
-
Constructor Detail
-
VkDeviceGroupDeviceCreateInfoKHR
public VkDeviceGroupDeviceCreateInfoKHR(java.nio.ByteBuffer container)
Creates aVkDeviceGroupDeviceCreateInfoKHR
instance at the current position of the specifiedByteBuffer
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.
-
-
Method Detail
-
sType
public VkDeviceGroupDeviceCreateInfoKHR sType(int value)
Sets the specified value to thesType
field.- Overrides:
sType
in classVkDeviceGroupDeviceCreateInfo
-
pNext
public VkDeviceGroupDeviceCreateInfoKHR pNext(long value)
Sets the specified value to thepNext
field.- Overrides:
pNext
in classVkDeviceGroupDeviceCreateInfo
-
pPhysicalDevices
public VkDeviceGroupDeviceCreateInfoKHR pPhysicalDevices(@Nullable org.lwjgl.PointerBuffer value)
Sets the address of the specifiedPointerBuffer
to thepPhysicalDevices
field.- Overrides:
pPhysicalDevices
in classVkDeviceGroupDeviceCreateInfo
-
set
public VkDeviceGroupDeviceCreateInfoKHR set(int sType, long pNext, @Nullable org.lwjgl.PointerBuffer pPhysicalDevices)
Initializes this struct with the specified values.- Overrides:
set
in classVkDeviceGroupDeviceCreateInfo
-
set
public VkDeviceGroupDeviceCreateInfoKHR set(VkDeviceGroupDeviceCreateInfoKHR src)
Copies the specified struct data to this struct.- Parameters:
src
- the source struct- Returns:
- this struct
-
malloc
public static VkDeviceGroupDeviceCreateInfoKHR malloc()
Returns a newVkDeviceGroupDeviceCreateInfoKHR
instance allocated withmemAlloc
. The instance must be explicitly freed.
-
calloc
public static VkDeviceGroupDeviceCreateInfoKHR calloc()
Returns a newVkDeviceGroupDeviceCreateInfoKHR
instance allocated withmemCalloc
. The instance must be explicitly freed.
-
create
public static VkDeviceGroupDeviceCreateInfoKHR create()
Returns a newVkDeviceGroupDeviceCreateInfoKHR
instance allocated withBufferUtils
.
-
create
public static VkDeviceGroupDeviceCreateInfoKHR create(long address)
Returns a newVkDeviceGroupDeviceCreateInfoKHR
instance for the specified memory address.
-
createSafe
@Nullable public static VkDeviceGroupDeviceCreateInfoKHR createSafe(long address)
-
malloc
public static VkDeviceGroupDeviceCreateInfoKHR.Buffer malloc(int capacity)
Returns a newVkDeviceGroupDeviceCreateInfoKHR.Buffer
instance allocated withmemAlloc
. The instance must be explicitly freed.- Parameters:
capacity
- the buffer capacity
-
calloc
public static VkDeviceGroupDeviceCreateInfoKHR.Buffer calloc(int capacity)
Returns a newVkDeviceGroupDeviceCreateInfoKHR.Buffer
instance allocated withmemCalloc
. The instance must be explicitly freed.- Parameters:
capacity
- the buffer capacity
-
create
public static VkDeviceGroupDeviceCreateInfoKHR.Buffer create(int capacity)
Returns a newVkDeviceGroupDeviceCreateInfoKHR.Buffer
instance allocated withBufferUtils
.- Parameters:
capacity
- the buffer capacity
-
create
public static VkDeviceGroupDeviceCreateInfoKHR.Buffer create(long address, int capacity)
Create aVkDeviceGroupDeviceCreateInfoKHR.Buffer
instance at the specified memory.- Parameters:
address
- the memory addresscapacity
- the buffer capacity
-
createSafe
@Nullable public static VkDeviceGroupDeviceCreateInfoKHR.Buffer createSafe(long address, int capacity)
-
mallocStack
public static VkDeviceGroupDeviceCreateInfoKHR mallocStack()
Returns a newVkDeviceGroupDeviceCreateInfoKHR
instance allocated on the thread-localMemoryStack
.
-
callocStack
public static VkDeviceGroupDeviceCreateInfoKHR callocStack()
Returns a newVkDeviceGroupDeviceCreateInfoKHR
instance allocated on the thread-localMemoryStack
and initializes all its bits to zero.
-
mallocStack
public static VkDeviceGroupDeviceCreateInfoKHR mallocStack(org.lwjgl.system.MemoryStack stack)
Returns a newVkDeviceGroupDeviceCreateInfoKHR
instance allocated on the specifiedMemoryStack
.- Parameters:
stack
- the stack from which to allocate
-
callocStack
public static VkDeviceGroupDeviceCreateInfoKHR callocStack(org.lwjgl.system.MemoryStack stack)
Returns a newVkDeviceGroupDeviceCreateInfoKHR
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.- Parameters:
stack
- the stack from which to allocate
-
mallocStack
public static VkDeviceGroupDeviceCreateInfoKHR.Buffer mallocStack(int capacity)
Returns a newVkDeviceGroupDeviceCreateInfoKHR.Buffer
instance allocated on the thread-localMemoryStack
.- Parameters:
capacity
- the buffer capacity
-
callocStack
public static VkDeviceGroupDeviceCreateInfoKHR.Buffer callocStack(int capacity)
Returns a newVkDeviceGroupDeviceCreateInfoKHR.Buffer
instance allocated on the thread-localMemoryStack
and initializes all its bits to zero.- Parameters:
capacity
- the buffer capacity
-
mallocStack
public static VkDeviceGroupDeviceCreateInfoKHR.Buffer mallocStack(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkDeviceGroupDeviceCreateInfoKHR.Buffer
instance allocated on the specifiedMemoryStack
.- Parameters:
stack
- the stack from which to allocatecapacity
- the buffer capacity
-
callocStack
public static VkDeviceGroupDeviceCreateInfoKHR.Buffer callocStack(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkDeviceGroupDeviceCreateInfoKHR.Buffer
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.- Parameters:
stack
- the stack from which to allocatecapacity
- the buffer capacity
-
-