Top Description Inners Fields Constructors Methods
org.lwjgl.vulkan

public Class VkPhysicalDeviceConservativeRasterizationPropertiesEXT

extends Struct<VkPhysicalDeviceConservativeRasterizationPropertiesEXT>
implements NativeResource
Class Inheritance
All Implemented Interfaces
org.lwjgl.system.NativeResource, java.lang.AutoCloseable
Imports
javax.annotation.*, java.nio.*, org.lwjgl.*, org.lwjgl.system.*

Structure describing conservative raster properties that can be supported by an implementation.
Description

If the VkPhysicalDeviceConservativeRasterizationPropertiesEXT structure is included in the pNext chain of the VkPhysicalDeviceProperties2 structure passed to GetPhysicalDeviceProperties2, it is filled in with each corresponding implementation-dependent property.

Valid Usage (Implicit)

Layout


struct VkPhysicalDeviceConservativeRasterizationPropertiesEXT {
    VkStructureType sType;
    void * pNext;
    float primitiveOverestimationSize;
    float maxExtraPrimitiveOverestimationSize;
    float extraPrimitiveOverestimationSizeGranularity;
    VkBool32 primitiveUnderestimation;
    VkBool32 conservativePointAndLineRasterization;
    VkBool32 degenerateTrianglesRasterized;
    VkBool32 degenerateLinesRasterized;
    VkBool32 fullyCoveredFragmentShaderInputVariable;
    VkBool32 conservativeRasterizationPostDepthCoverage;
}

Nested and Inner Type Summary

Modifier and TypeClass and Description
public static class

Field Summary

Modifier and TypeField and Description
public static final int
ALIGNOF

The struct alignment in bytes.

public static final int
CONSERVATIVEPOINTANDLINERASTERIZATION

The struct member offsets.

public static final int
public static final int
DEGENERATELINESRASTERIZED

The struct member offsets.

public static final int
DEGENERATETRIANGLESRASTERIZED

The struct member offsets.

public static final int
public static final int
FULLYCOVEREDFRAGMENTSHADERINPUTVARIABLE

The struct member offsets.

public static final int
MAXEXTRAPRIMITIVEOVERESTIMATIONSIZE

The struct member offsets.

public static final int
PNEXT

The struct member offsets.

public static final int
PRIMITIVEOVERESTIMATIONSIZE

The struct member offsets.

public static final int
PRIMITIVEUNDERESTIMATION

The struct member offsets.

public static final int
SIZEOF

The struct size in bytes.

public static final int
STYPE

The struct member offsets.

Inherited from org.lwjgl.system.Struct:
containerDEFAULT_ALIGN_ASDEFAULT_PACK_ALIGNMENT

Constructor Summary

AccessConstructor and Description
protected
public
VkPhysicalDeviceConservativeRasterizationPropertiesEXT(ByteBuffer container)

Creates a VkPhysicalDeviceConservativeRasterizationPropertiesEXT instance at the current position of the specified ByteBuffer container.

Method Summary

Modifier and TypeMethod and Description
public static VkPhysicalDeviceConservativeRasterizationPropertiesEXT
calloc()

Returns a new VkPhysicalDeviceConservativeRasterizationPropertiesEXT instance allocated with memCalloc.

public static VkPhysicalDeviceConservativeRasterizationPropertiesEXT.Buffer
calloc(int
the buffer capacity
capacity
)

Returns a new VkPhysicalDeviceConservativeRasterizationPropertiesEXT.Buffer instance allocated with memCalloc.

public static VkPhysicalDeviceConservativeRasterizationPropertiesEXT
calloc(MemoryStack
the stack from which to allocate
stack
)

Returns a new VkPhysicalDeviceConservativeRasterizationPropertiesEXT instance allocated on the specified MemoryStack and initializes all its bits to zero.

public static VkPhysicalDeviceConservativeRasterizationPropertiesEXT.Buffer
calloc(int
the buffer capacity
capacity
,
MemoryStack
the stack from which to allocate
stack
)

Returns a new VkPhysicalDeviceConservativeRasterizationPropertiesEXT.Buffer instance allocated on the specified MemoryStack and initializes all its bits to zero.

public static VkPhysicalDeviceConservativeRasterizationPropertiesEXT
callocStack()

Deprecated
Deprecated for removal in 3.4.0.
public static VkPhysicalDeviceConservativeRasterizationPropertiesEXT
callocStack(MemoryStack stack)

Deprecated
Deprecated for removal in 3.4.0.
public static VkPhysicalDeviceConservativeRasterizationPropertiesEXT.Buffer
callocStack(int capacity)

Deprecated
Deprecated for removal in 3.4.0.
public static VkPhysicalDeviceConservativeRasterizationPropertiesEXT.Buffer
callocStack(int capacity, MemoryStack stack)

Deprecated
Deprecated for removal in 3.4.0.
public boolean
conservativePointAndLineRasterization()

TRUE if the implementation supports conservative rasterization of point and line primitives as well as triangle primitives.

public boolean
conservativeRasterizationPostDepthCoverage()

TRUE if the implementation supports conservative rasterization with the PostDepthCoverage execution mode enabled.

protected VkPhysicalDeviceConservativeRasterizationPropertiesEXT
create(long
the struct memory address
address
,
ByteBuffer
an optional container buffer, to be referenced strongly by the struct instance.
container
)

Implements abstract org.lwjgl.system.Struct.create.

Similar to the constructor, but returns the exact type of the Struct subclass.
public static VkPhysicalDeviceConservativeRasterizationPropertiesEXT
create()

Returns a new VkPhysicalDeviceConservativeRasterizationPropertiesEXT instance allocated with BufferUtils.

public static VkPhysicalDeviceConservativeRasterizationPropertiesEXT
create(long address)

