public class VkPipelineRepresentativeFragmentTestStateCreateInfoNV
extends org.lwjgl.system.Struct
implements org.lwjgl.system.NativeResource
If this structure is not present, representativeFragmentTestEnable is considered to be FALSE, and the representative fragment test is disabled.
If early fragment tests are not enabled in the active fragment shader, the representative fragment shader test has no effect, even if enabled.
sType – the type of this structure.pNext – NULL or a pointer to an extension-specific structure.representativeFragmentTestEnable – controls whether the representative fragment test is enabled.
struct VkPipelineRepresentativeFragmentTestStateCreateInfoNV {
VkStructureType sType;
void const * pNext;
VkBool32 representativeFragmentTestEnable;
}| Modifier and Type | Class and Description |
|---|---|
static class |
VkPipelineRepresentativeFragmentTestStateCreateInfoNV.Buffer
An array of
VkPipelineRepresentativeFragmentTestStateCreateInfoNV structs. |
| Modifier and Type | Field and Description |
|---|---|
static int |
ALIGNOF
The struct alignment in bytes.
|
static int |
PNEXT
The struct member offsets.
|
static int |
REPRESENTATIVEFRAGMENTTESTENABLE
The struct member offsets.
|
static int |
SIZEOF
The struct size in bytes.
|
static int |
STYPE
The struct member offsets.
|
| Constructor and Description |
|---|
VkPipelineRepresentativeFragmentTestStateCreateInfoNV(java.nio.ByteBuffer container)
Creates a
VkPipelineRepresentativeFragmentTestStateCreateInfoNV instance at the current position of the specified ByteBuffer container. |
| Modifier and Type | Method and Description |
|---|---|
static VkPipelineRepresentativeFragmentTestStateCreateInfoNV |
calloc()
Returns a new
VkPipelineRepresentativeFragmentTestStateCreateInfoNV instance allocated with memCalloc. |
static VkPipelineRepresentativeFragmentTestStateCreateInfoNV.Buffer |
calloc(int capacity)
Returns a new
VkPipelineRepresentativeFragmentTestStateCreateInfoNV.Buffer instance allocated with memCalloc. |
static VkPipelineRepresentativeFragmentTestStateCreateInfoNV |
callocStack()
Returns a new
VkPipelineRepresentativeFragmentTestStateCreateInfoNV instance allocated on the thread-local MemoryStack and initializes all its bits to zero. |
static VkPipelineRepresentativeFragmentTestStateCreateInfoNV.Buffer |
callocStack(int capacity)
Returns a new
VkPipelineRepresentativeFragmentTestStateCreateInfoNV.Buffer instance allocated on the thread-local MemoryStack and initializes all its bits to zero. |
static VkPipelineRepresentativeFragmentTestStateCreateInfoNV.Buffer |
callocStack(int capacity,
org.lwjgl.system.MemoryStack stack)
Returns a new
VkPipelineRepresentativeFragmentTestStateCreateInfoNV.Buffer instance allocated on the specified MemoryStack and initializes all its bits to zero. |
static VkPipelineRepresentativeFragmentTestStateCreateInfoNV |
callocStack(org.lwjgl.system.MemoryStack stack)
Returns a new
VkPipelineRepresentativeFragmentTestStateCreateInfoNV instance allocated on the specified MemoryStack and initializes all its bits to zero. |
static VkPipelineRepresentativeFragmentTestStateCreateInfoNV |
create()
Returns a new
VkPipelineRepresentativeFragmentTestStateCreateInfoNV instance allocated with BufferUtils. |
static VkPipelineRepresentativeFragmentTestStateCreateInfoNV.Buffer |
create(int capacity)
Returns a new
VkPipelineRepresentativeFragmentTestStateCreateInfoNV.Buffer instance allocated with BufferUtils. |
static VkPipelineRepresentativeFragmentTestStateCreateInfoNV |
create(long address)
Returns a new
VkPipelineRepresentativeFragmentTestStateCreateInfoNV instance for the specified memory address. |
static VkPipelineRepresentativeFragmentTestStateCreateInfoNV.Buffer |
create(long address,
int capacity)
Create a
VkPipelineRepresentativeFragmentTestStateCreateInfoNV.Buffer instance at the specified memory. |
static VkPipelineRepresentativeFragmentTestStateCreateInfoNV |
createSafe(long address)
|
static VkPipelineRepresentativeFragmentTestStateCreateInfoNV.Buffer |
createSafe(long address,
int capacity)
|
static VkPipelineRepresentativeFragmentTestStateCreateInfoNV |
malloc()
Returns a new
VkPipelineRepresentativeFragmentTestStateCreateInfoNV instance allocated with memAlloc. |
static VkPipelineRepresentativeFragmentTestStateCreateInfoNV.Buffer |
malloc(int capacity)
Returns a new
VkPipelineRepresentativeFragmentTestStateCreateInfoNV.Buffer instance allocated with memAlloc. |
static VkPipelineRepresentativeFragmentTestStateCreateInfoNV |
mallocStack()
Returns a new
VkPipelineRepresentativeFragmentTestStateCreateInfoNV instance allocated on the thread-local MemoryStack. |
static VkPipelineRepresentativeFragmentTestStateCreateInfoNV.Buffer |
mallocStack(int capacity)
Returns a new
VkPipelineRepresentativeFragmentTestStateCreateInfoNV.Buffer instance allocated on the thread-local MemoryStack. |
static VkPipelineRepresentativeFragmentTestStateCreateInfoNV.Buffer |
mallocStack(int capacity,
org.lwjgl.system.MemoryStack stack)
Returns a new
VkPipelineRepresentativeFragmentTestStateCreateInfoNV.Buffer instance allocated on the specified MemoryStack. |
static VkPipelineRepresentativeFragmentTestStateCreateInfoNV |
mallocStack(org.lwjgl.system.MemoryStack stack)
Returns a new
VkPipelineRepresentativeFragmentTestStateCreateInfoNV 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 |
nrepresentativeFragmentTestEnable(long struct)
Unsafe version of
representativeFragmentTestEnable(). |
static void |
nrepresentativeFragmentTestEnable(long struct,
int value)
Unsafe version of
representativeFragmentTestEnable. |
static int |
nsType(long struct)
Unsafe version of
sType(). |
static void |
nsType(long struct,
int value)
Unsafe version of
sType. |
long |
pNext()
Returns the value of the
pNext field. |
VkPipelineRepresentativeFragmentTestStateCreateInfoNV |
pNext(long value)
Sets the specified value to the
pNext field. |
boolean |
representativeFragmentTestEnable()
Returns the value of the
representativeFragmentTestEnable field. |
VkPipelineRepresentativeFragmentTestStateCreateInfoNV |
representativeFragmentTestEnable(boolean value)
Sets the specified value to the
representativeFragmentTestEnable field. |
VkPipelineRepresentativeFragmentTestStateCreateInfoNV |
set(int sType,
long pNext,
boolean representativeFragmentTestEnable)
Initializes this struct with the specified values.
|
VkPipelineRepresentativeFragmentTestStateCreateInfoNV |
set(VkPipelineRepresentativeFragmentTestStateCreateInfoNV src)
Copies the specified struct data to this struct.
|
int |
sizeof() |
int |
sType()
Returns the value of the
sType field. |
VkPipelineRepresentativeFragmentTestStateCreateInfoNV |
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 REPRESENTATIVEFRAGMENTTESTENABLE
public VkPipelineRepresentativeFragmentTestStateCreateInfoNV(java.nio.ByteBuffer container)
VkPipelineRepresentativeFragmentTestStateCreateInfoNV 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 representativeFragmentTestEnable()
representativeFragmentTestEnable field.public VkPipelineRepresentativeFragmentTestStateCreateInfoNV sType(int value)
sType field.public VkPipelineRepresentativeFragmentTestStateCreateInfoNV pNext(long value)
pNext field.public VkPipelineRepresentativeFragmentTestStateCreateInfoNV representativeFragmentTestEnable(boolean value)
representativeFragmentTestEnable field.public VkPipelineRepresentativeFragmentTestStateCreateInfoNV set(int sType, long pNext, boolean representativeFragmentTestEnable)
public VkPipelineRepresentativeFragmentTestStateCreateInfoNV set(VkPipelineRepresentativeFragmentTestStateCreateInfoNV src)
src - the source structpublic static VkPipelineRepresentativeFragmentTestStateCreateInfoNV malloc()
VkPipelineRepresentativeFragmentTestStateCreateInfoNV instance allocated with memAlloc. The instance must be explicitly freed.public static VkPipelineRepresentativeFragmentTestStateCreateInfoNV calloc()
VkPipelineRepresentativeFragmentTestStateCreateInfoNV instance allocated with memCalloc. The instance must be explicitly freed.public static VkPipelineRepresentativeFragmentTestStateCreateInfoNV create()
VkPipelineRepresentativeFragmentTestStateCreateInfoNV instance allocated with BufferUtils.public static VkPipelineRepresentativeFragmentTestStateCreateInfoNV create(long address)
VkPipelineRepresentativeFragmentTestStateCreateInfoNV instance for the specified memory address.@Nullable public static VkPipelineRepresentativeFragmentTestStateCreateInfoNV createSafe(long address)
public static VkPipelineRepresentativeFragmentTestStateCreateInfoNV.Buffer malloc(int capacity)
VkPipelineRepresentativeFragmentTestStateCreateInfoNV.Buffer instance allocated with memAlloc. The instance must be explicitly freed.capacity - the buffer capacitypublic static VkPipelineRepresentativeFragmentTestStateCreateInfoNV.Buffer calloc(int capacity)
VkPipelineRepresentativeFragmentTestStateCreateInfoNV.Buffer instance allocated with memCalloc. The instance must be explicitly freed.capacity - the buffer capacitypublic static VkPipelineRepresentativeFragmentTestStateCreateInfoNV.Buffer create(int capacity)
VkPipelineRepresentativeFragmentTestStateCreateInfoNV.Buffer instance allocated with BufferUtils.capacity - the buffer capacitypublic static VkPipelineRepresentativeFragmentTestStateCreateInfoNV.Buffer create(long address, int capacity)
VkPipelineRepresentativeFragmentTestStateCreateInfoNV.Buffer instance at the specified memory.address - the memory addresscapacity - the buffer capacity@Nullable public static VkPipelineRepresentativeFragmentTestStateCreateInfoNV.Buffer createSafe(long address, int capacity)
public static VkPipelineRepresentativeFragmentTestStateCreateInfoNV mallocStack()
VkPipelineRepresentativeFragmentTestStateCreateInfoNV instance allocated on the thread-local MemoryStack.public static VkPipelineRepresentativeFragmentTestStateCreateInfoNV callocStack()
VkPipelineRepresentativeFragmentTestStateCreateInfoNV instance allocated on the thread-local MemoryStack and initializes all its bits to zero.public static VkPipelineRepresentativeFragmentTestStateCreateInfoNV mallocStack(org.lwjgl.system.MemoryStack stack)
VkPipelineRepresentativeFragmentTestStateCreateInfoNV instance allocated on the specified MemoryStack.stack - the stack from which to allocatepublic static VkPipelineRepresentativeFragmentTestStateCreateInfoNV callocStack(org.lwjgl.system.MemoryStack stack)
VkPipelineRepresentativeFragmentTestStateCreateInfoNV instance allocated on the specified MemoryStack and initializes all its bits to zero.stack - the stack from which to allocatepublic static VkPipelineRepresentativeFragmentTestStateCreateInfoNV.Buffer mallocStack(int capacity)
VkPipelineRepresentativeFragmentTestStateCreateInfoNV.Buffer instance allocated on the thread-local MemoryStack.capacity - the buffer capacitypublic static VkPipelineRepresentativeFragmentTestStateCreateInfoNV.Buffer callocStack(int capacity)
VkPipelineRepresentativeFragmentTestStateCreateInfoNV.Buffer instance allocated on the thread-local MemoryStack and initializes all its bits to zero.capacity - the buffer capacitypublic static VkPipelineRepresentativeFragmentTestStateCreateInfoNV.Buffer mallocStack(int capacity, org.lwjgl.system.MemoryStack stack)
VkPipelineRepresentativeFragmentTestStateCreateInfoNV.Buffer instance allocated on the specified MemoryStack.stack - the stack from which to allocatecapacity - the buffer capacitypublic static VkPipelineRepresentativeFragmentTestStateCreateInfoNV.Buffer callocStack(int capacity, org.lwjgl.system.MemoryStack stack)
VkPipelineRepresentativeFragmentTestStateCreateInfoNV.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 nrepresentativeFragmentTestEnable(long struct)
representativeFragmentTestEnable().public static void nsType(long struct,
int value)
sType.public static void npNext(long struct,
long value)
pNext.public static void nrepresentativeFragmentTestEnable(long struct,
int value)
representativeFragmentTestEnable.Copyright LWJGL. All Rights Reserved. License terms.