public class VkPipelineRasterizationLineStateCreateInfoEXT
extends org.lwjgl.system.Struct
implements org.lwjgl.system.NativeResource
lineRasterizationMode is LINE_RASTERIZATION_MODE_RECTANGULAR_EXT, then the rectangularLines feature must be enabledlineRasterizationMode is LINE_RASTERIZATION_MODE_BRESENHAM_EXT, then the bresenhamLines feature must be enabledlineRasterizationMode is LINE_RASTERIZATION_MODE_RECTANGULAR_SMOOTH_EXT, then the smoothLines feature must be enabledstippledLineEnable is TRUE and lineRasterizationMode is LINE_RASTERIZATION_MODE_RECTANGULAR_EXT, then the stippledRectangularLines feature must be enabledstippledLineEnable is TRUE and lineRasterizationMode is LINE_RASTERIZATION_MODE_BRESENHAM_EXT, then the stippledBresenhamLines feature must be enabledstippledLineEnable is TRUE and lineRasterizationMode is LINE_RASTERIZATION_MODE_RECTANGULAR_SMOOTH_EXT, then the stippledSmoothLines feature must be enabledstippledLineEnable is TRUE and lineRasterizationMode is LINE_RASTERIZATION_MODE_DEFAULT_EXT, then the stippledRectangularLines feature must be enabled and VkPhysicalDeviceLimits::strictLines must be TRUEsType must be STRUCTURE_TYPE_PIPELINE_RASTERIZATION_LINE_STATE_CREATE_INFO_EXTlineRasterizationMode must be a valid VkLineRasterizationModeEXT valuesType – the type of this structure.pNext – NULL or a pointer to an extension-specific structure.lineRasterizationMode – a VkLineRasterizationModeEXT value selecting the style of line rasterization.stippledLineEnable – enables stippled line rasterization.lineStippleFactor – the repeat factor used in stippled line rasterization.lineStipplePattern – the bit pattern used in stippled line rasterization.
struct VkPipelineRasterizationLineStateCreateInfoEXT {
VkStructureType sType;
void const * pNext;
VkLineRasterizationModeEXT lineRasterizationMode;
VkBool32 stippledLineEnable;
uint32_t lineStippleFactor;
uint16_t lineStipplePattern;
}| Modifier and Type | Class and Description |
|---|---|
static class |
VkPipelineRasterizationLineStateCreateInfoEXT.Buffer
An array of
VkPipelineRasterizationLineStateCreateInfoEXT structs. |
| Modifier and Type | Field and Description |
|---|---|
static int |
ALIGNOF
The struct alignment in bytes.
|
static int |
LINERASTERIZATIONMODE
The struct member offsets.
|
static int |
LINESTIPPLEFACTOR
The struct member offsets.
|
static int |
LINESTIPPLEPATTERN
The struct member offsets.
|
static int |
PNEXT
The struct member offsets.
|
static int |
SIZEOF
The struct size in bytes.
|
static int |
STIPPLEDLINEENABLE
The struct member offsets.
|
static int |
STYPE
The struct member offsets.
|
| Constructor and Description |
|---|
VkPipelineRasterizationLineStateCreateInfoEXT(java.nio.ByteBuffer container)
Creates a
VkPipelineRasterizationLineStateCreateInfoEXT instance at the current position of the specified ByteBuffer container. |
| Modifier and Type | Method and Description |
|---|---|
static VkPipelineRasterizationLineStateCreateInfoEXT |
calloc()
Returns a new
VkPipelineRasterizationLineStateCreateInfoEXT instance allocated with memCalloc. |
static VkPipelineRasterizationLineStateCreateInfoEXT.Buffer |
calloc(int capacity)
Returns a new
VkPipelineRasterizationLineStateCreateInfoEXT.Buffer instance allocated with memCalloc. |
static VkPipelineRasterizationLineStateCreateInfoEXT |
callocStack()
Returns a new
VkPipelineRasterizationLineStateCreateInfoEXT instance allocated on the thread-local MemoryStack and initializes all its bits to zero. |
static VkPipelineRasterizationLineStateCreateInfoEXT.Buffer |
callocStack(int capacity)
Returns a new
VkPipelineRasterizationLineStateCreateInfoEXT.Buffer instance allocated on the thread-local MemoryStack and initializes all its bits to zero. |
static VkPipelineRasterizationLineStateCreateInfoEXT.Buffer |
callocStack(int capacity,
org.lwjgl.system.MemoryStack stack)
Returns a new
VkPipelineRasterizationLineStateCreateInfoEXT.Buffer instance allocated on the specified MemoryStack and initializes all its bits to zero. |
static VkPipelineRasterizationLineStateCreateInfoEXT |
callocStack(org.lwjgl.system.MemoryStack stack)
Returns a new
VkPipelineRasterizationLineStateCreateInfoEXT instance allocated on the specified MemoryStack and initializes all its bits to zero. |
static VkPipelineRasterizationLineStateCreateInfoEXT |
create()
Returns a new
VkPipelineRasterizationLineStateCreateInfoEXT instance allocated with BufferUtils. |
static VkPipelineRasterizationLineStateCreateInfoEXT.Buffer |
create(int capacity)
Returns a new
VkPipelineRasterizationLineStateCreateInfoEXT.Buffer instance allocated with BufferUtils. |
static VkPipelineRasterizationLineStateCreateInfoEXT |
create(long address)
Returns a new
VkPipelineRasterizationLineStateCreateInfoEXT instance for the specified memory address. |
static VkPipelineRasterizationLineStateCreateInfoEXT.Buffer |
create(long address,
int capacity)
Create a
VkPipelineRasterizationLineStateCreateInfoEXT.Buffer instance at the specified memory. |
static VkPipelineRasterizationLineStateCreateInfoEXT |
createSafe(long address)
|
static VkPipelineRasterizationLineStateCreateInfoEXT.Buffer |
createSafe(long address,
int capacity)
|
int |
lineRasterizationMode()
Returns the value of the
lineRasterizationMode field. |
VkPipelineRasterizationLineStateCreateInfoEXT |
lineRasterizationMode(int value)
Sets the specified value to the
lineRasterizationMode field. |
int |
lineStippleFactor()
Returns the value of the
lineStippleFactor field. |
VkPipelineRasterizationLineStateCreateInfoEXT |
lineStippleFactor(int value)
Sets the specified value to the
lineStippleFactor field. |
short |
lineStipplePattern()
Returns the value of the
lineStipplePattern field. |
VkPipelineRasterizationLineStateCreateInfoEXT |
lineStipplePattern(short value)
Sets the specified value to the
lineStipplePattern field. |
static VkPipelineRasterizationLineStateCreateInfoEXT |
malloc()
Returns a new
VkPipelineRasterizationLineStateCreateInfoEXT instance allocated with memAlloc. |
static VkPipelineRasterizationLineStateCreateInfoEXT.Buffer |
malloc(int capacity)
Returns a new
VkPipelineRasterizationLineStateCreateInfoEXT.Buffer instance allocated with memAlloc. |
static VkPipelineRasterizationLineStateCreateInfoEXT |
mallocStack()
Returns a new
VkPipelineRasterizationLineStateCreateInfoEXT instance allocated on the thread-local MemoryStack. |
static VkPipelineRasterizationLineStateCreateInfoEXT.Buffer |
mallocStack(int capacity)
Returns a new
VkPipelineRasterizationLineStateCreateInfoEXT.Buffer instance allocated on the thread-local MemoryStack. |
static VkPipelineRasterizationLineStateCreateInfoEXT.Buffer |
mallocStack(int capacity,
org.lwjgl.system.MemoryStack stack)
Returns a new
VkPipelineRasterizationLineStateCreateInfoEXT.Buffer instance allocated on the specified MemoryStack. |
static VkPipelineRasterizationLineStateCreateInfoEXT |
mallocStack(org.lwjgl.system.MemoryStack stack)
Returns a new
VkPipelineRasterizationLineStateCreateInfoEXT instance allocated on the specified MemoryStack. |
static int |
nlineRasterizationMode(long struct)
Unsafe version of
lineRasterizationMode(). |
static void |
nlineRasterizationMode(long struct,
int value)
Unsafe version of
lineRasterizationMode. |
static int |
nlineStippleFactor(long struct)
Unsafe version of
lineStippleFactor(). |
static void |
nlineStippleFactor(long struct,
int value)
Unsafe version of
lineStippleFactor. |
static short |
nlineStipplePattern(long struct)
Unsafe version of
lineStipplePattern(). |
static void |
nlineStipplePattern(long struct,
short value)
Unsafe version of
lineStipplePattern. |
static long |
npNext(long struct)
Unsafe version of
pNext(). |
static void |
npNext(long struct,
long value)
Unsafe version of
pNext. |
static int |
nstippledLineEnable(long struct)
Unsafe version of
stippledLineEnable(). |
static void |
nstippledLineEnable(long struct,
int value)
Unsafe version of
stippledLineEnable. |
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. |
VkPipelineRasterizationLineStateCreateInfoEXT |
pNext(long value)
Sets the specified value to the
pNext field. |
VkPipelineRasterizationLineStateCreateInfoEXT |
set(int sType,
long pNext,
int lineRasterizationMode,
boolean stippledLineEnable,
int lineStippleFactor,
short lineStipplePattern)
Initializes this struct with the specified values.
|
VkPipelineRasterizationLineStateCreateInfoEXT |
set(VkPipelineRasterizationLineStateCreateInfoEXT src)
Copies the specified struct data to this struct.
|
int |
sizeof() |
boolean |
stippledLineEnable()
Returns the value of the
stippledLineEnable field. |
VkPipelineRasterizationLineStateCreateInfoEXT |
stippledLineEnable(boolean value)
Sets the specified value to the
stippledLineEnable field. |
int |
sType()
Returns the value of the
sType field. |
VkPipelineRasterizationLineStateCreateInfoEXT |
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 LINERASTERIZATIONMODE
public static final int STIPPLEDLINEENABLE
public static final int LINESTIPPLEFACTOR
public static final int LINESTIPPLEPATTERN
public VkPipelineRasterizationLineStateCreateInfoEXT(java.nio.ByteBuffer container)
VkPipelineRasterizationLineStateCreateInfoEXT 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 lineRasterizationMode()
lineRasterizationMode field.public boolean stippledLineEnable()
stippledLineEnable field.public int lineStippleFactor()
lineStippleFactor field.public short lineStipplePattern()
lineStipplePattern field.public VkPipelineRasterizationLineStateCreateInfoEXT sType(int value)
sType field.public VkPipelineRasterizationLineStateCreateInfoEXT pNext(long value)
pNext field.public VkPipelineRasterizationLineStateCreateInfoEXT lineRasterizationMode(int value)
lineRasterizationMode field.public VkPipelineRasterizationLineStateCreateInfoEXT stippledLineEnable(boolean value)
stippledLineEnable field.public VkPipelineRasterizationLineStateCreateInfoEXT lineStippleFactor(int value)
lineStippleFactor field.public VkPipelineRasterizationLineStateCreateInfoEXT lineStipplePattern(short value)
lineStipplePattern field.public VkPipelineRasterizationLineStateCreateInfoEXT set(int sType, long pNext, int lineRasterizationMode, boolean stippledLineEnable, int lineStippleFactor, short lineStipplePattern)
public VkPipelineRasterizationLineStateCreateInfoEXT set(VkPipelineRasterizationLineStateCreateInfoEXT src)
src - the source structpublic static VkPipelineRasterizationLineStateCreateInfoEXT malloc()
VkPipelineRasterizationLineStateCreateInfoEXT instance allocated with memAlloc. The instance must be explicitly freed.public static VkPipelineRasterizationLineStateCreateInfoEXT calloc()
VkPipelineRasterizationLineStateCreateInfoEXT instance allocated with memCalloc. The instance must be explicitly freed.public static VkPipelineRasterizationLineStateCreateInfoEXT create()
VkPipelineRasterizationLineStateCreateInfoEXT instance allocated with BufferUtils.public static VkPipelineRasterizationLineStateCreateInfoEXT create(long address)
VkPipelineRasterizationLineStateCreateInfoEXT instance for the specified memory address.@Nullable public static VkPipelineRasterizationLineStateCreateInfoEXT createSafe(long address)
public static VkPipelineRasterizationLineStateCreateInfoEXT.Buffer malloc(int capacity)
VkPipelineRasterizationLineStateCreateInfoEXT.Buffer instance allocated with memAlloc. The instance must be explicitly freed.capacity - the buffer capacitypublic static VkPipelineRasterizationLineStateCreateInfoEXT.Buffer calloc(int capacity)
VkPipelineRasterizationLineStateCreateInfoEXT.Buffer instance allocated with memCalloc. The instance must be explicitly freed.capacity - the buffer capacitypublic static VkPipelineRasterizationLineStateCreateInfoEXT.Buffer create(int capacity)
VkPipelineRasterizationLineStateCreateInfoEXT.Buffer instance allocated with BufferUtils.capacity - the buffer capacitypublic static VkPipelineRasterizationLineStateCreateInfoEXT.Buffer create(long address, int capacity)
VkPipelineRasterizationLineStateCreateInfoEXT.Buffer instance at the specified memory.address - the memory addresscapacity - the buffer capacity@Nullable public static VkPipelineRasterizationLineStateCreateInfoEXT.Buffer createSafe(long address, int capacity)
public static VkPipelineRasterizationLineStateCreateInfoEXT mallocStack()
VkPipelineRasterizationLineStateCreateInfoEXT instance allocated on the thread-local MemoryStack.public static VkPipelineRasterizationLineStateCreateInfoEXT callocStack()
VkPipelineRasterizationLineStateCreateInfoEXT instance allocated on the thread-local MemoryStack and initializes all its bits to zero.public static VkPipelineRasterizationLineStateCreateInfoEXT mallocStack(org.lwjgl.system.MemoryStack stack)
VkPipelineRasterizationLineStateCreateInfoEXT instance allocated on the specified MemoryStack.stack - the stack from which to allocatepublic static VkPipelineRasterizationLineStateCreateInfoEXT callocStack(org.lwjgl.system.MemoryStack stack)
VkPipelineRasterizationLineStateCreateInfoEXT instance allocated on the specified MemoryStack and initializes all its bits to zero.stack - the stack from which to allocatepublic static VkPipelineRasterizationLineStateCreateInfoEXT.Buffer mallocStack(int capacity)
VkPipelineRasterizationLineStateCreateInfoEXT.Buffer instance allocated on the thread-local MemoryStack.capacity - the buffer capacitypublic static VkPipelineRasterizationLineStateCreateInfoEXT.Buffer callocStack(int capacity)
VkPipelineRasterizationLineStateCreateInfoEXT.Buffer instance allocated on the thread-local MemoryStack and initializes all its bits to zero.capacity - the buffer capacitypublic static VkPipelineRasterizationLineStateCreateInfoEXT.Buffer mallocStack(int capacity, org.lwjgl.system.MemoryStack stack)
VkPipelineRasterizationLineStateCreateInfoEXT.Buffer instance allocated on the specified MemoryStack.stack - the stack from which to allocatecapacity - the buffer capacitypublic static VkPipelineRasterizationLineStateCreateInfoEXT.Buffer callocStack(int capacity, org.lwjgl.system.MemoryStack stack)
VkPipelineRasterizationLineStateCreateInfoEXT.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 nlineRasterizationMode(long struct)
lineRasterizationMode().public static int nstippledLineEnable(long struct)
stippledLineEnable().public static int nlineStippleFactor(long struct)
lineStippleFactor().public static short nlineStipplePattern(long struct)
lineStipplePattern().public static void nsType(long struct,
int value)
sType.public static void npNext(long struct,
long value)
pNext.public static void nlineRasterizationMode(long struct,
int value)
lineRasterizationMode.public static void nstippledLineEnable(long struct,
int value)
stippledLineEnable.public static void nlineStippleFactor(long struct,
int value)
lineStippleFactor.public static void nlineStipplePattern(long struct,
short value)
lineStipplePattern.Copyright LWJGL. All Rights Reserved. License terms.