public class VkPipelineViewportWScalingStateCreateInfoNV
extends org.lwjgl.system.Struct
implements org.lwjgl.system.NativeResource
sType must be STRUCTURE_TYPE_PIPELINE_VIEWPORT_W_SCALING_STATE_CREATE_INFO_NVviewportCount must be greater than 0sType – the type of this structure.pNext – NULL or a pointer to an extension-specific structure.viewportWScalingEnable – controls whether viewport W scaling is enabled.viewportCount – the number of viewports used by W scaling, and must match the number of viewports in the pipeline if viewport W scaling is enabled.pViewportWScalings – a pointer to an array of VkViewportWScalingNV structures defining the W scaling parameters for the corresponding viewports. If the viewport W scaling state is dynamic, this member is ignored.
struct VkPipelineViewportWScalingStateCreateInfoNV {
VkStructureType sType;
void const * pNext;
VkBool32 viewportWScalingEnable;
uint32_t viewportCount;
VkViewportWScalingNV const * pViewportWScalings;
}| Modifier and Type | Class and Description |
|---|---|
static class |
VkPipelineViewportWScalingStateCreateInfoNV.Buffer
An array of
VkPipelineViewportWScalingStateCreateInfoNV structs. |
| Modifier and Type | Field and Description |
|---|---|
static int |
ALIGNOF
The struct alignment in bytes.
|
static int |
PNEXT
The struct member offsets.
|
static int |
PVIEWPORTWSCALINGS
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.
|
static int |
VIEWPORTWSCALINGENABLE
The struct member offsets.
|
| Constructor and Description |
|---|
VkPipelineViewportWScalingStateCreateInfoNV(java.nio.ByteBuffer container)
Creates a
VkPipelineViewportWScalingStateCreateInfoNV instance at the current position of the specified ByteBuffer container. |
| Modifier and Type | Method and Description |
|---|---|
static VkPipelineViewportWScalingStateCreateInfoNV |
calloc()
Returns a new
VkPipelineViewportWScalingStateCreateInfoNV instance allocated with memCalloc. |
static VkPipelineViewportWScalingStateCreateInfoNV.Buffer |
calloc(int capacity)
Returns a new
VkPipelineViewportWScalingStateCreateInfoNV.Buffer instance allocated with memCalloc. |
static VkPipelineViewportWScalingStateCreateInfoNV |
callocStack()
Returns a new
VkPipelineViewportWScalingStateCreateInfoNV instance allocated on the thread-local MemoryStack and initializes all its bits to zero. |
static VkPipelineViewportWScalingStateCreateInfoNV.Buffer |
callocStack(int capacity)
Returns a new
VkPipelineViewportWScalingStateCreateInfoNV.Buffer instance allocated on the thread-local MemoryStack and initializes all its bits to zero. |
static VkPipelineViewportWScalingStateCreateInfoNV.Buffer |
callocStack(int capacity,
org.lwjgl.system.MemoryStack stack)
Returns a new
VkPipelineViewportWScalingStateCreateInfoNV.Buffer instance allocated on the specified MemoryStack and initializes all its bits to zero. |
static VkPipelineViewportWScalingStateCreateInfoNV |
callocStack(org.lwjgl.system.MemoryStack stack)
Returns a new
VkPipelineViewportWScalingStateCreateInfoNV instance allocated on the specified MemoryStack and initializes all its bits to zero. |
static VkPipelineViewportWScalingStateCreateInfoNV |
create()
Returns a new
VkPipelineViewportWScalingStateCreateInfoNV instance allocated with BufferUtils. |
static VkPipelineViewportWScalingStateCreateInfoNV.Buffer |
create(int capacity)
Returns a new
VkPipelineViewportWScalingStateCreateInfoNV.Buffer instance allocated with BufferUtils. |
static VkPipelineViewportWScalingStateCreateInfoNV |
create(long address)
Returns a new
VkPipelineViewportWScalingStateCreateInfoNV instance for the specified memory address. |
static VkPipelineViewportWScalingStateCreateInfoNV.Buffer |
create(long address,
int capacity)
Create a
VkPipelineViewportWScalingStateCreateInfoNV.Buffer instance at the specified memory. |
static VkPipelineViewportWScalingStateCreateInfoNV |
createSafe(long address)
|
static VkPipelineViewportWScalingStateCreateInfoNV.Buffer |
createSafe(long address,
int capacity)
|
static VkPipelineViewportWScalingStateCreateInfoNV |
malloc()
Returns a new
VkPipelineViewportWScalingStateCreateInfoNV instance allocated with memAlloc. |
static VkPipelineViewportWScalingStateCreateInfoNV.Buffer |
malloc(int capacity)
Returns a new
VkPipelineViewportWScalingStateCreateInfoNV.Buffer instance allocated with memAlloc. |
static VkPipelineViewportWScalingStateCreateInfoNV |
mallocStack()
Returns a new
VkPipelineViewportWScalingStateCreateInfoNV instance allocated on the thread-local MemoryStack. |
static VkPipelineViewportWScalingStateCreateInfoNV.Buffer |
mallocStack(int capacity)
Returns a new
VkPipelineViewportWScalingStateCreateInfoNV.Buffer instance allocated on the thread-local MemoryStack. |
static VkPipelineViewportWScalingStateCreateInfoNV.Buffer |
mallocStack(int capacity,
org.lwjgl.system.MemoryStack stack)
Returns a new
VkPipelineViewportWScalingStateCreateInfoNV.Buffer instance allocated on the specified MemoryStack. |
static VkPipelineViewportWScalingStateCreateInfoNV |
mallocStack(org.lwjgl.system.MemoryStack stack)
Returns a new
VkPipelineViewportWScalingStateCreateInfoNV 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 VkViewportWScalingNV.Buffer |
npViewportWScalings(long struct)
Unsafe version of
pViewportWScalings(). |
static void |
npViewportWScalings(long struct,
VkViewportWScalingNV.Buffer value)
Unsafe version of
pViewportWScalings. |
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. |
static int |
nviewportWScalingEnable(long struct)
Unsafe version of
viewportWScalingEnable(). |
static void |
nviewportWScalingEnable(long struct,
int value)
Unsafe version of
viewportWScalingEnable. |
long |
pNext()
Returns the value of the
pNext field. |
VkPipelineViewportWScalingStateCreateInfoNV |
pNext(long value)
Sets the specified value to the
pNext field. |
VkViewportWScalingNV.Buffer |
pViewportWScalings()
Returns a
VkViewportWScalingNV.Buffer view of the struct array pointed to by the pViewportWScalings field. |
VkPipelineViewportWScalingStateCreateInfoNV |
pViewportWScalings(VkViewportWScalingNV.Buffer value)
Sets the address of the specified
VkViewportWScalingNV.Buffer to the pViewportWScalings field. |
VkPipelineViewportWScalingStateCreateInfoNV |
set(int sType,
long pNext,
boolean viewportWScalingEnable,
int viewportCount,
VkViewportWScalingNV.Buffer pViewportWScalings)
Initializes this struct with the specified values.
|
VkPipelineViewportWScalingStateCreateInfoNV |
set(VkPipelineViewportWScalingStateCreateInfoNV src)
Copies the specified struct data to this struct.
|
int |
sizeof() |
int |
sType()
Returns the value of the
sType field. |
VkPipelineViewportWScalingStateCreateInfoNV |
sType(int value)
Sets the specified value to the
sType field. |
int |
viewportCount()
Returns the value of the
viewportCount field. |
VkPipelineViewportWScalingStateCreateInfoNV |
viewportCount(int value)
Sets the specified value to the
viewportCount field. |
boolean |
viewportWScalingEnable()
Returns the value of the
viewportWScalingEnable field. |
VkPipelineViewportWScalingStateCreateInfoNV |
viewportWScalingEnable(boolean value)
Sets the specified value to the
viewportWScalingEnable 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 VIEWPORTWSCALINGENABLE
public static final int VIEWPORTCOUNT
public static final int PVIEWPORTWSCALINGS
public VkPipelineViewportWScalingStateCreateInfoNV(java.nio.ByteBuffer container)
VkPipelineViewportWScalingStateCreateInfoNV 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 boolean viewportWScalingEnable()
viewportWScalingEnable field.public int viewportCount()
viewportCount field.@Nullable public VkViewportWScalingNV.Buffer pViewportWScalings()
VkViewportWScalingNV.Buffer view of the struct array pointed to by the pViewportWScalings field.public VkPipelineViewportWScalingStateCreateInfoNV sType(int value)
sType field.public VkPipelineViewportWScalingStateCreateInfoNV pNext(long value)
pNext field.public VkPipelineViewportWScalingStateCreateInfoNV viewportWScalingEnable(boolean value)
viewportWScalingEnable field.public VkPipelineViewportWScalingStateCreateInfoNV viewportCount(int value)
viewportCount field.public VkPipelineViewportWScalingStateCreateInfoNV pViewportWScalings(@Nullable VkViewportWScalingNV.Buffer value)
VkViewportWScalingNV.Buffer to the pViewportWScalings field.public VkPipelineViewportWScalingStateCreateInfoNV set(int sType, long pNext, boolean viewportWScalingEnable, int viewportCount, @Nullable VkViewportWScalingNV.Buffer pViewportWScalings)
public VkPipelineViewportWScalingStateCreateInfoNV set(VkPipelineViewportWScalingStateCreateInfoNV src)
src - the source structpublic static VkPipelineViewportWScalingStateCreateInfoNV malloc()
VkPipelineViewportWScalingStateCreateInfoNV instance allocated with memAlloc. The instance must be explicitly freed.public static VkPipelineViewportWScalingStateCreateInfoNV calloc()
VkPipelineViewportWScalingStateCreateInfoNV instance allocated with memCalloc. The instance must be explicitly freed.public static VkPipelineViewportWScalingStateCreateInfoNV create()
VkPipelineViewportWScalingStateCreateInfoNV instance allocated with BufferUtils.public static VkPipelineViewportWScalingStateCreateInfoNV create(long address)
VkPipelineViewportWScalingStateCreateInfoNV instance for the specified memory address.@Nullable public static VkPipelineViewportWScalingStateCreateInfoNV createSafe(long address)
public static VkPipelineViewportWScalingStateCreateInfoNV.Buffer malloc(int capacity)
VkPipelineViewportWScalingStateCreateInfoNV.Buffer instance allocated with memAlloc. The instance must be explicitly freed.capacity - the buffer capacitypublic static VkPipelineViewportWScalingStateCreateInfoNV.Buffer calloc(int capacity)
VkPipelineViewportWScalingStateCreateInfoNV.Buffer instance allocated with memCalloc. The instance must be explicitly freed.capacity - the buffer capacitypublic static VkPipelineViewportWScalingStateCreateInfoNV.Buffer create(int capacity)
VkPipelineViewportWScalingStateCreateInfoNV.Buffer instance allocated with BufferUtils.capacity - the buffer capacitypublic static VkPipelineViewportWScalingStateCreateInfoNV.Buffer create(long address, int capacity)
VkPipelineViewportWScalingStateCreateInfoNV.Buffer instance at the specified memory.address - the memory addresscapacity - the buffer capacity@Nullable public static VkPipelineViewportWScalingStateCreateInfoNV.Buffer createSafe(long address, int capacity)
public static VkPipelineViewportWScalingStateCreateInfoNV mallocStack()
VkPipelineViewportWScalingStateCreateInfoNV instance allocated on the thread-local MemoryStack.public static VkPipelineViewportWScalingStateCreateInfoNV callocStack()
VkPipelineViewportWScalingStateCreateInfoNV instance allocated on the thread-local MemoryStack and initializes all its bits to zero.public static VkPipelineViewportWScalingStateCreateInfoNV mallocStack(org.lwjgl.system.MemoryStack stack)
VkPipelineViewportWScalingStateCreateInfoNV instance allocated on the specified MemoryStack.stack - the stack from which to allocatepublic static VkPipelineViewportWScalingStateCreateInfoNV callocStack(org.lwjgl.system.MemoryStack stack)
VkPipelineViewportWScalingStateCreateInfoNV instance allocated on the specified MemoryStack and initializes all its bits to zero.stack - the stack from which to allocatepublic static VkPipelineViewportWScalingStateCreateInfoNV.Buffer mallocStack(int capacity)
VkPipelineViewportWScalingStateCreateInfoNV.Buffer instance allocated on the thread-local MemoryStack.capacity - the buffer capacitypublic static VkPipelineViewportWScalingStateCreateInfoNV.Buffer callocStack(int capacity)
VkPipelineViewportWScalingStateCreateInfoNV.Buffer instance allocated on the thread-local MemoryStack and initializes all its bits to zero.capacity - the buffer capacitypublic static VkPipelineViewportWScalingStateCreateInfoNV.Buffer mallocStack(int capacity, org.lwjgl.system.MemoryStack stack)
VkPipelineViewportWScalingStateCreateInfoNV.Buffer instance allocated on the specified MemoryStack.stack - the stack from which to allocatecapacity - the buffer capacitypublic static VkPipelineViewportWScalingStateCreateInfoNV.Buffer callocStack(int capacity, org.lwjgl.system.MemoryStack stack)
VkPipelineViewportWScalingStateCreateInfoNV.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 nviewportWScalingEnable(long struct)
viewportWScalingEnable().public static int nviewportCount(long struct)
viewportCount().@Nullable public static VkViewportWScalingNV.Buffer npViewportWScalings(long struct)
pViewportWScalings().public static void nsType(long struct,
int value)
sType.public static void npNext(long struct,
long value)
pNext.public static void nviewportWScalingEnable(long struct,
int value)
viewportWScalingEnable.public static void nviewportCount(long struct,
int value)
viewportCount field of the specified struct.public static void npViewportWScalings(long struct,
@Nullable
VkViewportWScalingNV.Buffer value)
pViewportWScalings.Copyright LWJGL. All Rights Reserved. License terms.