Package org.lwjgl.vulkan
Class VkPhysicalDeviceLineRasterizationFeaturesEXT
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.Struct
-
- org.lwjgl.vulkan.VkPhysicalDeviceLineRasterizationFeaturesEXT
-
- All Implemented Interfaces:
java.lang.AutoCloseable,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
public class VkPhysicalDeviceLineRasterizationFeaturesEXT extends org.lwjgl.system.Struct implements org.lwjgl.system.NativeResourceStructure describing the line rasterization features that can be supported by an implementation.Description
If the
VkPhysicalDeviceLineRasterizationFeaturesEXTstructure is included in thepNextchain of theVkPhysicalDeviceFeatures2structure passed toGetPhysicalDeviceFeatures2, it is filled in to indicate whether each corresponding feature is supported.VkPhysicalDeviceLineRasterizationFeaturesEXTcan also be used in thepNextchain ofVkDeviceCreateInfoto selectively enable these features.Valid Usage (Implicit)
Layout
struct VkPhysicalDeviceLineRasterizationFeaturesEXT { VkStructureTypesType(); void *pNext(); VkBool32rectangularLines(); VkBool32bresenhamLines(); VkBool32smoothLines(); VkBool32stippledRectangularLines(); VkBool32stippledBresenhamLines(); VkBool32stippledSmoothLines(); }
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classVkPhysicalDeviceLineRasterizationFeaturesEXT.BufferAn array ofVkPhysicalDeviceLineRasterizationFeaturesEXTstructs.
-
Field Summary
Fields Modifier and Type Field Description static intALIGNOFThe struct alignment in bytes.static intBRESENHAMLINES
PNEXT
RECTANGULARLINESThe struct member offsets.static intSIZEOFThe struct size in bytes.static intSMOOTHLINES
STIPPLEDBRESENHAMLINES
STIPPLEDRECTANGULARLINES
STIPPLEDSMOOTHLINES
STYPEThe struct member offsets.
-
Constructor Summary
Constructors Constructor Description VkPhysicalDeviceLineRasterizationFeaturesEXT(java.nio.ByteBuffer container)Creates aVkPhysicalDeviceLineRasterizationFeaturesEXTinstance at the current position of the specifiedByteBuffercontainer.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description booleanbresenhamLines()indicates whether the implementation supports Bresenham-style line rasterization.VkPhysicalDeviceLineRasterizationFeaturesEXTbresenhamLines(boolean value)Sets the specified value to thebresenhamLines()field.static VkPhysicalDeviceLineRasterizationFeaturesEXTcalloc()Returns a newVkPhysicalDeviceLineRasterizationFeaturesEXTinstance allocated withmemCalloc.static VkPhysicalDeviceLineRasterizationFeaturesEXT.Buffercalloc(int capacity)Returns a newVkPhysicalDeviceLineRasterizationFeaturesEXT.Bufferinstance allocated withmemCalloc.static VkPhysicalDeviceLineRasterizationFeaturesEXT.Buffercalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkPhysicalDeviceLineRasterizationFeaturesEXT.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkPhysicalDeviceLineRasterizationFeaturesEXTcalloc(org.lwjgl.system.MemoryStack stack)Returns a newVkPhysicalDeviceLineRasterizationFeaturesEXTinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkPhysicalDeviceLineRasterizationFeaturesEXTcallocStack()Deprecated.static VkPhysicalDeviceLineRasterizationFeaturesEXT.BuffercallocStack(int capacity)Deprecated.static VkPhysicalDeviceLineRasterizationFeaturesEXT.BuffercallocStack(int capacity, org.lwjgl.system.MemoryStack stack)Deprecated.static VkPhysicalDeviceLineRasterizationFeaturesEXTcallocStack(org.lwjgl.system.MemoryStack stack)Deprecated.static VkPhysicalDeviceLineRasterizationFeaturesEXTcreate()Returns a newVkPhysicalDeviceLineRasterizationFeaturesEXTinstance allocated withBufferUtils.static VkPhysicalDeviceLineRasterizationFeaturesEXT.Buffercreate(int capacity)Returns a newVkPhysicalDeviceLineRasterizationFeaturesEXT.Bufferinstance allocated withBufferUtils.static VkPhysicalDeviceLineRasterizationFeaturesEXTcreate(long address)Returns a newVkPhysicalDeviceLineRasterizationFeaturesEXTinstance for the specified memory address.static VkPhysicalDeviceLineRasterizationFeaturesEXT.Buffercreate(long address, int capacity)Create aVkPhysicalDeviceLineRasterizationFeaturesEXT.Bufferinstance at the specified memory.static VkPhysicalDeviceLineRasterizationFeaturesEXTcreateSafe(long address)static VkPhysicalDeviceLineRasterizationFeaturesEXT.BuffercreateSafe(long address, int capacity)static VkPhysicalDeviceLineRasterizationFeaturesEXTmalloc()Returns a newVkPhysicalDeviceLineRasterizationFeaturesEXTinstance allocated withmemAlloc.static VkPhysicalDeviceLineRasterizationFeaturesEXT.Buffermalloc(int capacity)Returns a newVkPhysicalDeviceLineRasterizationFeaturesEXT.Bufferinstance allocated withmemAlloc.static VkPhysicalDeviceLineRasterizationFeaturesEXT.Buffermalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkPhysicalDeviceLineRasterizationFeaturesEXT.Bufferinstance allocated on the specifiedMemoryStack.static VkPhysicalDeviceLineRasterizationFeaturesEXTmalloc(org.lwjgl.system.MemoryStack stack)Returns a newVkPhysicalDeviceLineRasterizationFeaturesEXTinstance allocated on the specifiedMemoryStack.static VkPhysicalDeviceLineRasterizationFeaturesEXTmallocStack()Deprecated.static VkPhysicalDeviceLineRasterizationFeaturesEXT.BuffermallocStack(int capacity)Deprecated.static VkPhysicalDeviceLineRasterizationFeaturesEXT.BuffermallocStack(int capacity, org.lwjgl.system.MemoryStack stack)Deprecated.static VkPhysicalDeviceLineRasterizationFeaturesEXTmallocStack(org.lwjgl.system.MemoryStack stack)Deprecated.static intnbresenhamLines(long struct)Unsafe version ofbresenhamLines().static voidnbresenhamLines(long struct, int value)Unsafe version ofbresenhamLines.static longnpNext(long struct)Unsafe version ofpNext().static voidnpNext(long struct, long value)Unsafe version ofpNext.static intnrectangularLines(long struct)Unsafe version ofrectangularLines().static voidnrectangularLines(long struct, int value)Unsafe version ofrectangularLines.static intnsmoothLines(long struct)Unsafe version ofsmoothLines().static voidnsmoothLines(long struct, int value)Unsafe version ofsmoothLines.static intnstippledBresenhamLines(long struct)Unsafe version ofstippledBresenhamLines().static voidnstippledBresenhamLines(long struct, int value)Unsafe version ofstippledBresenhamLines.static intnstippledRectangularLines(long struct)Unsafe version ofstippledRectangularLines().static voidnstippledRectangularLines(long struct, int value)Unsafe version ofstippledRectangularLines.static intnstippledSmoothLines(long struct)Unsafe version ofstippledSmoothLines().static voidnstippledSmoothLines(long struct, int value)Unsafe version ofstippledSmoothLines.static intnsType(long struct)Unsafe version ofsType().static voidnsType(long struct, int value)Unsafe version ofsType.longpNext()NULLor a pointer to a structure extending this structure.VkPhysicalDeviceLineRasterizationFeaturesEXTpNext(long value)Sets the specified value to thepNext()field.booleanrectangularLines()indicates whether the implementation supports rectangular line rasterization.VkPhysicalDeviceLineRasterizationFeaturesEXTrectangularLines(boolean value)Sets the specified value to therectangularLines()field.VkPhysicalDeviceLineRasterizationFeaturesEXTset(int sType, long pNext, boolean rectangularLines, boolean bresenhamLines, boolean smoothLines, boolean stippledRectangularLines, boolean stippledBresenhamLines, boolean stippledSmoothLines)Initializes this struct with the specified values.VkPhysicalDeviceLineRasterizationFeaturesEXTset(VkPhysicalDeviceLineRasterizationFeaturesEXT src)Copies the specified struct data to this struct.intsizeof()booleansmoothLines()indicates whether the implementation supports smooth line rasterization.VkPhysicalDeviceLineRasterizationFeaturesEXTsmoothLines(boolean value)Sets the specified value to thesmoothLines()field.booleanstippledBresenhamLines()indicates whether the implementation supports stippled line rasterization withLINE_RASTERIZATION_MODE_BRESENHAM_EXTlines.VkPhysicalDeviceLineRasterizationFeaturesEXTstippledBresenhamLines(boolean value)Sets the specified value to thestippledBresenhamLines()field.booleanstippledRectangularLines()indicates whether the implementation supports stippled line rasterization withLINE_RASTERIZATION_MODE_RECTANGULAR_EXTlines, or withLINE_RASTERIZATION_MODE_DEFAULT_EXTlines ifVkPhysicalDeviceLimits::strictLinesisTRUE.VkPhysicalDeviceLineRasterizationFeaturesEXTstippledRectangularLines(boolean value)Sets the specified value to thestippledRectangularLines()field.booleanstippledSmoothLines()indicates whether the implementation supports stippled line rasterization withLINE_RASTERIZATION_MODE_RECTANGULAR_SMOOTH_EXTlines.VkPhysicalDeviceLineRasterizationFeaturesEXTstippledSmoothLines(boolean value)Sets the specified value to thestippledSmoothLines()field.intsType()the type of this structure.VkPhysicalDeviceLineRasterizationFeaturesEXTsType(int value)Sets the specified value to thesType()field.VkPhysicalDeviceLineRasterizationFeaturesEXTsType$Default()Sets theSTRUCTURE_TYPE_PHYSICAL_DEVICE_LINE_RASTERIZATION_FEATURES_EXTvalue to thesType()field.
-
-
-
Constructor Detail
-
VkPhysicalDeviceLineRasterizationFeaturesEXT
public VkPhysicalDeviceLineRasterizationFeaturesEXT(java.nio.ByteBuffer container)
Creates aVkPhysicalDeviceLineRasterizationFeaturesEXTinstance at the current position of the specifiedByteBuffercontainer. 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.
-
-
Method Detail
-
sizeof
public int sizeof()
- Specified by:
sizeofin classorg.lwjgl.system.Struct
-
sType
public int sType()
the type of this structure.
-
pNext
public long pNext()
NULLor a pointer to a structure extending this structure.
-
rectangularLines
public boolean rectangularLines()
indicates whether the implementation supports rectangular line rasterization.
-
bresenhamLines
public boolean bresenhamLines()
indicates whether the implementation supports Bresenham-style line rasterization.
-
smoothLines
public boolean smoothLines()
indicates whether the implementation supports smooth line rasterization.
-
stippledRectangularLines
public boolean stippledRectangularLines()
indicates whether the implementation supports stippled line rasterization withLINE_RASTERIZATION_MODE_RECTANGULAR_EXTlines, or withLINE_RASTERIZATION_MODE_DEFAULT_EXTlines ifVkPhysicalDeviceLimits::strictLinesisTRUE.
-
stippledBresenhamLines
public boolean stippledBresenhamLines()
indicates whether the implementation supports stippled line rasterization withLINE_RASTERIZATION_MODE_BRESENHAM_EXTlines.
-
stippledSmoothLines
public boolean stippledSmoothLines()
indicates whether the implementation supports stippled line rasterization withLINE_RASTERIZATION_MODE_RECTANGULAR_SMOOTH_EXTlines.
-
sType
public VkPhysicalDeviceLineRasterizationFeaturesEXT sType(int value)
Sets the specified value to thesType()field.
-
sType$Default
public VkPhysicalDeviceLineRasterizationFeaturesEXT sType$Default()
Sets theSTRUCTURE_TYPE_PHYSICAL_DEVICE_LINE_RASTERIZATION_FEATURES_EXTvalue to thesType()field.
-
pNext
public VkPhysicalDeviceLineRasterizationFeaturesEXT pNext(long value)
Sets the specified value to thepNext()field.
-
rectangularLines
public VkPhysicalDeviceLineRasterizationFeaturesEXT rectangularLines(boolean value)
Sets the specified value to therectangularLines()field.
-
bresenhamLines
public VkPhysicalDeviceLineRasterizationFeaturesEXT bresenhamLines(boolean value)
Sets the specified value to thebresenhamLines()field.
-
smoothLines
public VkPhysicalDeviceLineRasterizationFeaturesEXT smoothLines(boolean value)
Sets the specified value to thesmoothLines()field.
-
stippledRectangularLines
public VkPhysicalDeviceLineRasterizationFeaturesEXT stippledRectangularLines(boolean value)
Sets the specified value to thestippledRectangularLines()field.
-
stippledBresenhamLines
public VkPhysicalDeviceLineRasterizationFeaturesEXT stippledBresenhamLines(boolean value)
Sets the specified value to thestippledBresenhamLines()field.
-
stippledSmoothLines
public VkPhysicalDeviceLineRasterizationFeaturesEXT stippledSmoothLines(boolean value)
Sets the specified value to thestippledSmoothLines()field.
-
set
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.
-
set
public VkPhysicalDeviceLineRasterizationFeaturesEXT set(VkPhysicalDeviceLineRasterizationFeaturesEXT src)
Copies the specified struct data to this struct.- Parameters:
src- the source struct- Returns:
- this struct
-
malloc
public static VkPhysicalDeviceLineRasterizationFeaturesEXT malloc()
Returns a newVkPhysicalDeviceLineRasterizationFeaturesEXTinstance allocated withmemAlloc. The instance must be explicitly freed.
-
calloc
public static VkPhysicalDeviceLineRasterizationFeaturesEXT calloc()
Returns a newVkPhysicalDeviceLineRasterizationFeaturesEXTinstance allocated withmemCalloc. The instance must be explicitly freed.
-
create
public static VkPhysicalDeviceLineRasterizationFeaturesEXT create()
Returns a newVkPhysicalDeviceLineRasterizationFeaturesEXTinstance allocated withBufferUtils.
-
create
public static VkPhysicalDeviceLineRasterizationFeaturesEXT create(long address)
Returns a newVkPhysicalDeviceLineRasterizationFeaturesEXTinstance for the specified memory address.
-
createSafe
@Nullable public static VkPhysicalDeviceLineRasterizationFeaturesEXT createSafe(long address)
-
malloc
public static VkPhysicalDeviceLineRasterizationFeaturesEXT.Buffer malloc(int capacity)
Returns a newVkPhysicalDeviceLineRasterizationFeaturesEXT.Bufferinstance allocated withmemAlloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
calloc
public static VkPhysicalDeviceLineRasterizationFeaturesEXT.Buffer calloc(int capacity)
Returns a newVkPhysicalDeviceLineRasterizationFeaturesEXT.Bufferinstance allocated withmemCalloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
create
public static VkPhysicalDeviceLineRasterizationFeaturesEXT.Buffer create(int capacity)
Returns a newVkPhysicalDeviceLineRasterizationFeaturesEXT.Bufferinstance allocated withBufferUtils.- Parameters:
capacity- the buffer capacity
-
create
public static VkPhysicalDeviceLineRasterizationFeaturesEXT.Buffer create(long address, int capacity)
Create aVkPhysicalDeviceLineRasterizationFeaturesEXT.Bufferinstance at the specified memory.- Parameters:
address- the memory addresscapacity- the buffer capacity
-
createSafe
@Nullable public static VkPhysicalDeviceLineRasterizationFeaturesEXT.Buffer createSafe(long address, int capacity)
-
mallocStack
@Deprecated public static VkPhysicalDeviceLineRasterizationFeaturesEXT mallocStack()
Deprecated.Deprecated for removal in 3.4.0. Usemalloc(MemoryStack)instead.
-
callocStack
@Deprecated public static VkPhysicalDeviceLineRasterizationFeaturesEXT callocStack()
Deprecated.Deprecated for removal in 3.4.0. Usecalloc(MemoryStack)instead.
-
mallocStack
@Deprecated public static VkPhysicalDeviceLineRasterizationFeaturesEXT mallocStack(org.lwjgl.system.MemoryStack stack)
Deprecated.Deprecated for removal in 3.4.0. Usemalloc(MemoryStack)instead.
-
callocStack
@Deprecated public static VkPhysicalDeviceLineRasterizationFeaturesEXT callocStack(org.lwjgl.system.MemoryStack stack)
Deprecated.Deprecated for removal in 3.4.0. Usecalloc(MemoryStack)instead.
-
mallocStack
@Deprecated public static VkPhysicalDeviceLineRasterizationFeaturesEXT.Buffer mallocStack(int capacity)
Deprecated.Deprecated for removal in 3.4.0. Usemalloc(int, MemoryStack)instead.
-
callocStack
@Deprecated public static VkPhysicalDeviceLineRasterizationFeaturesEXT.Buffer callocStack(int capacity)
Deprecated.Deprecated for removal in 3.4.0. Usecalloc(int, MemoryStack)instead.
-
mallocStack
@Deprecated public static VkPhysicalDeviceLineRasterizationFeaturesEXT.Buffer mallocStack(int capacity, org.lwjgl.system.MemoryStack stack)
Deprecated.Deprecated for removal in 3.4.0. Usemalloc(int, MemoryStack)instead.
-
callocStack
@Deprecated public static VkPhysicalDeviceLineRasterizationFeaturesEXT.Buffer callocStack(int capacity, org.lwjgl.system.MemoryStack stack)
Deprecated.Deprecated for removal in 3.4.0. Usecalloc(int, MemoryStack)instead.
-
malloc
public static VkPhysicalDeviceLineRasterizationFeaturesEXT malloc(org.lwjgl.system.MemoryStack stack)
Returns a newVkPhysicalDeviceLineRasterizationFeaturesEXTinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocate
-
calloc
public static VkPhysicalDeviceLineRasterizationFeaturesEXT calloc(org.lwjgl.system.MemoryStack stack)
Returns a newVkPhysicalDeviceLineRasterizationFeaturesEXTinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocate
-
malloc
public static VkPhysicalDeviceLineRasterizationFeaturesEXT.Buffer malloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkPhysicalDeviceLineRasterizationFeaturesEXT.Bufferinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocatecapacity- the buffer capacity
-
calloc
public static VkPhysicalDeviceLineRasterizationFeaturesEXT.Buffer calloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkPhysicalDeviceLineRasterizationFeaturesEXT.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocatecapacity- the buffer capacity
-
nsType
public static int nsType(long struct)
Unsafe version ofsType().
-
npNext
public static long npNext(long struct)
Unsafe version ofpNext().
-
nrectangularLines
public static int nrectangularLines(long struct)
Unsafe version ofrectangularLines().
-
nbresenhamLines
public static int nbresenhamLines(long struct)
Unsafe version ofbresenhamLines().
-
nsmoothLines
public static int nsmoothLines(long struct)
Unsafe version ofsmoothLines().
-
nstippledRectangularLines
public static int nstippledRectangularLines(long struct)
Unsafe version ofstippledRectangularLines().
-
nstippledBresenhamLines
public static int nstippledBresenhamLines(long struct)
Unsafe version ofstippledBresenhamLines().
-
nstippledSmoothLines
public static int nstippledSmoothLines(long struct)
Unsafe version ofstippledSmoothLines().
-
nsType
public static void nsType(long struct, int value)Unsafe version ofsType.
-
npNext
public static void npNext(long struct, long value)Unsafe version ofpNext.
-
nrectangularLines
public static void nrectangularLines(long struct, int value)Unsafe version ofrectangularLines.
-
nbresenhamLines
public static void nbresenhamLines(long struct, int value)Unsafe version ofbresenhamLines.
-
nsmoothLines
public static void nsmoothLines(long struct, int value)Unsafe version ofsmoothLines.
-
nstippledRectangularLines
public static void nstippledRectangularLines(long struct, int value)Unsafe version ofstippledRectangularLines.
-
nstippledBresenhamLines
public static void nstippledBresenhamLines(long struct, int value)Unsafe version ofstippledBresenhamLines.
-
nstippledSmoothLines
public static void nstippledSmoothLines(long struct, int value)Unsafe version ofstippledSmoothLines.
-
-