public class VkSwapchainCounterCreateInfoEXT
extends org.lwjgl.system.Struct
implements org.lwjgl.system.NativeResource
surfaceCounters must be supported by VkSwapchainCreateInfoKHR::surface, as reported by GetPhysicalDeviceSurfaceCapabilities2EXT.sType must be STRUCTURE_TYPE_SWAPCHAIN_COUNTER_CREATE_INFO_EXTsurfaceCounters must be a valid combination of VkSurfaceCounterFlagBitsEXT valuessType – the type of this structure.pNext – NULL or a pointer to an extension-specific structure.surfaceCounters – a bitmask of VkSurfaceCounterFlagBitsEXT specifying surface counters to enable for the swapchain.
struct VkSwapchainCounterCreateInfoEXT {
VkStructureType sType;
void const * pNext;
VkSurfaceCounterFlagsEXT surfaceCounters;
}| Modifier and Type | Class and Description |
|---|---|
static class |
VkSwapchainCounterCreateInfoEXT.Buffer
An array of
VkSwapchainCounterCreateInfoEXT 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 |
SURFACECOUNTERS
The struct member offsets.
|
| Constructor and Description |
|---|
VkSwapchainCounterCreateInfoEXT(java.nio.ByteBuffer container)
Creates a
VkSwapchainCounterCreateInfoEXT instance at the current position of the specified ByteBuffer container. |
| Modifier and Type | Method and Description |
|---|---|
static VkSwapchainCounterCreateInfoEXT |
calloc()
Returns a new
VkSwapchainCounterCreateInfoEXT instance allocated with memCalloc. |
static VkSwapchainCounterCreateInfoEXT.Buffer |
calloc(int capacity)
Returns a new
VkSwapchainCounterCreateInfoEXT.Buffer instance allocated with memCalloc. |
static VkSwapchainCounterCreateInfoEXT |
callocStack()
Returns a new
VkSwapchainCounterCreateInfoEXT instance allocated on the thread-local MemoryStack and initializes all its bits to zero. |
static VkSwapchainCounterCreateInfoEXT.Buffer |
callocStack(int capacity)
Returns a new
VkSwapchainCounterCreateInfoEXT.Buffer instance allocated on the thread-local MemoryStack and initializes all its bits to zero. |
static VkSwapchainCounterCreateInfoEXT.Buffer |
callocStack(int capacity,
org.lwjgl.system.MemoryStack stack)
Returns a new
VkSwapchainCounterCreateInfoEXT.Buffer instance allocated on the specified MemoryStack and initializes all its bits to zero. |
static VkSwapchainCounterCreateInfoEXT |
callocStack(org.lwjgl.system.MemoryStack stack)
Returns a new
VkSwapchainCounterCreateInfoEXT instance allocated on the specified MemoryStack and initializes all its bits to zero. |
static VkSwapchainCounterCreateInfoEXT |
create()
Returns a new
VkSwapchainCounterCreateInfoEXT instance allocated with BufferUtils. |
static VkSwapchainCounterCreateInfoEXT.Buffer |
create(int capacity)
Returns a new
VkSwapchainCounterCreateInfoEXT.Buffer instance allocated with BufferUtils. |
static VkSwapchainCounterCreateInfoEXT |
create(long address)
Returns a new
VkSwapchainCounterCreateInfoEXT instance for the specified memory address. |
static VkSwapchainCounterCreateInfoEXT.Buffer |
create(long address,
int capacity)
Create a
VkSwapchainCounterCreateInfoEXT.Buffer instance at the specified memory. |
static VkSwapchainCounterCreateInfoEXT |
createSafe(long address)
|
static VkSwapchainCounterCreateInfoEXT.Buffer |
createSafe(long address,
int capacity)
|
static VkSwapchainCounterCreateInfoEXT |
malloc()
Returns a new
VkSwapchainCounterCreateInfoEXT instance allocated with memAlloc. |
static VkSwapchainCounterCreateInfoEXT.Buffer |
malloc(int capacity)
Returns a new
VkSwapchainCounterCreateInfoEXT.Buffer instance allocated with memAlloc. |
static VkSwapchainCounterCreateInfoEXT |
mallocStack()
Returns a new
VkSwapchainCounterCreateInfoEXT instance allocated on the thread-local MemoryStack. |
static VkSwapchainCounterCreateInfoEXT.Buffer |
mallocStack(int capacity)
Returns a new
VkSwapchainCounterCreateInfoEXT.Buffer instance allocated on the thread-local MemoryStack. |
static VkSwapchainCounterCreateInfoEXT.Buffer |
mallocStack(int capacity,
org.lwjgl.system.MemoryStack stack)
Returns a new
VkSwapchainCounterCreateInfoEXT.Buffer instance allocated on the specified MemoryStack. |
static VkSwapchainCounterCreateInfoEXT |
mallocStack(org.lwjgl.system.MemoryStack stack)
Returns a new
VkSwapchainCounterCreateInfoEXT 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 int |
nsurfaceCounters(long struct)
Unsafe version of
surfaceCounters(). |
static void |
nsurfaceCounters(long struct,
int value)
Unsafe version of
surfaceCounters. |
long |
pNext()
Returns the value of the
pNext field. |
VkSwapchainCounterCreateInfoEXT |
pNext(long value)
Sets the specified value to the
pNext field. |
VkSwapchainCounterCreateInfoEXT |
set(int sType,
long pNext,
int surfaceCounters)
Initializes this struct with the specified values.
|
VkSwapchainCounterCreateInfoEXT |
set(VkSwapchainCounterCreateInfoEXT src)
Copies the specified struct data to this struct.
|
int |
sizeof() |
int |
sType()
Returns the value of the
sType field. |
VkSwapchainCounterCreateInfoEXT |
sType(int value)
Sets the specified value to the
sType field. |
int |
surfaceCounters()
Returns the value of the
surfaceCounters field. |
VkSwapchainCounterCreateInfoEXT |
surfaceCounters(int value)
Sets the specified value to the
surfaceCounters 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 SURFACECOUNTERS
public VkSwapchainCounterCreateInfoEXT(java.nio.ByteBuffer container)
VkSwapchainCounterCreateInfoEXT 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 int surfaceCounters()
surfaceCounters field.public VkSwapchainCounterCreateInfoEXT sType(int value)
sType field.public VkSwapchainCounterCreateInfoEXT pNext(long value)
pNext field.public VkSwapchainCounterCreateInfoEXT surfaceCounters(int value)
surfaceCounters field.public VkSwapchainCounterCreateInfoEXT set(int sType, long pNext, int surfaceCounters)
public VkSwapchainCounterCreateInfoEXT set(VkSwapchainCounterCreateInfoEXT src)
src - the source structpublic static VkSwapchainCounterCreateInfoEXT malloc()
VkSwapchainCounterCreateInfoEXT instance allocated with memAlloc. The instance must be explicitly freed.public static VkSwapchainCounterCreateInfoEXT calloc()
VkSwapchainCounterCreateInfoEXT instance allocated with memCalloc. The instance must be explicitly freed.public static VkSwapchainCounterCreateInfoEXT create()
VkSwapchainCounterCreateInfoEXT instance allocated with BufferUtils.public static VkSwapchainCounterCreateInfoEXT create(long address)
VkSwapchainCounterCreateInfoEXT instance for the specified memory address.@Nullable public static VkSwapchainCounterCreateInfoEXT createSafe(long address)
public static VkSwapchainCounterCreateInfoEXT.Buffer malloc(int capacity)
VkSwapchainCounterCreateInfoEXT.Buffer instance allocated with memAlloc. The instance must be explicitly freed.capacity - the buffer capacitypublic static VkSwapchainCounterCreateInfoEXT.Buffer calloc(int capacity)
VkSwapchainCounterCreateInfoEXT.Buffer instance allocated with memCalloc. The instance must be explicitly freed.capacity - the buffer capacitypublic static VkSwapchainCounterCreateInfoEXT.Buffer create(int capacity)
VkSwapchainCounterCreateInfoEXT.Buffer instance allocated with BufferUtils.capacity - the buffer capacitypublic static VkSwapchainCounterCreateInfoEXT.Buffer create(long address, int capacity)
VkSwapchainCounterCreateInfoEXT.Buffer instance at the specified memory.address - the memory addresscapacity - the buffer capacity@Nullable public static VkSwapchainCounterCreateInfoEXT.Buffer createSafe(long address, int capacity)
public static VkSwapchainCounterCreateInfoEXT mallocStack()
VkSwapchainCounterCreateInfoEXT instance allocated on the thread-local MemoryStack.public static VkSwapchainCounterCreateInfoEXT callocStack()
VkSwapchainCounterCreateInfoEXT instance allocated on the thread-local MemoryStack and initializes all its bits to zero.public static VkSwapchainCounterCreateInfoEXT mallocStack(org.lwjgl.system.MemoryStack stack)
VkSwapchainCounterCreateInfoEXT instance allocated on the specified MemoryStack.stack - the stack from which to allocatepublic static VkSwapchainCounterCreateInfoEXT callocStack(org.lwjgl.system.MemoryStack stack)
VkSwapchainCounterCreateInfoEXT instance allocated on the specified MemoryStack and initializes all its bits to zero.stack - the stack from which to allocatepublic static VkSwapchainCounterCreateInfoEXT.Buffer mallocStack(int capacity)
VkSwapchainCounterCreateInfoEXT.Buffer instance allocated on the thread-local MemoryStack.capacity - the buffer capacitypublic static VkSwapchainCounterCreateInfoEXT.Buffer callocStack(int capacity)
VkSwapchainCounterCreateInfoEXT.Buffer instance allocated on the thread-local MemoryStack and initializes all its bits to zero.capacity - the buffer capacitypublic static VkSwapchainCounterCreateInfoEXT.Buffer mallocStack(int capacity, org.lwjgl.system.MemoryStack stack)
VkSwapchainCounterCreateInfoEXT.Buffer instance allocated on the specified MemoryStack.stack - the stack from which to allocatecapacity - the buffer capacitypublic static VkSwapchainCounterCreateInfoEXT.Buffer callocStack(int capacity, org.lwjgl.system.MemoryStack stack)
VkSwapchainCounterCreateInfoEXT.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 int nsurfaceCounters(long struct)
surfaceCounters().public static void nsType(long struct,
int value)
sType.public static void npNext(long struct,
long value)
pNext.public static void nsurfaceCounters(long struct,
int value)
surfaceCounters.Copyright LWJGL. All Rights Reserved. License terms.