public class VkPipelineViewportExclusiveScissorStateCreateInfoNV
extends org.lwjgl.system.Struct
implements org.lwjgl.system.NativeResource
If this structure is not present, exclusiveScissorCount is considered to be 0 and the exclusive scissor test is disabled.
exclusiveScissorCount must be 0 or 1exclusiveScissorCount must be less than or equal to VkPhysicalDeviceLimits::maxViewportsexclusiveScissorCount must be 0 or identical to the viewportCount member of VkPipelineViewportStateCreateInfopDynamicStates member of pDynamicState is DYNAMIC_STATE_EXCLUSIVE_SCISSOR_NV and exclusiveScissorCount is not 0, pExclusiveScissors must be a valid pointer to an array of exclusiveScissorCount VkRect2D structuressType must be STRUCTURE_TYPE_PIPELINE_VIEWPORT_EXCLUSIVE_SCISSOR_STATE_CREATE_INFO_NVexclusiveScissorCount is not 0, and pExclusiveScissors is not NULL, pExclusiveScissors must be a valid pointer to an array of exclusiveScissorCount VkRect2D structuressType – the type of this structure.pNext – NULL or a pointer to an extension-specific structure.exclusiveScissorCount – the number of exclusive scissor rectangles used by the pipeline.pExclusiveScissors – a pointer to an array of VkRect2D structures defining exclusive scissor rectangles. If the exclusive scissor state is dynamic, this member is ignored.
struct VkPipelineViewportExclusiveScissorStateCreateInfoNV {
VkStructureType sType;
void const * pNext;
uint32_t exclusiveScissorCount;
VkRect2D const * pExclusiveScissors;
}| Modifier and Type | Class and Description |
|---|---|
static class |
VkPipelineViewportExclusiveScissorStateCreateInfoNV.Buffer
An array of
VkPipelineViewportExclusiveScissorStateCreateInfoNV structs. |
| Modifier and Type | Field and Description |
|---|---|
static int |
ALIGNOF
The struct alignment in bytes.
|
static int |
EXCLUSIVESCISSORCOUNT
The struct member offsets.
|
static int |
PEXCLUSIVESCISSORS
The struct member offsets.
|
static int |
PNEXT
The struct member offsets.
|
static int |
SIZEOF
The struct size in bytes.
|
static int |
STYPE
The struct member offsets.
|
| Constructor and Description |
|---|
VkPipelineViewportExclusiveScissorStateCreateInfoNV(java.nio.ByteBuffer container)
Creates a
VkPipelineViewportExclusiveScissorStateCreateInfoNV instance at the current position of the specified ByteBuffer container. |
| Modifier and Type | Method and Description |
|---|---|
static VkPipelineViewportExclusiveScissorStateCreateInfoNV |
calloc()
Returns a new
VkPipelineViewportExclusiveScissorStateCreateInfoNV instance allocated with memCalloc. |
static VkPipelineViewportExclusiveScissorStateCreateInfoNV.Buffer |
calloc(int capacity)
Returns a new
VkPipelineViewportExclusiveScissorStateCreateInfoNV.Buffer instance allocated with memCalloc. |
static VkPipelineViewportExclusiveScissorStateCreateInfoNV |
callocStack()
Returns a new
VkPipelineViewportExclusiveScissorStateCreateInfoNV instance allocated on the thread-local MemoryStack and initializes all its bits to zero. |
static VkPipelineViewportExclusiveScissorStateCreateInfoNV.Buffer |
callocStack(int capacity)
Returns a new
VkPipelineViewportExclusiveScissorStateCreateInfoNV.Buffer instance allocated on the thread-local MemoryStack and initializes all its bits to zero. |
static VkPipelineViewportExclusiveScissorStateCreateInfoNV.Buffer |
callocStack(int capacity,
org.lwjgl.system.MemoryStack stack)
Returns a new
VkPipelineViewportExclusiveScissorStateCreateInfoNV.Buffer instance allocated on the specified MemoryStack and initializes all its bits to zero. |
static VkPipelineViewportExclusiveScissorStateCreateInfoNV |
callocStack(org.lwjgl.system.MemoryStack stack)
Returns a new
VkPipelineViewportExclusiveScissorStateCreateInfoNV instance allocated on the specified MemoryStack and initializes all its bits to zero. |
static VkPipelineViewportExclusiveScissorStateCreateInfoNV |
create()
Returns a new
VkPipelineViewportExclusiveScissorStateCreateInfoNV instance allocated with BufferUtils. |
static VkPipelineViewportExclusiveScissorStateCreateInfoNV.Buffer |
create(int capacity)
Returns a new
VkPipelineViewportExclusiveScissorStateCreateInfoNV.Buffer instance allocated with BufferUtils. |
static VkPipelineViewportExclusiveScissorStateCreateInfoNV |
create(long address)
Returns a new
VkPipelineViewportExclusiveScissorStateCreateInfoNV instance for the specified memory address. |
static VkPipelineViewportExclusiveScissorStateCreateInfoNV.Buffer |
create(long address,
int capacity)
Create a
VkPipelineViewportExclusiveScissorStateCreateInfoNV.Buffer instance at the specified memory. |
static VkPipelineViewportExclusiveScissorStateCreateInfoNV |
createSafe(long address)
|
static VkPipelineViewportExclusiveScissorStateCreateInfoNV.Buffer |
createSafe(long address,
int capacity)
|
int |
exclusiveScissorCount()
Returns the value of the
exclusiveScissorCount field. |
VkPipelineViewportExclusiveScissorStateCreateInfoNV |
exclusiveScissorCount(int value)
Sets the specified value to the
exclusiveScissorCount field. |
static VkPipelineViewportExclusiveScissorStateCreateInfoNV |
malloc()
Returns a new
VkPipelineViewportExclusiveScissorStateCreateInfoNV instance allocated with memAlloc. |
static VkPipelineViewportExclusiveScissorStateCreateInfoNV.Buffer |
malloc(int capacity)
Returns a new
VkPipelineViewportExclusiveScissorStateCreateInfoNV.Buffer instance allocated with memAlloc. |
static VkPipelineViewportExclusiveScissorStateCreateInfoNV |
mallocStack()
Returns a new
VkPipelineViewportExclusiveScissorStateCreateInfoNV instance allocated on the thread-local MemoryStack. |
static VkPipelineViewportExclusiveScissorStateCreateInfoNV.Buffer |
mallocStack(int capacity)
Returns a new
VkPipelineViewportExclusiveScissorStateCreateInfoNV.Buffer instance allocated on the thread-local MemoryStack. |
static VkPipelineViewportExclusiveScissorStateCreateInfoNV.Buffer |
mallocStack(int capacity,
org.lwjgl.system.MemoryStack stack)
Returns a new
VkPipelineViewportExclusiveScissorStateCreateInfoNV.Buffer instance allocated on the specified MemoryStack. |
static VkPipelineViewportExclusiveScissorStateCreateInfoNV |
mallocStack(org.lwjgl.system.MemoryStack stack)
Returns a new
VkPipelineViewportExclusiveScissorStateCreateInfoNV instance allocated on the specified MemoryStack. |
static int |
nexclusiveScissorCount(long struct)
Unsafe version of
exclusiveScissorCount(). |
static void |
nexclusiveScissorCount(long struct,
int value)
Sets the specified value to the
exclusiveScissorCount field of the specified struct. |
static VkRect2D.Buffer |
npExclusiveScissors(long struct)
Unsafe version of
pExclusiveScissors(). |
static void |
npExclusiveScissors(long struct,
VkRect2D.Buffer value)
Unsafe version of
pExclusiveScissors. |
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. |
VkRect2D.Buffer |
pExclusiveScissors()
Returns a
VkRect2D.Buffer view of the struct array pointed to by the pExclusiveScissors field. |
VkPipelineViewportExclusiveScissorStateCreateInfoNV |
pExclusiveScissors(VkRect2D.Buffer value)
Sets the address of the specified
VkRect2D.Buffer to the pExclusiveScissors field. |
long |
pNext()
Returns the value of the
pNext field. |
VkPipelineViewportExclusiveScissorStateCreateInfoNV |
pNext(long value)
Sets the specified value to the
pNext field. |
VkPipelineViewportExclusiveScissorStateCreateInfoNV |
set(int sType,
long pNext,
int exclusiveScissorCount,
VkRect2D.Buffer pExclusiveScissors)
Initializes this struct with the specified values.
|
VkPipelineViewportExclusiveScissorStateCreateInfoNV |
set(VkPipelineViewportExclusiveScissorStateCreateInfoNV src)
Copies the specified struct data to this struct.
|
int |
sizeof() |
int |
sType()
Returns the value of the
sType field. |
VkPipelineViewportExclusiveScissorStateCreateInfoNV |
sType(int value)
Sets the specified value to the
sType 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 EXCLUSIVESCISSORCOUNT
public static final int PEXCLUSIVESCISSORS
public VkPipelineViewportExclusiveScissorStateCreateInfoNV(java.nio.ByteBuffer container)
VkPipelineViewportExclusiveScissorStateCreateInfoNV 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 exclusiveScissorCount()
exclusiveScissorCount field.@Nullable public VkRect2D.Buffer pExclusiveScissors()
VkRect2D.Buffer view of the struct array pointed to by the pExclusiveScissors field.public VkPipelineViewportExclusiveScissorStateCreateInfoNV sType(int value)
sType field.public VkPipelineViewportExclusiveScissorStateCreateInfoNV pNext(long value)
pNext field.public VkPipelineViewportExclusiveScissorStateCreateInfoNV exclusiveScissorCount(int value)
exclusiveScissorCount field.public VkPipelineViewportExclusiveScissorStateCreateInfoNV pExclusiveScissors(@Nullable VkRect2D.Buffer value)
VkRect2D.Buffer to the pExclusiveScissors field.public VkPipelineViewportExclusiveScissorStateCreateInfoNV set(int sType, long pNext, int exclusiveScissorCount, @Nullable VkRect2D.Buffer pExclusiveScissors)
public VkPipelineViewportExclusiveScissorStateCreateInfoNV set(VkPipelineViewportExclusiveScissorStateCreateInfoNV src)
src - the source structpublic static VkPipelineViewportExclusiveScissorStateCreateInfoNV malloc()
VkPipelineViewportExclusiveScissorStateCreateInfoNV instance allocated with memAlloc. The instance must be explicitly freed.public static VkPipelineViewportExclusiveScissorStateCreateInfoNV calloc()
VkPipelineViewportExclusiveScissorStateCreateInfoNV instance allocated with memCalloc. The instance must be explicitly freed.public static VkPipelineViewportExclusiveScissorStateCreateInfoNV create()
VkPipelineViewportExclusiveScissorStateCreateInfoNV instance allocated with BufferUtils.public static VkPipelineViewportExclusiveScissorStateCreateInfoNV create(long address)
VkPipelineViewportExclusiveScissorStateCreateInfoNV instance for the specified memory address.@Nullable public static VkPipelineViewportExclusiveScissorStateCreateInfoNV createSafe(long address)
public static VkPipelineViewportExclusiveScissorStateCreateInfoNV.Buffer malloc(int capacity)
VkPipelineViewportExclusiveScissorStateCreateInfoNV.Buffer instance allocated with memAlloc. The instance must be explicitly freed.capacity - the buffer capacitypublic static VkPipelineViewportExclusiveScissorStateCreateInfoNV.Buffer calloc(int capacity)
VkPipelineViewportExclusiveScissorStateCreateInfoNV.Buffer instance allocated with memCalloc. The instance must be explicitly freed.capacity - the buffer capacitypublic static VkPipelineViewportExclusiveScissorStateCreateInfoNV.Buffer create(int capacity)
VkPipelineViewportExclusiveScissorStateCreateInfoNV.Buffer instance allocated with BufferUtils.capacity - the buffer capacitypublic static VkPipelineViewportExclusiveScissorStateCreateInfoNV.Buffer create(long address, int capacity)
VkPipelineViewportExclusiveScissorStateCreateInfoNV.Buffer instance at the specified memory.address - the memory addresscapacity - the buffer capacity@Nullable public static VkPipelineViewportExclusiveScissorStateCreateInfoNV.Buffer createSafe(long address, int capacity)
public static VkPipelineViewportExclusiveScissorStateCreateInfoNV mallocStack()
VkPipelineViewportExclusiveScissorStateCreateInfoNV instance allocated on the thread-local MemoryStack.public static VkPipelineViewportExclusiveScissorStateCreateInfoNV callocStack()
VkPipelineViewportExclusiveScissorStateCreateInfoNV instance allocated on the thread-local MemoryStack and initializes all its bits to zero.public static VkPipelineViewportExclusiveScissorStateCreateInfoNV mallocStack(org.lwjgl.system.MemoryStack stack)
VkPipelineViewportExclusiveScissorStateCreateInfoNV instance allocated on the specified MemoryStack.stack - the stack from which to allocatepublic static VkPipelineViewportExclusiveScissorStateCreateInfoNV callocStack(org.lwjgl.system.MemoryStack stack)
VkPipelineViewportExclusiveScissorStateCreateInfoNV instance allocated on the specified MemoryStack and initializes all its bits to zero.stack - the stack from which to allocatepublic static VkPipelineViewportExclusiveScissorStateCreateInfoNV.Buffer mallocStack(int capacity)
VkPipelineViewportExclusiveScissorStateCreateInfoNV.Buffer instance allocated on the thread-local MemoryStack.capacity - the buffer capacitypublic static VkPipelineViewportExclusiveScissorStateCreateInfoNV.Buffer callocStack(int capacity)
VkPipelineViewportExclusiveScissorStateCreateInfoNV.Buffer instance allocated on the thread-local MemoryStack and initializes all its bits to zero.capacity - the buffer capacitypublic static VkPipelineViewportExclusiveScissorStateCreateInfoNV.Buffer mallocStack(int capacity, org.lwjgl.system.MemoryStack stack)
VkPipelineViewportExclusiveScissorStateCreateInfoNV.Buffer instance allocated on the specified MemoryStack.stack - the stack from which to allocatecapacity - the buffer capacitypublic static VkPipelineViewportExclusiveScissorStateCreateInfoNV.Buffer callocStack(int capacity, org.lwjgl.system.MemoryStack stack)
VkPipelineViewportExclusiveScissorStateCreateInfoNV.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 nexclusiveScissorCount(long struct)
exclusiveScissorCount().@Nullable public static VkRect2D.Buffer npExclusiveScissors(long struct)
pExclusiveScissors().public static void nsType(long struct,
int value)
sType.public static void npNext(long struct,
long value)
pNext.public static void nexclusiveScissorCount(long struct,
int value)
exclusiveScissorCount field of the specified struct.public static void npExclusiveScissors(long struct,
@Nullable
VkRect2D.Buffer value)
pExclusiveScissors.Copyright LWJGL. All Rights Reserved. License terms.