public class VkPhysicalDeviceLineRasterizationFeaturesEXT
extends org.lwjgl.system.Struct
implements org.lwjgl.system.NativeResource
If the VkPhysicalDeviceLineRasterizationFeaturesEXT structure is included in the pNext chain of VkPhysicalDeviceFeatures2, it is filled with values indicating whether the feature is supported. VkPhysicalDeviceLineRasterizationFeaturesEXT can also be included in the pNext chain of VkDeviceCreateInfo to enable the feature.
rectangularLines – indicates whether the implementation supports rectangular line rasterization.bresenhamLines – indicates whether the implementation supports Bresenham-style line rasterization.smoothLines – indicates whether the implementation supports smooth line rasterization.stippledRectangularLines – indicates whether the implementation supports stippled line rasterization with LINE_RASTERIZATION_MODE_RECTANGULAR_EXT lines, or with LINE_RASTERIZATION_MODE_DEFAULT_EXT lines if VkPhysicalDeviceLimits::strictLines is TRUE.stippledBresenhamLines – indicates whether the implementation supports stippled line rasterization with LINE_RASTERIZATION_MODE_BRESENHAM_EXT lines.stippledSmoothLines – indicates whether the implementation supports stippled line rasterization with LINE_RASTERIZATION_MODE_RECTANGULAR_SMOOTH_EXT lines.
struct VkPhysicalDeviceLineRasterizationFeaturesEXT {
VkStructureType sType;
void * pNext;
VkBool32 rectangularLines;
VkBool32 bresenhamLines;
VkBool32 smoothLines;
VkBool32 stippledRectangularLines;
VkBool32 stippledBresenhamLines;
VkBool32 stippledSmoothLines;
}| Modifier and Type | Class and Description |
|---|---|
static class |
VkPhysicalDeviceLineRasterizationFeaturesEXT.Buffer
An array of
VkPhysicalDeviceLineRasterizationFeaturesEXT structs. |
| Modifier and Type | Field and Description |
|---|---|
static int |
ALIGNOF
The struct alignment in bytes.
|
static int |
BRESENHAMLINES
The struct member offsets.
|
static int |
PNEXT
The struct member offsets.
|
static int |
RECTANGULARLINES
The struct member offsets.
|
static int |
SIZEOF
The struct size in bytes.
|
static int |
SMOOTHLINES
The struct member offsets.
|
static int |
STIPPLEDBRESENHAMLINES
The struct member offsets.
|
static int |
STIPPLEDRECTANGULARLINES
The struct member offsets.
|
static int |
STIPPLEDSMOOTHLINES
The struct member offsets.
|
static int |
STYPE
The struct member offsets.
|
| Constructor and Description |
|---|
VkPhysicalDeviceLineRasterizationFeaturesEXT(java.nio.ByteBuffer container)
Creates a
VkPhysicalDeviceLineRasterizationFeaturesEXT instance at the current position of the specified ByteBuffer container. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
bresenhamLines()
Returns the value of the
bresenhamLines field. |
VkPhysicalDeviceLineRasterizationFeaturesEXT |
bresenhamLines(boolean value)
Sets the specified value to the
bresenhamLines field. |
static VkPhysicalDeviceLineRasterizationFeaturesEXT |
calloc()
Returns a new
VkPhysicalDeviceLineRasterizationFeaturesEXT instance allocated with memCalloc. |
static VkPhysicalDeviceLineRasterizationFeaturesEXT.Buffer |
calloc(int capacity)
Returns a new
VkPhysicalDeviceLineRasterizationFeaturesEXT.Buffer instance allocated with memCalloc. |
static VkPhysicalDeviceLineRasterizationFeaturesEXT |
callocStack()
Returns a new
VkPhysicalDeviceLineRasterizationFeaturesEXT instance allocated on the thread-local MemoryStack and initializes all its bits to zero. |
static VkPhysicalDeviceLineRasterizationFeaturesEXT.Buffer |
callocStack(int capacity)
Returns a new
VkPhysicalDeviceLineRasterizationFeaturesEXT.Buffer instance allocated on the thread-local MemoryStack and initializes all its bits to zero. |
static VkPhysicalDeviceLineRasterizationFeaturesEXT.Buffer |
callocStack(int capacity,
org.lwjgl.system.MemoryStack stack)
Returns a new
VkPhysicalDeviceLineRasterizationFeaturesEXT.Buffer instance allocated on the specified MemoryStack and initializes all its bits to zero. |
static VkPhysicalDeviceLineRasterizationFeaturesEXT |
callocStack(org.lwjgl.system.MemoryStack stack)
Returns a new
VkPhysicalDeviceLineRasterizationFeaturesEXT instance allocated on the specified MemoryStack and initializes all its bits to zero. |
static VkPhysicalDeviceLineRasterizationFeaturesEXT |
create()
Returns a new
VkPhysicalDeviceLineRasterizationFeaturesEXT instance allocated with BufferUtils. |
static VkPhysicalDeviceLineRasterizationFeaturesEXT.Buffer |
create(int capacity)
Returns a new
VkPhysicalDeviceLineRasterizationFeaturesEXT.Buffer instance allocated with BufferUtils. |
static VkPhysicalDeviceLineRasterizationFeaturesEXT |
create(long address)
Returns a new
VkPhysicalDeviceLineRasterizationFeaturesEXT instance for the specified memory address. |
static VkPhysicalDeviceLineRasterizationFeaturesEXT.Buffer |
create(long address,
int capacity)
Create a
VkPhysicalDeviceLineRasterizationFeaturesEXT.Buffer instance at the specified memory. |
static VkPhysicalDeviceLineRasterizationFeaturesEXT |
createSafe(long address)
|
static VkPhysicalDeviceLineRasterizationFeaturesEXT.Buffer |
createSafe(long address,
int capacity)
|
static VkPhysicalDeviceLineRasterizationFeaturesEXT |
malloc()
Returns a new
VkPhysicalDeviceLineRasterizationFeaturesEXT instance allocated with memAlloc. |
static VkPhysicalDeviceLineRasterizationFeaturesEXT.Buffer |
malloc(int capacity)
Returns a new
VkPhysicalDeviceLineRasterizationFeaturesEXT.Buffer instance allocated with memAlloc. |
static VkPhysicalDeviceLineRasterizationFeaturesEXT |
mallocStack()
Returns a new
VkPhysicalDeviceLineRasterizationFeaturesEXT instance allocated on the thread-local MemoryStack. |
static VkPhysicalDeviceLineRasterizationFeaturesEXT.Buffer |
mallocStack(int capacity)
Returns a new
VkPhysicalDeviceLineRasterizationFeaturesEXT.Buffer instance allocated on the thread-local MemoryStack. |
static VkPhysicalDeviceLineRasterizationFeaturesEXT.Buffer |
mallocStack(int capacity,
org.lwjgl.system.MemoryStack stack)
Returns a new
VkPhysicalDeviceLineRasterizationFeaturesEXT.Buffer instance allocated on the specified MemoryStack. |
static VkPhysicalDeviceLineRasterizationFeaturesEXT |
mallocStack(org.lwjgl.system.MemoryStack stack)
Returns a new
VkPhysicalDeviceLineRasterizationFeaturesEXT instance allocated on the specified MemoryStack. |
static int |
nbresenhamLines(long struct)
Unsafe version of
bresenhamLines(). |
static void |
nbresenhamLines(long struct,
int value)
Unsafe version of
bresenhamLines. |
static long |
npNext(long struct)
Unsafe version of
pNext(). |
static void |
npNext(long struct,
long value)
Unsafe version of
pNext. |
static int |
nrectangularLines(long struct)
Unsafe version of
rectangularLines(). |
static void |
nrectangularLines(long struct,
int value)
Unsafe version of
rectangularLines. |
static int |
nsmoothLines(long struct)
Unsafe version of
smoothLines(). |
static void |
nsmoothLines(long struct,
int value)
Unsafe version of
smoothLines. |
static int |
nstippledBresenhamLines(long struct)
Unsafe version of
stippledBresenhamLines(). |
static void |
nstippledBresenhamLines(long struct,
int value)
Unsafe version of
stippledBresenhamLines. |
static int |
nstippledRectangularLines(long struct)
Unsafe version of
stippledRectangularLines(). |
static void |
nstippledRectangularLines(long struct,
int value)
Unsafe version of
stippledRectangularLines. |
static int |
nstippledSmoothLines(long struct)
Unsafe version of
stippledSmoothLines(). |
static void |
nstippledSmoothLines(long struct,
int value)
Unsafe version of
stippledSmoothLines. |
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. |
VkPhysicalDeviceLineRasterizationFeaturesEXT |
pNext(long value)
Sets the specified value to the
pNext field. |
boolean |
rectangularLines()
Returns the value of the
rectangularLines field. |
VkPhysicalDeviceLineRasterizationFeaturesEXT |
rectangularLines(boolean value)
Sets the specified value to the
rectangularLines field. |
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.
|
VkPhysicalDeviceLineRasterizationFeaturesEXT |
set(VkPhysicalDeviceLineRasterizationFeaturesEXT src)
Copies the specified struct data to this struct.
|
int |
sizeof() |
boolean |
smoothLines()
Returns the value of the
smoothLines field. |
VkPhysicalDeviceLineRasterizationFeaturesEXT |
smoothLines(boolean value)
Sets the specified value to the
smoothLines field. |
boolean |
stippledBresenhamLines()
Returns the value of the
stippledBresenhamLines field. |
VkPhysicalDeviceLineRasterizationFeaturesEXT |
stippledBresenhamLines(boolean value)
Sets the specified value to the
stippledBresenhamLines field. |
boolean |
stippledRectangularLines()
Returns the value of the
stippledRectangularLines field. |
VkPhysicalDeviceLineRasterizationFeaturesEXT |
stippledRectangularLines(boolean value)
Sets the specified value to the
stippledRectangularLines field. |
boolean |
stippledSmoothLines()
Returns the value of the
stippledSmoothLines field. |
VkPhysicalDeviceLineRasterizationFeaturesEXT |
stippledSmoothLines(boolean value)
Sets the specified value to the
stippledSmoothLines field. |
int |
sType()
Returns the value of the
sType field. |
VkPhysicalDeviceLineRasterizationFeaturesEXT |
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 RECTANGULARLINES
public static final int BRESENHAMLINES
public static final int SMOOTHLINES
public static final int STIPPLEDRECTANGULARLINES
public static final int STIPPLEDBRESENHAMLINES
public static final int STIPPLEDSMOOTHLINES
public VkPhysicalDeviceLineRasterizationFeaturesEXT(java.nio.ByteBuffer container)
VkPhysicalDeviceLineRasterizationFeaturesEXT 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 rectangularLines()
rectangularLines field.public boolean bresenhamLines()
bresenhamLines field.public boolean smoothLines()
smoothLines field.public boolean stippledRectangularLines()
stippledRectangularLines field.public boolean stippledBresenhamLines()
stippledBresenhamLines field.public boolean stippledSmoothLines()
stippledSmoothLines field.public VkPhysicalDeviceLineRasterizationFeaturesEXT sType(int value)
sType field.public VkPhysicalDeviceLineRasterizationFeaturesEXT pNext(long value)
pNext field.public VkPhysicalDeviceLineRasterizationFeaturesEXT rectangularLines(boolean value)
rectangularLines field.public VkPhysicalDeviceLineRasterizationFeaturesEXT bresenhamLines(boolean value)
bresenhamLines field.public VkPhysicalDeviceLineRasterizationFeaturesEXT smoothLines(boolean value)
smoothLines field.public VkPhysicalDeviceLineRasterizationFeaturesEXT stippledRectangularLines(boolean value)
stippledRectangularLines field.public VkPhysicalDeviceLineRasterizationFeaturesEXT stippledBresenhamLines(boolean value)
stippledBresenhamLines field.public VkPhysicalDeviceLineRasterizationFeaturesEXT stippledSmoothLines(boolean value)
stippledSmoothLines field.public VkPhysicalDeviceLineRasterizationFeaturesEXT set(int sType, long pNext, boolean rectangularLines, boolean bresenhamLines, boolean smoothLines, boolean stippledRectangularLines, boolean stippledBresenhamLines, boolean stippledSmoothLines)
public VkPhysicalDeviceLineRasterizationFeaturesEXT set(VkPhysicalDeviceLineRasterizationFeaturesEXT src)
src - the source structpublic static VkPhysicalDeviceLineRasterizationFeaturesEXT malloc()
VkPhysicalDeviceLineRasterizationFeaturesEXT instance allocated with memAlloc. The instance must be explicitly freed.public static VkPhysicalDeviceLineRasterizationFeaturesEXT calloc()
VkPhysicalDeviceLineRasterizationFeaturesEXT instance allocated with memCalloc. The instance must be explicitly freed.public static VkPhysicalDeviceLineRasterizationFeaturesEXT create()
VkPhysicalDeviceLineRasterizationFeaturesEXT instance allocated with BufferUtils.public static VkPhysicalDeviceLineRasterizationFeaturesEXT create(long address)
VkPhysicalDeviceLineRasterizationFeaturesEXT instance for the specified memory address.@Nullable public static VkPhysicalDeviceLineRasterizationFeaturesEXT createSafe(long address)
public static VkPhysicalDeviceLineRasterizationFeaturesEXT.Buffer malloc(int capacity)
VkPhysicalDeviceLineRasterizationFeaturesEXT.Buffer instance allocated with memAlloc. The instance must be explicitly freed.capacity - the buffer capacitypublic static VkPhysicalDeviceLineRasterizationFeaturesEXT.Buffer calloc(int capacity)
VkPhysicalDeviceLineRasterizationFeaturesEXT.Buffer instance allocated with memCalloc. The instance must be explicitly freed.capacity - the buffer capacitypublic static VkPhysicalDeviceLineRasterizationFeaturesEXT.Buffer create(int capacity)
VkPhysicalDeviceLineRasterizationFeaturesEXT.Buffer instance allocated with BufferUtils.capacity - the buffer capacitypublic static VkPhysicalDeviceLineRasterizationFeaturesEXT.Buffer create(long address, int capacity)
VkPhysicalDeviceLineRasterizationFeaturesEXT.Buffer instance at the specified memory.address - the memory addresscapacity - the buffer capacity@Nullable public static VkPhysicalDeviceLineRasterizationFeaturesEXT.Buffer createSafe(long address, int capacity)
public static VkPhysicalDeviceLineRasterizationFeaturesEXT mallocStack()
VkPhysicalDeviceLineRasterizationFeaturesEXT instance allocated on the thread-local MemoryStack.public static VkPhysicalDeviceLineRasterizationFeaturesEXT callocStack()
VkPhysicalDeviceLineRasterizationFeaturesEXT instance allocated on the thread-local MemoryStack and initializes all its bits to zero.public static VkPhysicalDeviceLineRasterizationFeaturesEXT mallocStack(org.lwjgl.system.MemoryStack stack)
VkPhysicalDeviceLineRasterizationFeaturesEXT instance allocated on the specified MemoryStack.stack - the stack from which to allocatepublic static VkPhysicalDeviceLineRasterizationFeaturesEXT callocStack(org.lwjgl.system.MemoryStack stack)
VkPhysicalDeviceLineRasterizationFeaturesEXT instance allocated on the specified MemoryStack and initializes all its bits to zero.stack - the stack from which to allocatepublic static VkPhysicalDeviceLineRasterizationFeaturesEXT.Buffer mallocStack(int capacity)
VkPhysicalDeviceLineRasterizationFeaturesEXT.Buffer instance allocated on the thread-local MemoryStack.capacity - the buffer capacitypublic static VkPhysicalDeviceLineRasterizationFeaturesEXT.Buffer callocStack(int capacity)
VkPhysicalDeviceLineRasterizationFeaturesEXT.Buffer instance allocated on the thread-local MemoryStack and initializes all its bits to zero.capacity - the buffer capacitypublic static VkPhysicalDeviceLineRasterizationFeaturesEXT.Buffer mallocStack(int capacity, org.lwjgl.system.MemoryStack stack)
VkPhysicalDeviceLineRasterizationFeaturesEXT.Buffer instance allocated on the specified MemoryStack.stack - the stack from which to allocatecapacity - the buffer capacitypublic static VkPhysicalDeviceLineRasterizationFeaturesEXT.Buffer callocStack(int capacity, org.lwjgl.system.MemoryStack stack)
VkPhysicalDeviceLineRasterizationFeaturesEXT.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 nrectangularLines(long struct)
rectangularLines().public static int nbresenhamLines(long struct)
bresenhamLines().public static int nsmoothLines(long struct)
smoothLines().public static int nstippledRectangularLines(long struct)
stippledRectangularLines().public static int nstippledBresenhamLines(long struct)
stippledBresenhamLines().public static int nstippledSmoothLines(long struct)
stippledSmoothLines().public static void nsType(long struct,
int value)
sType.public static void npNext(long struct,
long value)
pNext.public static void nrectangularLines(long struct,
int value)
rectangularLines.public static void nbresenhamLines(long struct,
int value)
bresenhamLines.public static void nsmoothLines(long struct,
int value)
smoothLines.public static void nstippledRectangularLines(long struct,
int value)
stippledRectangularLines.public static void nstippledBresenhamLines(long struct,
int value)
stippledBresenhamLines.public static void nstippledSmoothLines(long struct,
int value)
stippledSmoothLines.Copyright LWJGL. All Rights Reserved. License terms.