public class VkImageSwapchainCreateInfoKHR
extends org.lwjgl.system.Struct
implements org.lwjgl.system.NativeResource
swapchain is not NULL_HANDLE, the fields of VkImageCreateInfo must match the implied image creation parameters of the swapchainsType must be STRUCTURE_TYPE_IMAGE_SWAPCHAIN_CREATE_INFO_KHRswapchain is not NULL_HANDLE, swapchain must be a valid VkSwapchainKHR handlesType – the type of this structure.pNext – NULL or a pointer to an extension-specific structure.swapchain – NULL_HANDLE or a handle of a swapchain that the image will be bound to.
struct VkImageSwapchainCreateInfoKHR {
VkStructureType sType;
void const * pNext;
VkSwapchainKHR swapchain;
}| Modifier and Type | Class and Description |
|---|---|
static class |
VkImageSwapchainCreateInfoKHR.Buffer
An array of
VkImageSwapchainCreateInfoKHR structs. |
| Modifier and Type | Field and Description |
|---|---|
static int |
ALIGNOF
The struct alignment in bytes.
|
static int |
PNEXT
The struct member offsets.
|
static int |
SIZEOF
The struct size in bytes.
|
static int |
STYPE
The struct member offsets.
|
static int |
SWAPCHAIN
The struct member offsets.
|
| Constructor and Description |
|---|
VkImageSwapchainCreateInfoKHR(java.nio.ByteBuffer container)
Creates a
VkImageSwapchainCreateInfoKHR instance at the current position of the specified ByteBuffer container. |
| Modifier and Type | Method and Description |
|---|---|
static VkImageSwapchainCreateInfoKHR |
calloc()
Returns a new
VkImageSwapchainCreateInfoKHR instance allocated with memCalloc. |
static VkImageSwapchainCreateInfoKHR.Buffer |
calloc(int capacity)
Returns a new
VkImageSwapchainCreateInfoKHR.Buffer instance allocated with memCalloc. |
static VkImageSwapchainCreateInfoKHR |
callocStack()
Returns a new
VkImageSwapchainCreateInfoKHR instance allocated on the thread-local MemoryStack and initializes all its bits to zero. |
static VkImageSwapchainCreateInfoKHR.Buffer |
callocStack(int capacity)
Returns a new
VkImageSwapchainCreateInfoKHR.Buffer instance allocated on the thread-local MemoryStack and initializes all its bits to zero. |
static VkImageSwapchainCreateInfoKHR.Buffer |
callocStack(int capacity,
org.lwjgl.system.MemoryStack stack)
Returns a new
VkImageSwapchainCreateInfoKHR.Buffer instance allocated on the specified MemoryStack and initializes all its bits to zero. |
static VkImageSwapchainCreateInfoKHR |
callocStack(org.lwjgl.system.MemoryStack stack)
Returns a new
VkImageSwapchainCreateInfoKHR instance allocated on the specified MemoryStack and initializes all its bits to zero. |
static VkImageSwapchainCreateInfoKHR |
create()
Returns a new
VkImageSwapchainCreateInfoKHR instance allocated with BufferUtils. |
static VkImageSwapchainCreateInfoKHR.Buffer |
create(int capacity)
Returns a new
VkImageSwapchainCreateInfoKHR.Buffer instance allocated with BufferUtils. |
static VkImageSwapchainCreateInfoKHR |
create(long address)
Returns a new
VkImageSwapchainCreateInfoKHR instance for the specified memory address. |
static VkImageSwapchainCreateInfoKHR.Buffer |
create(long address,
int capacity)
Create a
VkImageSwapchainCreateInfoKHR.Buffer instance at the specified memory. |
static VkImageSwapchainCreateInfoKHR |
createSafe(long address)
|
static VkImageSwapchainCreateInfoKHR.Buffer |
createSafe(long address,
int capacity)
|
static VkImageSwapchainCreateInfoKHR |
malloc()
Returns a new
VkImageSwapchainCreateInfoKHR instance allocated with memAlloc. |
static VkImageSwapchainCreateInfoKHR.Buffer |
malloc(int capacity)
Returns a new
VkImageSwapchainCreateInfoKHR.Buffer instance allocated with memAlloc. |
static VkImageSwapchainCreateInfoKHR |
mallocStack()
Returns a new
VkImageSwapchainCreateInfoKHR instance allocated on the thread-local MemoryStack. |
static VkImageSwapchainCreateInfoKHR.Buffer |
mallocStack(int capacity)
Returns a new
VkImageSwapchainCreateInfoKHR.Buffer instance allocated on the thread-local MemoryStack. |
static VkImageSwapchainCreateInfoKHR.Buffer |
mallocStack(int capacity,
org.lwjgl.system.MemoryStack stack)
Returns a new
VkImageSwapchainCreateInfoKHR.Buffer instance allocated on the specified MemoryStack. |
static VkImageSwapchainCreateInfoKHR |
mallocStack(org.lwjgl.system.MemoryStack stack)
Returns a new
VkImageSwapchainCreateInfoKHR instance allocated on the specified MemoryStack. |
static long |
npNext(long struct)
Unsafe version of
pNext(). |
static void |
npNext(long struct,
long value)
Unsafe version of
pNext. |
static int |
nsType(long struct)
Unsafe version of
sType(). |
static void |
nsType(long struct,
int value)
Unsafe version of
sType. |
static long |
nswapchain(long struct)
Unsafe version of
swapchain(). |
static void |
nswapchain(long struct,
long value)
Unsafe version of
swapchain. |
long |
pNext()
Returns the value of the
pNext field. |
VkImageSwapchainCreateInfoKHR |
pNext(long value)
Sets the specified value to the
pNext field. |
VkImageSwapchainCreateInfoKHR |
set(int sType,
long pNext,
long swapchain)
Initializes this struct with the specified values.
|
VkImageSwapchainCreateInfoKHR |
set(VkImageSwapchainCreateInfoKHR src)
Copies the specified struct data to this struct.
|
int |
sizeof() |
int |
sType()
Returns the value of the
sType field. |
VkImageSwapchainCreateInfoKHR |
sType(int value)
Sets the specified value to the
sType field. |
long |
swapchain()
Returns the value of the
swapchain field. |
VkImageSwapchainCreateInfoKHR |
swapchain(long value)
Sets the specified value to the
swapchain field. |
public static final int SIZEOF
public static final int ALIGNOF
public static final int STYPE
public static final int PNEXT
public static final int SWAPCHAIN
public VkImageSwapchainCreateInfoKHR(java.nio.ByteBuffer container)
VkImageSwapchainCreateInfoKHR 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 int sizeof()
sizeof in class org.lwjgl.system.Structpublic int sType()
sType field.public long pNext()
pNext field.public long swapchain()
swapchain field.public VkImageSwapchainCreateInfoKHR sType(int value)
sType field.public VkImageSwapchainCreateInfoKHR pNext(long value)
pNext field.public VkImageSwapchainCreateInfoKHR swapchain(long value)
swapchain field.public VkImageSwapchainCreateInfoKHR set(int sType, long pNext, long swapchain)
public VkImageSwapchainCreateInfoKHR set(VkImageSwapchainCreateInfoKHR src)
src - the source structpublic static VkImageSwapchainCreateInfoKHR malloc()
VkImageSwapchainCreateInfoKHR instance allocated with memAlloc. The instance must be explicitly freed.public static VkImageSwapchainCreateInfoKHR calloc()
VkImageSwapchainCreateInfoKHR instance allocated with memCalloc. The instance must be explicitly freed.public static VkImageSwapchainCreateInfoKHR create()
VkImageSwapchainCreateInfoKHR instance allocated with BufferUtils.public static VkImageSwapchainCreateInfoKHR create(long address)
VkImageSwapchainCreateInfoKHR instance for the specified memory address.@Nullable public static VkImageSwapchainCreateInfoKHR createSafe(long address)
public static VkImageSwapchainCreateInfoKHR.Buffer malloc(int capacity)
VkImageSwapchainCreateInfoKHR.Buffer instance allocated with memAlloc. The instance must be explicitly freed.capacity - the buffer capacitypublic static VkImageSwapchainCreateInfoKHR.Buffer calloc(int capacity)
VkImageSwapchainCreateInfoKHR.Buffer instance allocated with memCalloc. The instance must be explicitly freed.capacity - the buffer capacitypublic static VkImageSwapchainCreateInfoKHR.Buffer create(int capacity)
VkImageSwapchainCreateInfoKHR.Buffer instance allocated with BufferUtils.capacity - the buffer capacitypublic static VkImageSwapchainCreateInfoKHR.Buffer create(long address, int capacity)
VkImageSwapchainCreateInfoKHR.Buffer instance at the specified memory.address - the memory addresscapacity - the buffer capacity@Nullable public static VkImageSwapchainCreateInfoKHR.Buffer createSafe(long address, int capacity)
public static VkImageSwapchainCreateInfoKHR mallocStack()
VkImageSwapchainCreateInfoKHR instance allocated on the thread-local MemoryStack.public static VkImageSwapchainCreateInfoKHR callocStack()
VkImageSwapchainCreateInfoKHR instance allocated on the thread-local MemoryStack and initializes all its bits to zero.public static VkImageSwapchainCreateInfoKHR mallocStack(org.lwjgl.system.MemoryStack stack)
VkImageSwapchainCreateInfoKHR instance allocated on the specified MemoryStack.stack - the stack from which to allocatepublic static VkImageSwapchainCreateInfoKHR callocStack(org.lwjgl.system.MemoryStack stack)
VkImageSwapchainCreateInfoKHR instance allocated on the specified MemoryStack and initializes all its bits to zero.stack - the stack from which to allocatepublic static VkImageSwapchainCreateInfoKHR.Buffer mallocStack(int capacity)
VkImageSwapchainCreateInfoKHR.Buffer instance allocated on the thread-local MemoryStack.capacity - the buffer capacitypublic static VkImageSwapchainCreateInfoKHR.Buffer callocStack(int capacity)
VkImageSwapchainCreateInfoKHR.Buffer instance allocated on the thread-local MemoryStack and initializes all its bits to zero.capacity - the buffer capacitypublic static VkImageSwapchainCreateInfoKHR.Buffer mallocStack(int capacity, org.lwjgl.system.MemoryStack stack)
VkImageSwapchainCreateInfoKHR.Buffer instance allocated on the specified MemoryStack.stack - the stack from which to allocatecapacity - the buffer capacitypublic static VkImageSwapchainCreateInfoKHR.Buffer callocStack(int capacity, org.lwjgl.system.MemoryStack stack)
VkImageSwapchainCreateInfoKHR.Buffer instance allocated on the specified MemoryStack and initializes all its bits to zero.stack - the stack from which to allocatecapacity - the buffer capacitypublic static int nsType(long struct)
sType().public static long npNext(long struct)
pNext().public static long nswapchain(long struct)
swapchain().public static void nsType(long struct,
int value)
sType.public static void npNext(long struct,
long value)
pNext.public static void nswapchain(long struct,
long value)
swapchain.Copyright LWJGL. All Rights Reserved. License terms.