Top Description Inners Fields Constructors Methods
org.lwjgl.vulkan

public Class VkPhysicalDeviceLineRasterizationFeaturesEXT

extends Struct<VkPhysicalDeviceLineRasterizationFeaturesEXT>
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 the line rasterization features that can be supported by an implementation.
Description

If the VkPhysicalDeviceLineRasterizationFeaturesEXT structure is included in the pNext chain of the VkPhysicalDeviceFeatures2 structure passed to GetPhysicalDeviceFeatures2, it is filled in to indicate whether each corresponding feature is supported. VkPhysicalDeviceLineRasterizationFeaturesEXT can also be used in the pNext chain of VkDeviceCreateInfo to selectively enable these features.

Valid Usage (Implicit)

Layout


struct VkPhysicalDeviceLineRasterizationFeaturesEXT {
    VkStructureType sType;
    void * pNext;
    VkBool32 rectangularLines;
    VkBool32 bresenhamLines;
    VkBool32 smoothLines;
    VkBool32 stippledRectangularLines;
    VkBool32 stippledBresenhamLines;
    VkBool32 stippledSmoothLines;
}

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
BRESENHAMLINES

The struct member offsets.

public static final int
PNEXT

The struct member offsets.

public static final int
RECTANGULARLINES

The struct member offsets.

public static final int
SIZEOF

The struct size in bytes.

public static final int
SMOOTHLINES

The struct member offsets.

public static final int
STIPPLEDBRESENHAMLINES

The struct member offsets.

public static final int
STIPPLEDRECTANGULARLINES

The struct member offsets.

public static final int
STIPPLEDSMOOTHLINES

The struct member offsets.

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
VkPhysicalDeviceLineRasterizationFeaturesEXT(ByteBuffer container)

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

Method Summary

Modifier and TypeMethod and Description
public boolean
bresenhamLines()

indicates whether the implementation supports Bresenham-style line rasterization.

public VkPhysicalDeviceLineRasterizationFeaturesEXT
bresenhamLines(boolean value)

Sets the specified value to the bresenhamLines field.

public static VkPhysicalDeviceLineRasterizationFeaturesEXT
calloc()

Returns a new VkPhysicalDeviceLineRasterizationFeaturesEXT instance allocated with memCalloc.

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

Returns a new VkPhysicalDeviceLineRasterizationFeaturesEXT.Buffer instance allocated with memCalloc.

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

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

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

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

public static VkPhysicalDeviceLineRasterizationFeaturesEXT
callocStack()

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

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

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

Deprecated
Deprecated for removal in 3.4.0.
protected VkPhysicalDeviceLineRasterizationFeaturesEXT
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 VkPhysicalDeviceLineRasterizationFeaturesEXT
create()

Returns a new VkPhysicalDeviceLineRasterizationFeaturesEXT instance allocated with BufferUtils.

public static VkPhysicalDeviceLineRasterizationFeaturesEXT
create(long address)

Returns a new VkPhysicalDeviceLineRasterizationFeaturesEXT instance for the specified memory address.

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

Returns a new VkPhysicalDeviceLineRasterizationFeaturesEXT.Buffer instance allocated with BufferUtils.

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

Create a VkPhysicalDeviceLineRasterizationFeaturesEXT.Buffer instance at the specified memory.

public static VkPhysicalDeviceLineRasterizationFeaturesEXT
createSafe(long address)

Like create, but returns null if address is NULL.

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

Like create, but returns null if address is NULL.

public static VkPhysicalDeviceLineRasterizationFeaturesEXT
malloc()

Returns a new VkPhysicalDeviceLineRasterizationFeaturesEXT instance allocated with memAlloc.

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

Returns a new VkPhysicalDeviceLineRasterizationFeaturesEXT.Buffer instance allocated with memAlloc.

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

Returns a new VkPhysicalDeviceLineRasterizationFeaturesEXT instance allocated on the specified MemoryStack.

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

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

public static VkPhysicalDeviceLineRasterizationFeaturesEXT
mallocStack()

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

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

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

Deprecated
Deprecated for removal in 3.4.0.
public static int
nbresenhamLines(long struct)

Unsafe version of bresenhamLines.

public static void
nbresenhamLines(long struct, int value)

Unsafe version of bresenhamLines.

public static long
npNext(long struct)

Unsafe version of pNext.

public static void
npNext(long struct, long value)

Unsafe version of pNext.

public static int
nrectangularLines(long struct)

Unsafe version of rectangularLines.

public static void
nrectangularLines(long struct, int value)

Unsafe version of rectangularLines.

public static int
nsmoothLines(long struct)

Unsafe version of smoothLines.

public static void
nsmoothLines(long struct, int value)

Unsafe version of smoothLines.

public static int
nstippledBresenhamLines(long struct)

Unsafe version of stippledBresenhamLines.

public static void
nstippledBresenhamLines(long struct, int value)

Unsafe version of stippledBresenhamLines.

public static int
nstippledRectangularLines(long struct)

Unsafe version of stippledRectangularLines.

public static void
nstippledRectangularLines(long struct, int value)

Unsafe version of stippledRectangularLines.

public static int
nstippledSmoothLines(long struct)

Unsafe version of stippledSmoothLines.

public static void
nstippledSmoothLines(long struct, int value)

Unsafe version of stippledSmoothLines.

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 VkPhysicalDeviceLineRasterizationFeaturesEXT
pNext(long value)

Sets the specified value to the pNext field.

public boolean
rectangularLines()

indicates whether the implementation supports rectangular line rasterization.

public VkPhysicalDeviceLineRasterizationFeaturesEXT
rectangularLines(boolean value)

Sets the specified value to the rectangularLines field.

public VkPhysicalDeviceLineRasterizationFeaturesEXT
set(int sType, long pNext, boolean rectangularLines, boolean bresenhamLines, boolean smoothLines, boolean stippledRectangularLines, boolean stippledBresenhamLines, boolean stippledSmoothLines)

Initializes this struct with the specified values.

public VkPhysicalDeviceLineRasterizationFeaturesEXT

Returns:

this struct
set
(VkPhysicalDeviceLineRasterizationFeaturesEXT
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 boolean
smoothLines()

indicates whether the implementation supports smooth line rasterization.

public VkPhysicalDeviceLineRasterizationFeaturesEXT
smoothLines(boolean value)

Sets the specified value to the smoothLines field.

public boolean
stippledBresenhamLines()

indicates whether the implementation supports stippled line rasterization with LINE_RASTERIZATION_MODE_BRESENHAM_EXT lines.

public VkPhysicalDeviceLineRasterizationFeaturesEXT
stippledBresenhamLines(boolean value)

Sets the specified value to the stippledBresenhamLines field.

public boolean
stippledRectangularLines()

indicates whether the implementation supports stippled line rasterization with LINE_RASTERIZATION_MODE_RECTANGULAR_EXT lines.

public VkPhysicalDeviceLineRasterizationFeaturesEXT
stippledRectangularLines(boolean value)

Sets the specified value to the stippledRectangularLines field.

public boolean
stippledSmoothLines()

indicates whether the implementation supports stippled line rasterization with LINE_RASTERIZATION_MODE_RECTANGULAR_SMOOTH_EXT lines.

public VkPhysicalDeviceLineRasterizationFeaturesEXT
stippledSmoothLines(boolean value)

Sets the specified value to the stippledSmoothLines field.

public int
sType()

a VkStructureType value identifying this structure.

public VkPhysicalDeviceLineRasterizationFeaturesEXT
sType(int value)

Sets the specified value to the sType field.

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