Returns a new VkPhysicalDeviceConservativeRasterizationPropertiesEXT instance for the specified memory address.

public static VkPhysicalDeviceConservativeRasterizationPropertiesEXT.Buffer
create(int
the buffer capacity
capacity
)

Returns a new VkPhysicalDeviceConservativeRasterizationPropertiesEXT.Buffer instance allocated with BufferUtils.

public static VkPhysicalDeviceConservativeRasterizationPropertiesEXT.Buffer
create(long
the memory address
address
,
int
the buffer capacity
capacity
)

Create a VkPhysicalDeviceConservativeRasterizationPropertiesEXT.Buffer instance at the specified memory.

public static VkPhysicalDeviceConservativeRasterizationPropertiesEXT
createSafe(long address)

Like create, but returns null if address is NULL.

public static VkPhysicalDeviceConservativeRasterizationPropertiesEXT.Buffer
createSafe(long address, int capacity)

Like create, but returns null if address is NULL.

public boolean
degenerateLinesRasterized()

FALSE if the implementation culls lines that become zero length after they are quantized to the fixed-point rasterization pixel grid.

public boolean
degenerateTrianglesRasterized()

FALSE if the implementation culls primitives generated from triangles that become zero area after they are quantized to the fixed-point rasterization pixel grid.

public float
extraPrimitiveOverestimationSizeGranularity()

the granularity of extra overestimation that can be specified in the pipeline state between 0.0 and maxExtraPrimitiveOverestimationSize inclusive.

public boolean
fullyCoveredFragmentShaderInputVariable()

TRUE if the implementation supports the SPIR-V builtin fragment shader input variable FullyCoveredEXT specifying that conservative rasterization is enabled and the fragment area is fully covered by the generating primitive.

public static VkPhysicalDeviceConservativeRasterizationPropertiesEXT
malloc()

Returns a new VkPhysicalDeviceConservativeRasterizationPropertiesEXT instance allocated with memAlloc.

public static VkPhysicalDeviceConservativeRasterizationPropertiesEXT.Buffer
malloc(int
the buffer capacity
capacity
)

Returns a new VkPhysicalDeviceConservativeRasterizationPropertiesEXT.Buffer instance allocated with memAlloc.

public static VkPhysicalDeviceConservativeRasterizationPropertiesEXT
malloc(MemoryStack
the stack from which to allocate
stack
)

Returns a new VkPhysicalDeviceConservativeRasterizationPropertiesEXT instance allocated on the specified MemoryStack.

public static VkPhysicalDeviceConservativeRasterizationPropertiesEXT.Buffer
malloc(int
the buffer capacity
capacity
,
MemoryStack
the stack from which to allocate
stack
)

Returns a new VkPhysicalDeviceConservativeRasterizationPropertiesEXT.Buffer instance allocated on the specified MemoryStack.

public static VkPhysicalDeviceConservativeRasterizationPropertiesEXT
mallocStack()

Deprecated
Deprecated for removal in 3.4.0.
public static VkPhysicalDeviceConservativeRasterizationPropertiesEXT
mallocStack(MemoryStack stack)

Deprecated
Deprecated for removal in 3.4.0.
public static VkPhysicalDeviceConservativeRasterizationPropertiesEXT.Buffer
mallocStack(int capacity)

Deprecated
Deprecated for removal in 3.4.0.
public static VkPhysicalDeviceConservativeRasterizationPropertiesEXT.Buffer
mallocStack(int capacity, MemoryStack stack)

Deprecated
Deprecated for removal in 3.4.0.
public float
maxExtraPrimitiveOverestimationSize()

the maximum size in pixels of extra overestimation the implementation supports in the pipeline state.

public static int
public static int
public static int
public static int
public static float
public static int
public static float
public static long
npNext(long struct)

Unsafe version of pNext.

public static void
npNext(long struct, long value)

Unsafe version of pNext.

public static float
public static int
nprimitiveUnderestimation(long struct)

Unsafe version of primitiveUnderestimation.

public static int
nsType(long struct)

Unsafe version of sType.

public static void
nsType(long struct, int value)

Unsafe version of sType.

public long
pNext()

NULL or a pointer to a structure extending this structure.

public VkPhysicalDeviceConservativeRasterizationPropertiesEXT
pNext(long value)

Sets the specified value to the pNext field.

public float
primitiveOverestimationSize()

the size in pixels the generating primitive is increased at each of its edges during conservative rasterization overestimation mode.

public boolean
primitiveUnderestimation()

TRUE if the implementation supports the CONSERVATIVE_RASTERIZATION_MODE_UNDERESTIMATE_EXT conservative rasterization mode in addition to CONSERVATIVE_RASTERIZATION_MODE_OVERESTIMATE_EXT.

public VkPhysicalDeviceConservativeRasterizationPropertiesEXT
set(int sType, long pNext)

Initializes this struct with the specified values.

public VkPhysicalDeviceConservativeRasterizationPropertiesEXT

Returns:

this struct
set
(VkPhysicalDeviceConservativeRasterizationPropertiesEXT
the source struct
src
)

Copies the specified struct data to this struct.

public int
sizeof()

Implements abstract org.lwjgl.system.Struct.sizeof.

Returns sizeof(struct).
public int
sType()

a VkStructureType value identifying this structure.

public VkPhysicalDeviceConservativeRasterizationPropertiesEXT
sType(int value)

Sets the specified value to the sType field.

public VkPhysicalDeviceConservativeRasterizationPropertiesEXT
Inherited from org.lwjgl.system.Struct:
__array__array__array__checkContainer__checkMalloc__create__getContainer__getContainer__member__member__member__padding__padding__struct__struct__union__unionclearfreeisNullvalidate