public class VkPipelineRasterizationConservativeStateCreateInfoEXT
extends org.lwjgl.system.Struct
implements org.lwjgl.system.NativeResource
extraPrimitiveOverestimationSize must be in the range of 0.0 to VkPhysicalDeviceConservativeRasterizationPropertiesEXT::maxExtraPrimitiveOverestimationSize inclusivesType must be STRUCTURE_TYPE_PIPELINE_RASTERIZATION_CONSERVATIVE_STATE_CREATE_INFO_EXTflags must be 0conservativeRasterizationMode must be a valid VkConservativeRasterizationModeEXT valuesType – the type of this structure.pNext – NULL or a pointer to an extension-specific structure.flags – reserved for future use.conservativeRasterizationMode – the conservative rasterization mode to use.extraPrimitiveOverestimationSize – the extra size in pixels to increase the generating primitive during conservative rasterization at each of its edges in X and Y equally in screen space beyond the base overestimation specified in VkPhysicalDeviceConservativeRasterizationPropertiesEXT::primitiveOverestimationSize.
struct VkPipelineRasterizationConservativeStateCreateInfoEXT {
VkStructureType sType;
void const * pNext;
VkPipelineRasterizationConservativeStateCreateFlagsEXT flags;
VkConservativeRasterizationModeEXT conservativeRasterizationMode;
float extraPrimitiveOverestimationSize;
}| Modifier and Type | Class and Description |
|---|---|
static class |
VkPipelineRasterizationConservativeStateCreateInfoEXT.Buffer
An array of
VkPipelineRasterizationConservativeStateCreateInfoEXT structs. |
| Modifier and Type | Field and Description |
|---|---|
static int |
ALIGNOF
The struct alignment in bytes.
|
static int |
CONSERVATIVERASTERIZATIONMODE
The struct member offsets.
|
static int |
EXTRAPRIMITIVEOVERESTIMATIONSIZE
The struct member offsets.
|
static int |
FLAGS
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 |
|---|
VkPipelineRasterizationConservativeStateCreateInfoEXT(java.nio.ByteBuffer container)
Creates a
VkPipelineRasterizationConservativeStateCreateInfoEXT instance at the current position of the specified ByteBuffer container. |
| Modifier and Type | Method and Description |
|---|---|
static VkPipelineRasterizationConservativeStateCreateInfoEXT |
calloc()
Returns a new
VkPipelineRasterizationConservativeStateCreateInfoEXT instance allocated with memCalloc. |
static VkPipelineRasterizationConservativeStateCreateInfoEXT.Buffer |
calloc(int capacity)
Returns a new
VkPipelineRasterizationConservativeStateCreateInfoEXT.Buffer instance allocated with memCalloc. |
static VkPipelineRasterizationConservativeStateCreateInfoEXT |
callocStack()
Returns a new
VkPipelineRasterizationConservativeStateCreateInfoEXT instance allocated on the thread-local MemoryStack and initializes all its bits to zero. |
static VkPipelineRasterizationConservativeStateCreateInfoEXT.Buffer |
callocStack(int capacity)
Returns a new
VkPipelineRasterizationConservativeStateCreateInfoEXT.Buffer instance allocated on the thread-local MemoryStack and initializes all its bits to zero. |
static VkPipelineRasterizationConservativeStateCreateInfoEXT.Buffer |
callocStack(int capacity,
org.lwjgl.system.MemoryStack stack)
Returns a new
VkPipelineRasterizationConservativeStateCreateInfoEXT.Buffer instance allocated on the specified MemoryStack and initializes all its bits to zero. |
static VkPipelineRasterizationConservativeStateCreateInfoEXT |
callocStack(org.lwjgl.system.MemoryStack stack)
Returns a new
VkPipelineRasterizationConservativeStateCreateInfoEXT instance allocated on the specified MemoryStack and initializes all its bits to zero. |
int |
conservativeRasterizationMode()
Returns the value of the
conservativeRasterizationMode field. |
VkPipelineRasterizationConservativeStateCreateInfoEXT |
conservativeRasterizationMode(int value)
Sets the specified value to the
conservativeRasterizationMode field. |
static VkPipelineRasterizationConservativeStateCreateInfoEXT |
create()
Returns a new
VkPipelineRasterizationConservativeStateCreateInfoEXT instance allocated with BufferUtils. |
static VkPipelineRasterizationConservativeStateCreateInfoEXT.Buffer |
create(int capacity)
Returns a new
VkPipelineRasterizationConservativeStateCreateInfoEXT.Buffer instance allocated with BufferUtils. |
static VkPipelineRasterizationConservativeStateCreateInfoEXT |
create(long address)
Returns a new
VkPipelineRasterizationConservativeStateCreateInfoEXT instance for the specified memory address. |
static VkPipelineRasterizationConservativeStateCreateInfoEXT.Buffer |
create(long address,
int capacity)
Create a
VkPipelineRasterizationConservativeStateCreateInfoEXT.Buffer instance at the specified memory. |
static VkPipelineRasterizationConservativeStateCreateInfoEXT |
createSafe(long address)
|
static VkPipelineRasterizationConservativeStateCreateInfoEXT.Buffer |
createSafe(long address,
int capacity)
|
float |
extraPrimitiveOverestimationSize()
Returns the value of the
extraPrimitiveOverestimationSize field. |
VkPipelineRasterizationConservativeStateCreateInfoEXT |
extraPrimitiveOverestimationSize(float value)
Sets the specified value to the
extraPrimitiveOverestimationSize field. |
int |
flags()
Returns the value of the
flags field. |
VkPipelineRasterizationConservativeStateCreateInfoEXT |
flags(int value)
Sets the specified value to the
flags field. |
static VkPipelineRasterizationConservativeStateCreateInfoEXT |
malloc()
Returns a new
VkPipelineRasterizationConservativeStateCreateInfoEXT instance allocated with memAlloc. |
static VkPipelineRasterizationConservativeStateCreateInfoEXT.Buffer |
malloc(int capacity)
Returns a new
VkPipelineRasterizationConservativeStateCreateInfoEXT.Buffer instance allocated with memAlloc. |
static VkPipelineRasterizationConservativeStateCreateInfoEXT |
mallocStack()
Returns a new
VkPipelineRasterizationConservativeStateCreateInfoEXT instance allocated on the thread-local MemoryStack. |
static VkPipelineRasterizationConservativeStateCreateInfoEXT.Buffer |
mallocStack(int capacity)
Returns a new
VkPipelineRasterizationConservativeStateCreateInfoEXT.Buffer instance allocated on the thread-local MemoryStack. |
static VkPipelineRasterizationConservativeStateCreateInfoEXT.Buffer |
mallocStack(int capacity,
org.lwjgl.system.MemoryStack stack)
Returns a new
VkPipelineRasterizationConservativeStateCreateInfoEXT.Buffer instance allocated on the specified MemoryStack. |
static VkPipelineRasterizationConservativeStateCreateInfoEXT |
mallocStack(org.lwjgl.system.MemoryStack stack)
Returns a new
VkPipelineRasterizationConservativeStateCreateInfoEXT instance allocated on the specified MemoryStack. |
static int |
nconservativeRasterizationMode(long struct)
Unsafe version of
conservativeRasterizationMode(). |
static void |
nconservativeRasterizationMode(long struct,
int value)
Unsafe version of
conservativeRasterizationMode. |
static float |
nextraPrimitiveOverestimationSize(long struct)
Unsafe version of
extraPrimitiveOverestimationSize(). |
static void |
nextraPrimitiveOverestimationSize(long struct,
float value)
Unsafe version of
extraPrimitiveOverestimationSize. |
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 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. |
VkPipelineRasterizationConservativeStateCreateInfoEXT |
pNext(long value)
Sets the specified value to the
pNext field. |
VkPipelineRasterizationConservativeStateCreateInfoEXT |
set(int sType,
long pNext,
int flags,
int conservativeRasterizationMode,
float extraPrimitiveOverestimationSize)
Initializes this struct with the specified values.
|
VkPipelineRasterizationConservativeStateCreateInfoEXT |
set(VkPipelineRasterizationConservativeStateCreateInfoEXT src)
Copies the specified struct data to this struct.
|
int |
sizeof() |
int |
sType()
Returns the value of the
sType field. |
VkPipelineRasterizationConservativeStateCreateInfoEXT |
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 FLAGS
public static final int CONSERVATIVERASTERIZATIONMODE
public static final int EXTRAPRIMITIVEOVERESTIMATIONSIZE
public VkPipelineRasterizationConservativeStateCreateInfoEXT(java.nio.ByteBuffer container)
VkPipelineRasterizationConservativeStateCreateInfoEXT 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 conservativeRasterizationMode()
conservativeRasterizationMode field.public float extraPrimitiveOverestimationSize()
extraPrimitiveOverestimationSize field.public VkPipelineRasterizationConservativeStateCreateInfoEXT sType(int value)
sType field.public VkPipelineRasterizationConservativeStateCreateInfoEXT pNext(long value)
pNext field.public VkPipelineRasterizationConservativeStateCreateInfoEXT flags(int value)
flags field.public VkPipelineRasterizationConservativeStateCreateInfoEXT conservativeRasterizationMode(int value)
conservativeRasterizationMode field.public VkPipelineRasterizationConservativeStateCreateInfoEXT extraPrimitiveOverestimationSize(float value)
extraPrimitiveOverestimationSize field.public VkPipelineRasterizationConservativeStateCreateInfoEXT set(int sType, long pNext, int flags, int conservativeRasterizationMode, float extraPrimitiveOverestimationSize)
public VkPipelineRasterizationConservativeStateCreateInfoEXT set(VkPipelineRasterizationConservativeStateCreateInfoEXT src)
src - the source structpublic static VkPipelineRasterizationConservativeStateCreateInfoEXT malloc()
VkPipelineRasterizationConservativeStateCreateInfoEXT instance allocated with memAlloc. The instance must be explicitly freed.public static VkPipelineRasterizationConservativeStateCreateInfoEXT calloc()
VkPipelineRasterizationConservativeStateCreateInfoEXT instance allocated with memCalloc. The instance must be explicitly freed.public static VkPipelineRasterizationConservativeStateCreateInfoEXT create()
VkPipelineRasterizationConservativeStateCreateInfoEXT instance allocated with BufferUtils.public static VkPipelineRasterizationConservativeStateCreateInfoEXT create(long address)
VkPipelineRasterizationConservativeStateCreateInfoEXT instance for the specified memory address.@Nullable public static VkPipelineRasterizationConservativeStateCreateInfoEXT createSafe(long address)
public static VkPipelineRasterizationConservativeStateCreateInfoEXT.Buffer malloc(int capacity)
VkPipelineRasterizationConservativeStateCreateInfoEXT.Buffer instance allocated with memAlloc. The instance must be explicitly freed.capacity - the buffer capacitypublic static VkPipelineRasterizationConservativeStateCreateInfoEXT.Buffer calloc(int capacity)
VkPipelineRasterizationConservativeStateCreateInfoEXT.Buffer instance allocated with memCalloc. The instance must be explicitly freed.capacity - the buffer capacitypublic static VkPipelineRasterizationConservativeStateCreateInfoEXT.Buffer create(int capacity)
VkPipelineRasterizationConservativeStateCreateInfoEXT.Buffer instance allocated with BufferUtils.capacity - the buffer capacitypublic static VkPipelineRasterizationConservativeStateCreateInfoEXT.Buffer create(long address, int capacity)
VkPipelineRasterizationConservativeStateCreateInfoEXT.Buffer instance at the specified memory.address - the memory addresscapacity - the buffer capacity@Nullable public static VkPipelineRasterizationConservativeStateCreateInfoEXT.Buffer createSafe(long address, int capacity)
public static VkPipelineRasterizationConservativeStateCreateInfoEXT mallocStack()
VkPipelineRasterizationConservativeStateCreateInfoEXT instance allocated on the thread-local MemoryStack.public static VkPipelineRasterizationConservativeStateCreateInfoEXT callocStack()
VkPipelineRasterizationConservativeStateCreateInfoEXT instance allocated on the thread-local MemoryStack and initializes all its bits to zero.public static VkPipelineRasterizationConservativeStateCreateInfoEXT mallocStack(org.lwjgl.system.MemoryStack stack)
VkPipelineRasterizationConservativeStateCreateInfoEXT instance allocated on the specified MemoryStack.stack - the stack from which to allocatepublic static VkPipelineRasterizationConservativeStateCreateInfoEXT callocStack(org.lwjgl.system.MemoryStack stack)
VkPipelineRasterizationConservativeStateCreateInfoEXT instance allocated on the specified MemoryStack and initializes all its bits to zero.stack - the stack from which to allocatepublic static VkPipelineRasterizationConservativeStateCreateInfoEXT.Buffer mallocStack(int capacity)
VkPipelineRasterizationConservativeStateCreateInfoEXT.Buffer instance allocated on the thread-local MemoryStack.capacity - the buffer capacitypublic static VkPipelineRasterizationConservativeStateCreateInfoEXT.Buffer callocStack(int capacity)
VkPipelineRasterizationConservativeStateCreateInfoEXT.Buffer instance allocated on the thread-local MemoryStack and initializes all its bits to zero.capacity - the buffer capacitypublic static VkPipelineRasterizationConservativeStateCreateInfoEXT.Buffer mallocStack(int capacity, org.lwjgl.system.MemoryStack stack)
VkPipelineRasterizationConservativeStateCreateInfoEXT.Buffer instance allocated on the specified MemoryStack.stack - the stack from which to allocatecapacity - the buffer capacitypublic static VkPipelineRasterizationConservativeStateCreateInfoEXT.Buffer callocStack(int capacity, org.lwjgl.system.MemoryStack stack)
VkPipelineRasterizationConservativeStateCreateInfoEXT.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 nconservativeRasterizationMode(long struct)
conservativeRasterizationMode().public static float nextraPrimitiveOverestimationSize(long struct)
extraPrimitiveOverestimationSize().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 nconservativeRasterizationMode(long struct,
int value)
conservativeRasterizationMode.public static void nextraPrimitiveOverestimationSize(long struct,
float value)
extraPrimitiveOverestimationSize.Copyright LWJGL. All Rights Reserved. License terms.