Package org.lwjgl.vulkan
Class VkDeviceGroupRenderPassBeginInfoKHR
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.Struct
-
- org.lwjgl.vulkan.VkDeviceGroupRenderPassBeginInfo
-
- org.lwjgl.vulkan.VkDeviceGroupRenderPassBeginInfoKHR
-
- All Implemented Interfaces:
java.lang.AutoCloseable
,org.lwjgl.system.NativeResource
,org.lwjgl.system.Pointer
public class VkDeviceGroupRenderPassBeginInfoKHR extends VkDeviceGroupRenderPassBeginInfo
SeeVkDeviceGroupRenderPassBeginInfo
.Layout
struct VkDeviceGroupRenderPassBeginInfoKHR { VkStructureType sType; void const * pNext; uint32_t deviceMask; uint32_t deviceRenderAreaCount;
VkRect2D
const * pDeviceRenderAreas; }
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
VkDeviceGroupRenderPassBeginInfoKHR.Buffer
An array ofVkDeviceGroupRenderPassBeginInfoKHR
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.VkDeviceGroupRenderPassBeginInfo
ALIGNOF, DEVICEMASK, DEVICERENDERAREACOUNT, PDEVICERENDERAREAS, PNEXT, SIZEOF, STYPE
-
-
Constructor Summary
Constructors Constructor Description VkDeviceGroupRenderPassBeginInfoKHR(java.nio.ByteBuffer container)
Creates aVkDeviceGroupRenderPassBeginInfoKHR
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 VkDeviceGroupRenderPassBeginInfoKHR
calloc()
Returns a newVkDeviceGroupRenderPassBeginInfoKHR
instance allocated withmemCalloc
.static VkDeviceGroupRenderPassBeginInfoKHR.Buffer
calloc(int capacity)
Returns a newVkDeviceGroupRenderPassBeginInfoKHR.Buffer
instance allocated withmemCalloc
.static VkDeviceGroupRenderPassBeginInfoKHR
callocStack()
Returns a newVkDeviceGroupRenderPassBeginInfoKHR
instance allocated on the thread-localMemoryStack
and initializes all its bits to zero.static VkDeviceGroupRenderPassBeginInfoKHR.Buffer
callocStack(int capacity)
Returns a newVkDeviceGroupRenderPassBeginInfoKHR.Buffer
instance allocated on the thread-localMemoryStack
and initializes all its bits to zero.static VkDeviceGroupRenderPassBeginInfoKHR.Buffer
callocStack(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkDeviceGroupRenderPassBeginInfoKHR.Buffer
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.static VkDeviceGroupRenderPassBeginInfoKHR
callocStack(org.lwjgl.system.MemoryStack stack)
Returns a newVkDeviceGroupRenderPassBeginInfoKHR
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.static VkDeviceGroupRenderPassBeginInfoKHR
create()
Returns a newVkDeviceGroupRenderPassBeginInfoKHR
instance allocated withBufferUtils
.static VkDeviceGroupRenderPassBeginInfoKHR.Buffer
create(int capacity)
Returns a newVkDeviceGroupRenderPassBeginInfoKHR.Buffer
instance allocated withBufferUtils
.static VkDeviceGroupRenderPassBeginInfoKHR
create(long address)
Returns a newVkDeviceGroupRenderPassBeginInfoKHR
instance for the specified memory address.static VkDeviceGroupRenderPassBeginInfoKHR.Buffer
create(long address, int capacity)
Create aVkDeviceGroupRenderPassBeginInfoKHR.Buffer
instance at the specified memory.static VkDeviceGroupRenderPassBeginInfoKHR
createSafe(long address)
static VkDeviceGroupRenderPassBeginInfoKHR.Buffer
createSafe(long address, int capacity)
VkDeviceGroupRenderPassBeginInfoKHR
deviceMask(int value)
Sets the specified value to thedeviceMask
field.static VkDeviceGroupRenderPassBeginInfoKHR
malloc()
Returns a newVkDeviceGroupRenderPassBeginInfoKHR
instance allocated withmemAlloc
.static VkDeviceGroupRenderPassBeginInfoKHR.Buffer
malloc(int capacity)
Returns a newVkDeviceGroupRenderPassBeginInfoKHR.Buffer
instance allocated withmemAlloc
.static VkDeviceGroupRenderPassBeginInfoKHR
mallocStack()
Returns a newVkDeviceGroupRenderPassBeginInfoKHR
instance allocated on the thread-localMemoryStack
.static VkDeviceGroupRenderPassBeginInfoKHR.Buffer
mallocStack(int capacity)
Returns a newVkDeviceGroupRenderPassBeginInfoKHR.Buffer
instance allocated on the thread-localMemoryStack
.static VkDeviceGroupRenderPassBeginInfoKHR.Buffer
mallocStack(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkDeviceGroupRenderPassBeginInfoKHR.Buffer
instance allocated on the specifiedMemoryStack
.static VkDeviceGroupRenderPassBeginInfoKHR
mallocStack(org.lwjgl.system.MemoryStack stack)
Returns a newVkDeviceGroupRenderPassBeginInfoKHR
instance allocated on the specifiedMemoryStack
.VkDeviceGroupRenderPassBeginInfoKHR
pDeviceRenderAreas(VkRect2D.Buffer value)
Sets the address of the specifiedVkRect2D.Buffer
to thepDeviceRenderAreas
field.VkDeviceGroupRenderPassBeginInfoKHR
pNext(long value)
Sets the specified value to thepNext
field.VkDeviceGroupRenderPassBeginInfoKHR
set(int sType, long pNext, int deviceMask, VkRect2D.Buffer pDeviceRenderAreas)
Initializes this struct with the specified values.VkDeviceGroupRenderPassBeginInfoKHR
set(VkDeviceGroupRenderPassBeginInfoKHR src)
Copies the specified struct data to this struct.VkDeviceGroupRenderPassBeginInfoKHR
sType(int value)
Sets the specified value to thesType
field.-
Methods inherited from class org.lwjgl.vulkan.VkDeviceGroupRenderPassBeginInfo
deviceMask, deviceRenderAreaCount, ndeviceMask, ndeviceMask, ndeviceRenderAreaCount, ndeviceRenderAreaCount, npDeviceRenderAreas, npDeviceRenderAreas, npNext, npNext, nsType, nsType, pDeviceRenderAreas, pNext, set, sizeof, sType, validate, validate
-
-
-
-
Constructor Detail
-
VkDeviceGroupRenderPassBeginInfoKHR
public VkDeviceGroupRenderPassBeginInfoKHR(java.nio.ByteBuffer container)
Creates aVkDeviceGroupRenderPassBeginInfoKHR
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 VkDeviceGroupRenderPassBeginInfoKHR sType(int value)
Sets the specified value to thesType
field.- Overrides:
sType
in classVkDeviceGroupRenderPassBeginInfo
-
pNext
public VkDeviceGroupRenderPassBeginInfoKHR pNext(long value)
Sets the specified value to thepNext
field.- Overrides:
pNext
in classVkDeviceGroupRenderPassBeginInfo
-
deviceMask
public VkDeviceGroupRenderPassBeginInfoKHR deviceMask(int value)
Sets the specified value to thedeviceMask
field.- Overrides:
deviceMask
in classVkDeviceGroupRenderPassBeginInfo
-
pDeviceRenderAreas
public VkDeviceGroupRenderPassBeginInfoKHR pDeviceRenderAreas(@Nullable VkRect2D.Buffer value)
Sets the address of the specifiedVkRect2D.Buffer
to thepDeviceRenderAreas
field.- Overrides:
pDeviceRenderAreas
in classVkDeviceGroupRenderPassBeginInfo
-
set
public VkDeviceGroupRenderPassBeginInfoKHR set(int sType, long pNext, int deviceMask, @Nullable VkRect2D.Buffer pDeviceRenderAreas)
Initializes this struct with the specified values.- Overrides:
set
in classVkDeviceGroupRenderPassBeginInfo
-
set
public VkDeviceGroupRenderPassBeginInfoKHR set(VkDeviceGroupRenderPassBeginInfoKHR src)
Copies the specified struct data to this struct.- Parameters:
src
- the source struct- Returns:
- this struct
-
malloc
public static VkDeviceGroupRenderPassBeginInfoKHR malloc()
Returns a newVkDeviceGroupRenderPassBeginInfoKHR
instance allocated withmemAlloc
. The instance must be explicitly freed.
-
calloc
public static VkDeviceGroupRenderPassBeginInfoKHR calloc()
Returns a newVkDeviceGroupRenderPassBeginInfoKHR
instance allocated withmemCalloc
. The instance must be explicitly freed.
-
create
public static VkDeviceGroupRenderPassBeginInfoKHR create()
Returns a newVkDeviceGroupRenderPassBeginInfoKHR
instance allocated withBufferUtils
.
-
create
public static VkDeviceGroupRenderPassBeginInfoKHR create(long address)
Returns a newVkDeviceGroupRenderPassBeginInfoKHR
instance for the specified memory address.
-
createSafe
@Nullable public static VkDeviceGroupRenderPassBeginInfoKHR createSafe(long address)
-
malloc
public static VkDeviceGroupRenderPassBeginInfoKHR.Buffer malloc(int capacity)
Returns a newVkDeviceGroupRenderPassBeginInfoKHR.Buffer
instance allocated withmemAlloc
. The instance must be explicitly freed.- Parameters:
capacity
- the buffer capacity
-
calloc
public static VkDeviceGroupRenderPassBeginInfoKHR.Buffer calloc(int capacity)
Returns a newVkDeviceGroupRenderPassBeginInfoKHR.Buffer
instance allocated withmemCalloc
. The instance must be explicitly freed.- Parameters:
capacity
- the buffer capacity
-
create
public static VkDeviceGroupRenderPassBeginInfoKHR.Buffer create(int capacity)
Returns a newVkDeviceGroupRenderPassBeginInfoKHR.Buffer
instance allocated withBufferUtils
.- Parameters:
capacity
- the buffer capacity
-
create
public static VkDeviceGroupRenderPassBeginInfoKHR.Buffer create(long address, int capacity)
Create aVkDeviceGroupRenderPassBeginInfoKHR.Buffer
instance at the specified memory.- Parameters:
address
- the memory addresscapacity
- the buffer capacity
-
createSafe
@Nullable public static VkDeviceGroupRenderPassBeginInfoKHR.Buffer createSafe(long address, int capacity)
-
mallocStack
public static VkDeviceGroupRenderPassBeginInfoKHR mallocStack()
Returns a newVkDeviceGroupRenderPassBeginInfoKHR
instance allocated on the thread-localMemoryStack
.
-
callocStack
public static VkDeviceGroupRenderPassBeginInfoKHR callocStack()
Returns a newVkDeviceGroupRenderPassBeginInfoKHR
instance allocated on the thread-localMemoryStack
and initializes all its bits to zero.
-
mallocStack
public static VkDeviceGroupRenderPassBeginInfoKHR mallocStack(org.lwjgl.system.MemoryStack stack)
Returns a newVkDeviceGroupRenderPassBeginInfoKHR
instance allocated on the specifiedMemoryStack
.- Parameters:
stack
- the stack from which to allocate
-
callocStack
public static VkDeviceGroupRenderPassBeginInfoKHR callocStack(org.lwjgl.system.MemoryStack stack)
Returns a newVkDeviceGroupRenderPassBeginInfoKHR
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.- Parameters:
stack
- the stack from which to allocate
-
mallocStack
public static VkDeviceGroupRenderPassBeginInfoKHR.Buffer mallocStack(int capacity)
Returns a newVkDeviceGroupRenderPassBeginInfoKHR.Buffer
instance allocated on the thread-localMemoryStack
.- Parameters:
capacity
- the buffer capacity
-
callocStack
public static VkDeviceGroupRenderPassBeginInfoKHR.Buffer callocStack(int capacity)
Returns a newVkDeviceGroupRenderPassBeginInfoKHR.Buffer
instance allocated on the thread-localMemoryStack
and initializes all its bits to zero.- Parameters:
capacity
- the buffer capacity
-
mallocStack
public static VkDeviceGroupRenderPassBeginInfoKHR.Buffer mallocStack(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkDeviceGroupRenderPassBeginInfoKHR.Buffer
instance allocated on the specifiedMemoryStack
.- Parameters:
stack
- the stack from which to allocatecapacity
- the buffer capacity
-
callocStack
public static VkDeviceGroupRenderPassBeginInfoKHR.Buffer callocStack(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkDeviceGroupRenderPassBeginInfoKHR.Buffer
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.- Parameters:
stack
- the stack from which to allocatecapacity
- the buffer capacity
-
-