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 classVkDeviceGroupDeviceCreateInfoKHR.BufferAn array ofVkDeviceGroupDeviceCreateInfoKHRstructs.
-
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 aVkDeviceGroupDeviceCreateInfoKHRinstance at the current position of the specifiedByteBuffercontainer.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static VkDeviceGroupDeviceCreateInfoKHRcalloc()Returns a newVkDeviceGroupDeviceCreateInfoKHRinstance allocated withmemCalloc.static VkDeviceGroupDeviceCreateInfoKHR.Buffercalloc(int capacity)Returns a newVkDeviceGroupDeviceCreateInfoKHR.Bufferinstance allocated withmemCalloc.static VkDeviceGroupDeviceCreateInfoKHRcallocStack()Returns a newVkDeviceGroupDeviceCreateInfoKHRinstance allocated on the thread-localMemoryStackand initializes all its bits to zero.static VkDeviceGroupDeviceCreateInfoKHR.BuffercallocStack(int capacity)Returns a newVkDeviceGroupDeviceCreateInfoKHR.Bufferinstance allocated on the thread-localMemoryStackand initializes all its bits to zero.static VkDeviceGroupDeviceCreateInfoKHR.BuffercallocStack(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkDeviceGroupDeviceCreateInfoKHR.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkDeviceGroupDeviceCreateInfoKHRcallocStack(org.lwjgl.system.MemoryStack stack)Returns a newVkDeviceGroupDeviceCreateInfoKHRinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkDeviceGroupDeviceCreateInfoKHRcreate()Returns a newVkDeviceGroupDeviceCreateInfoKHRinstance allocated withBufferUtils.static VkDeviceGroupDeviceCreateInfoKHR.Buffercreate(int capacity)Returns a newVkDeviceGroupDeviceCreateInfoKHR.Bufferinstance allocated withBufferUtils.static VkDeviceGroupDeviceCreateInfoKHRcreate(long address)Returns a newVkDeviceGroupDeviceCreateInfoKHRinstance for the specified memory address.static VkDeviceGroupDeviceCreateInfoKHR.Buffercreate(long address, int capacity)Create aVkDeviceGroupDeviceCreateInfoKHR.Bufferinstance at the specified memory.static VkDeviceGroupDeviceCreateInfoKHRcreateSafe(long address)static VkDeviceGroupDeviceCreateInfoKHR.BuffercreateSafe(long address, int capacity)static VkDeviceGroupDeviceCreateInfoKHRmalloc()Returns a newVkDeviceGroupDeviceCreateInfoKHRinstance allocated withmemAlloc.static VkDeviceGroupDeviceCreateInfoKHR.Buffermalloc(int capacity)Returns a newVkDeviceGroupDeviceCreateInfoKHR.Bufferinstance allocated withmemAlloc.static VkDeviceGroupDeviceCreateInfoKHRmallocStack()Returns a newVkDeviceGroupDeviceCreateInfoKHRinstance allocated on the thread-localMemoryStack.static VkDeviceGroupDeviceCreateInfoKHR.BuffermallocStack(int capacity)Returns a newVkDeviceGroupDeviceCreateInfoKHR.Bufferinstance allocated on the thread-localMemoryStack.static VkDeviceGroupDeviceCreateInfoKHR.BuffermallocStack(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkDeviceGroupDeviceCreateInfoKHR.Bufferinstance allocated on the specifiedMemoryStack.static VkDeviceGroupDeviceCreateInfoKHRmallocStack(org.lwjgl.system.MemoryStack stack)Returns a newVkDeviceGroupDeviceCreateInfoKHRinstance allocated on the specifiedMemoryStack.VkDeviceGroupDeviceCreateInfoKHRpNext(long value)Sets the specified value to thepNextfield.VkDeviceGroupDeviceCreateInfoKHRpPhysicalDevices(org.lwjgl.PointerBuffer value)Sets the address of the specifiedPointerBufferto thepPhysicalDevicesfield.VkDeviceGroupDeviceCreateInfoKHRset(int sType, long pNext, org.lwjgl.PointerBuffer pPhysicalDevices)Initializes this struct with the specified values.VkDeviceGroupDeviceCreateInfoKHRset(VkDeviceGroupDeviceCreateInfoKHR src)Copies the specified struct data to this struct.VkDeviceGroupDeviceCreateInfoKHRsType(int value)Sets the specified value to thesTypefield.-
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 aVkDeviceGroupDeviceCreateInfoKHRinstance at the current position of the specifiedByteBuffercontainer. 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 thesTypefield.- Overrides:
sTypein classVkDeviceGroupDeviceCreateInfo
-
pNext
public VkDeviceGroupDeviceCreateInfoKHR pNext(long value)
Sets the specified value to thepNextfield.- Overrides:
pNextin classVkDeviceGroupDeviceCreateInfo
-
pPhysicalDevices
public VkDeviceGroupDeviceCreateInfoKHR pPhysicalDevices(@Nullable org.lwjgl.PointerBuffer value)
Sets the address of the specifiedPointerBufferto thepPhysicalDevicesfield.- Overrides:
pPhysicalDevicesin classVkDeviceGroupDeviceCreateInfo
-
set
public VkDeviceGroupDeviceCreateInfoKHR set(int sType, long pNext, @Nullable org.lwjgl.PointerBuffer pPhysicalDevices)
Initializes this struct with the specified values.- Overrides:
setin 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 newVkDeviceGroupDeviceCreateInfoKHRinstance allocated withmemAlloc. The instance must be explicitly freed.
-
calloc
public static VkDeviceGroupDeviceCreateInfoKHR calloc()
Returns a newVkDeviceGroupDeviceCreateInfoKHRinstance allocated withmemCalloc. The instance must be explicitly freed.
-
create
public static VkDeviceGroupDeviceCreateInfoKHR create()
Returns a newVkDeviceGroupDeviceCreateInfoKHRinstance allocated withBufferUtils.
-
create
public static VkDeviceGroupDeviceCreateInfoKHR create(long address)
Returns a newVkDeviceGroupDeviceCreateInfoKHRinstance for the specified memory address.
-
createSafe
@Nullable public static VkDeviceGroupDeviceCreateInfoKHR createSafe(long address)
-
malloc
public static VkDeviceGroupDeviceCreateInfoKHR.Buffer malloc(int capacity)
Returns a newVkDeviceGroupDeviceCreateInfoKHR.Bufferinstance allocated withmemAlloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
calloc
public static VkDeviceGroupDeviceCreateInfoKHR.Buffer calloc(int capacity)
Returns a newVkDeviceGroupDeviceCreateInfoKHR.Bufferinstance allocated withmemCalloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
create
public static VkDeviceGroupDeviceCreateInfoKHR.Buffer create(int capacity)
Returns a newVkDeviceGroupDeviceCreateInfoKHR.Bufferinstance allocated withBufferUtils.- Parameters:
capacity- the buffer capacity
-
create
public static VkDeviceGroupDeviceCreateInfoKHR.Buffer create(long address, int capacity)
Create aVkDeviceGroupDeviceCreateInfoKHR.Bufferinstance 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 newVkDeviceGroupDeviceCreateInfoKHRinstance allocated on the thread-localMemoryStack.
-
callocStack
public static VkDeviceGroupDeviceCreateInfoKHR callocStack()
Returns a newVkDeviceGroupDeviceCreateInfoKHRinstance allocated on the thread-localMemoryStackand initializes all its bits to zero.
-
mallocStack
public static VkDeviceGroupDeviceCreateInfoKHR mallocStack(org.lwjgl.system.MemoryStack stack)
Returns a newVkDeviceGroupDeviceCreateInfoKHRinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocate
-
callocStack
public static VkDeviceGroupDeviceCreateInfoKHR callocStack(org.lwjgl.system.MemoryStack stack)
Returns a newVkDeviceGroupDeviceCreateInfoKHRinstance allocated on the specifiedMemoryStackand 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.Bufferinstance allocated on the thread-localMemoryStack.- Parameters:
capacity- the buffer capacity
-
callocStack
public static VkDeviceGroupDeviceCreateInfoKHR.Buffer callocStack(int capacity)
Returns a newVkDeviceGroupDeviceCreateInfoKHR.Bufferinstance allocated on the thread-localMemoryStackand 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.Bufferinstance 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.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocatecapacity- the buffer capacity
-
-