public class VkPipelineViewportSwizzleStateCreateInfoNV
extends org.lwjgl.system.Struct
implements org.lwjgl.system.NativeResource
viewportCount must match the viewportCount set in VkPipelineViewportStateCreateInfosType must be STRUCTURE_TYPE_PIPELINE_VIEWPORT_SWIZZLE_STATE_CREATE_INFO_NVflags must be 0pViewportSwizzles must be a valid pointer to an array of viewportCount valid VkViewportSwizzleNV structuresviewportCount must be greater than 0sType – the type of this structure.pNext – NULL or a pointer to an extension-specific structure.flags – reserved for future use.viewportCount – the number of viewport swizzles used by the pipeline.pViewportSwizzles – a pointer to an array of VkViewportSwizzleNV structures, defining the viewport swizzles.
struct VkPipelineViewportSwizzleStateCreateInfoNV {
VkStructureType sType;
void const * pNext;
VkPipelineViewportSwizzleStateCreateFlagsNV flags;
uint32_t viewportCount;
VkViewportSwizzleNV const * pViewportSwizzles;
}| Modifier and Type | Class and Description |
|---|---|
static class |
VkPipelineViewportSwizzleStateCreateInfoNV.Buffer
An array of
VkPipelineViewportSwizzleStateCreateInfoNV structs. |
| Modifier and Type | Field and Description |
|---|---|
static int |
ALIGNOF
The struct alignment in bytes.
|
static int |
FLAGS
The struct member offsets.
|
static int |
PNEXT
The struct member offsets.
|
static int |
PVIEWPORTSWIZZLES
The struct member offsets.
|
static int |
SIZEOF
The struct size in bytes.
|
static int |
STYPE
The struct member offsets.
|
static int |
VIEWPORTCOUNT
The struct member offsets.
|
| Constructor and Description |
|---|
VkPipelineViewportSwizzleStateCreateInfoNV(java.nio.ByteBuffer container)
Creates a
VkPipelineViewportSwizzleStateCreateInfoNV instance at the current position of the specified ByteBuffer container. |
| Modifier and Type | Method and Description |
|---|---|
static VkPipelineViewportSwizzleStateCreateInfoNV |
calloc()
Returns a new
VkPipelineViewportSwizzleStateCreateInfoNV instance allocated with memCalloc. |
static VkPipelineViewportSwizzleStateCreateInfoNV.Buffer |
calloc(int capacity)
Returns a new
VkPipelineViewportSwizzleStateCreateInfoNV.Buffer instance allocated with memCalloc. |
static VkPipelineViewportSwizzleStateCreateInfoNV |
callocStack()
Returns a new
VkPipelineViewportSwizzleStateCreateInfoNV instance allocated on the thread-local MemoryStack and initializes all its bits to zero. |
static VkPipelineViewportSwizzleStateCreateInfoNV.Buffer |
callocStack(int capacity)
Returns a new
VkPipelineViewportSwizzleStateCreateInfoNV.Buffer instance allocated on the thread-local MemoryStack and initializes all its bits to zero. |
static VkPipelineViewportSwizzleStateCreateInfoNV.Buffer |
callocStack(int capacity,
org.lwjgl.system.MemoryStack stack)
Returns a new
VkPipelineViewportSwizzleStateCreateInfoNV.Buffer instance allocated on the specified MemoryStack and initializes all its bits to zero. |
static VkPipelineViewportSwizzleStateCreateInfoNV |
callocStack(org.lwjgl.system.MemoryStack stack)
Returns a new
VkPipelineViewportSwizzleStateCreateInfoNV instance allocated on the specified MemoryStack and initializes all its bits to zero. |
static VkPipelineViewportSwizzleStateCreateInfoNV |
create()
Returns a new
VkPipelineViewportSwizzleStateCreateInfoNV instance allocated with BufferUtils. |
static VkPipelineViewportSwizzleStateCreateInfoNV.Buffer |
create(int capacity)
Returns a new
VkPipelineViewportSwizzleStateCreateInfoNV.Buffer instance allocated with BufferUtils. |
static VkPipelineViewportSwizzleStateCreateInfoNV |
create(long address)
Returns a new
VkPipelineViewportSwizzleStateCreateInfoNV instance for the specified memory address. |
static VkPipelineViewportSwizzleStateCreateInfoNV.Buffer |
create(long address,
int capacity)
Create a
VkPipelineViewportSwizzleStateCreateInfoNV.Buffer instance at the specified memory. |
static VkPipelineViewportSwizzleStateCreateInfoNV |
createSafe(long address)
|
static VkPipelineViewportSwizzleStateCreateInfoNV.Buffer |
createSafe(long address,
int capacity)
|
int |
flags()
Returns the value of the
flags field. |
VkPipelineViewportSwizzleStateCreateInfoNV |
flags(int value)
Sets the specified value to the
flags field. |
static VkPipelineViewportSwizzleStateCreateInfoNV |
malloc()
Returns a new
VkPipelineViewportSwizzleStateCreateInfoNV instance allocated with memAlloc. |
static VkPipelineViewportSwizzleStateCreateInfoNV.Buffer |
malloc(int capacity)
Returns a new
VkPipelineViewportSwizzleStateCreateInfoNV.Buffer instance allocated with memAlloc. |
static VkPipelineViewportSwizzleStateCreateInfoNV |
mallocStack()
Returns a new
VkPipelineViewportSwizzleStateCreateInfoNV instance allocated on the thread-local MemoryStack. |
static VkPipelineViewportSwizzleStateCreateInfoNV.Buffer |
mallocStack(int capacity)
Returns a new
VkPipelineViewportSwizzleStateCreateInfoNV.Buffer instance allocated on the thread-local MemoryStack. |
static VkPipelineViewportSwizzleStateCreateInfoNV.Buffer |
mallocStack(int capacity,
org.lwjgl.system.MemoryStack stack)
Returns a new
VkPipelineViewportSwizzleStateCreateInfoNV.Buffer instance allocated on the specified MemoryStack. |
static VkPipelineViewportSwizzleStateCreateInfoNV |
mallocStack(org.lwjgl.system.MemoryStack stack)
Returns a new
VkPipelineViewportSwizzleStateCreateInfoNV instance allocated on the specified MemoryStack. |
static int |
nflags(long struct)
Unsafe version of
flags(). |
static void |
nflags(long struct,
int value)
Unsafe version of
flags. |
static long |
npNext(long struct)
Unsafe version of
pNext(). |
static void |
npNext(long struct,
long value)
Unsafe version of
pNext. |
static VkViewportSwizzleNV.Buffer |
npViewportSwizzles(long struct)
Unsafe version of
pViewportSwizzles(). |
static void |
npViewportSwizzles(long struct,
VkViewportSwizzleNV.Buffer value)
Unsafe version of
pViewportSwizzles. |
static int |
nsType(long struct)
Unsafe version of
sType(). |
static void |
nsType(long struct,
int value)
Unsafe version of
sType. |
static int |
nviewportCount(long struct)
Unsafe version of
viewportCount(). |
static void |
nviewportCount(long struct,
int value)
Sets the specified value to the
viewportCount field of the specified struct. |
long |
pNext()
Returns the value of the
pNext field. |
VkPipelineViewportSwizzleStateCreateInfoNV |
pNext(long value)
Sets the specified value to the
pNext field. |
VkViewportSwizzleNV.Buffer |
pViewportSwizzles()
Returns a
VkViewportSwizzleNV.Buffer view of the struct array pointed to by the pViewportSwizzles field. |
VkPipelineViewportSwizzleStateCreateInfoNV |
pViewportSwizzles(VkViewportSwizzleNV.Buffer value)
Sets the address of the specified
VkViewportSwizzleNV.Buffer to the pViewportSwizzles field. |
VkPipelineViewportSwizzleStateCreateInfoNV |
set(int sType,
long pNext,
int flags,
VkViewportSwizzleNV.Buffer pViewportSwizzles)
Initializes this struct with the specified values.
|
VkPipelineViewportSwizzleStateCreateInfoNV |
set(VkPipelineViewportSwizzleStateCreateInfoNV src)
Copies the specified struct data to this struct.
|
int |
sizeof() |
int |
sType()
Returns the value of the
sType field. |
VkPipelineViewportSwizzleStateCreateInfoNV |
sType(int value)
Sets the specified value to the
sType field. |
static void |
validate(long struct)
Validates pointer members that should not be
NULL. |
static void |
validate(long array,
int count)
Calls
validate(long) for each struct contained in the specified struct array. |
int |
viewportCount()
Returns the value of the
viewportCount 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 FLAGS
public static final int VIEWPORTCOUNT
public static final int PVIEWPORTSWIZZLES
public VkPipelineViewportSwizzleStateCreateInfoNV(java.nio.ByteBuffer container)
VkPipelineViewportSwizzleStateCreateInfoNV 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 flags()
flags field.public int viewportCount()
viewportCount field.public VkViewportSwizzleNV.Buffer pViewportSwizzles()
VkViewportSwizzleNV.Buffer view of the struct array pointed to by the pViewportSwizzles field.public VkPipelineViewportSwizzleStateCreateInfoNV sType(int value)
sType field.public VkPipelineViewportSwizzleStateCreateInfoNV pNext(long value)
pNext field.public VkPipelineViewportSwizzleStateCreateInfoNV flags(int value)
flags field.public VkPipelineViewportSwizzleStateCreateInfoNV pViewportSwizzles(VkViewportSwizzleNV.Buffer value)
VkViewportSwizzleNV.Buffer to the pViewportSwizzles field.public VkPipelineViewportSwizzleStateCreateInfoNV set(int sType, long pNext, int flags, VkViewportSwizzleNV.Buffer pViewportSwizzles)
public VkPipelineViewportSwizzleStateCreateInfoNV set(VkPipelineViewportSwizzleStateCreateInfoNV src)
src - the source structpublic static VkPipelineViewportSwizzleStateCreateInfoNV malloc()
VkPipelineViewportSwizzleStateCreateInfoNV instance allocated with memAlloc. The instance must be explicitly freed.public static VkPipelineViewportSwizzleStateCreateInfoNV calloc()
VkPipelineViewportSwizzleStateCreateInfoNV instance allocated with memCalloc. The instance must be explicitly freed.public static VkPipelineViewportSwizzleStateCreateInfoNV create()
VkPipelineViewportSwizzleStateCreateInfoNV instance allocated with BufferUtils.public static VkPipelineViewportSwizzleStateCreateInfoNV create(long address)
VkPipelineViewportSwizzleStateCreateInfoNV instance for the specified memory address.@Nullable public static VkPipelineViewportSwizzleStateCreateInfoNV createSafe(long address)
public static VkPipelineViewportSwizzleStateCreateInfoNV.Buffer malloc(int capacity)
VkPipelineViewportSwizzleStateCreateInfoNV.Buffer instance allocated with memAlloc. The instance must be explicitly freed.capacity - the buffer capacitypublic static VkPipelineViewportSwizzleStateCreateInfoNV.Buffer calloc(int capacity)
VkPipelineViewportSwizzleStateCreateInfoNV.Buffer instance allocated with memCalloc. The instance must be explicitly freed.capacity - the buffer capacitypublic static VkPipelineViewportSwizzleStateCreateInfoNV.Buffer create(int capacity)
VkPipelineViewportSwizzleStateCreateInfoNV.Buffer instance allocated with BufferUtils.capacity - the buffer capacitypublic static VkPipelineViewportSwizzleStateCreateInfoNV.Buffer create(long address, int capacity)
VkPipelineViewportSwizzleStateCreateInfoNV.Buffer instance at the specified memory.address - the memory addresscapacity - the buffer capacity@Nullable public static VkPipelineViewportSwizzleStateCreateInfoNV.Buffer createSafe(long address, int capacity)
public static VkPipelineViewportSwizzleStateCreateInfoNV mallocStack()
VkPipelineViewportSwizzleStateCreateInfoNV instance allocated on the thread-local MemoryStack.public static VkPipelineViewportSwizzleStateCreateInfoNV callocStack()
VkPipelineViewportSwizzleStateCreateInfoNV instance allocated on the thread-local MemoryStack and initializes all its bits to zero.public static VkPipelineViewportSwizzleStateCreateInfoNV mallocStack(org.lwjgl.system.MemoryStack stack)
VkPipelineViewportSwizzleStateCreateInfoNV instance allocated on the specified MemoryStack.stack - the stack from which to allocatepublic static VkPipelineViewportSwizzleStateCreateInfoNV callocStack(org.lwjgl.system.MemoryStack stack)
VkPipelineViewportSwizzleStateCreateInfoNV instance allocated on the specified MemoryStack and initializes all its bits to zero.stack - the stack from which to allocatepublic static VkPipelineViewportSwizzleStateCreateInfoNV.Buffer mallocStack(int capacity)
VkPipelineViewportSwizzleStateCreateInfoNV.Buffer instance allocated on the thread-local MemoryStack.capacity - the buffer capacitypublic static VkPipelineViewportSwizzleStateCreateInfoNV.Buffer callocStack(int capacity)
VkPipelineViewportSwizzleStateCreateInfoNV.Buffer instance allocated on the thread-local MemoryStack and initializes all its bits to zero.capacity - the buffer capacitypublic static VkPipelineViewportSwizzleStateCreateInfoNV.Buffer mallocStack(int capacity, org.lwjgl.system.MemoryStack stack)
VkPipelineViewportSwizzleStateCreateInfoNV.Buffer instance allocated on the specified MemoryStack.stack - the stack from which to allocatecapacity - the buffer capacitypublic static VkPipelineViewportSwizzleStateCreateInfoNV.Buffer callocStack(int capacity, org.lwjgl.system.MemoryStack stack)
VkPipelineViewportSwizzleStateCreateInfoNV.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 nflags(long struct)
flags().public static int nviewportCount(long struct)
viewportCount().public static VkViewportSwizzleNV.Buffer npViewportSwizzles(long struct)
pViewportSwizzles().public static void nsType(long struct,
int value)
sType.public static void npNext(long struct,
long value)
pNext.public static void nflags(long struct,
int value)
flags.public static void nviewportCount(long struct,
int value)
viewportCount field of the specified struct.public static void npViewportSwizzles(long struct,
VkViewportSwizzleNV.Buffer value)
pViewportSwizzles.public static void validate(long struct)
NULL.struct - the struct to validatepublic static void validate(long array,
int count)
validate(long) for each struct contained in the specified struct array.array - the struct array to validatecount - the number of structs in arrayCopyright LWJGL. All Rights Reserved. License terms.