public class VkPhysicalDeviceLineRasterizationPropertiesEXT
extends org.lwjgl.system.Struct
implements org.lwjgl.system.NativeResource
If the VkPhysicalDeviceLineRasterizationPropertiesEXT structure is included in the pNext chain of VkPhysicalDeviceProperties2, it is filled with the implementation-dependent limits.
sType – the type of this structure.pNext – NULL or a pointer to an extension-specific structure.lineSubPixelPrecisionBits – the number of bits of subpixel precision in framebuffer coordinates xf and yf when rasterizing line segments.
struct VkPhysicalDeviceLineRasterizationPropertiesEXT {
VkStructureType sType;
void * pNext;
uint32_t lineSubPixelPrecisionBits;
}| Modifier and Type | Class and Description |
|---|---|
static class |
VkPhysicalDeviceLineRasterizationPropertiesEXT.Buffer
An array of
VkPhysicalDeviceLineRasterizationPropertiesEXT structs. |
| Modifier and Type | Field and Description |
|---|---|
static int |
ALIGNOF
The struct alignment in bytes.
|
static int |
LINESUBPIXELPRECISIONBITS
The struct member offsets.
|
static int |
PNEXT
The struct member offsets.
|
static int |
SIZEOF
The struct size in bytes.
|
static int |
STYPE
The struct member offsets.
|
| Constructor and Description |
|---|
VkPhysicalDeviceLineRasterizationPropertiesEXT(java.nio.ByteBuffer container)
Creates a
VkPhysicalDeviceLineRasterizationPropertiesEXT instance at the current position of the specified ByteBuffer container. |
| Modifier and Type | Method and Description |
|---|---|
static VkPhysicalDeviceLineRasterizationPropertiesEXT |
calloc()
Returns a new
VkPhysicalDeviceLineRasterizationPropertiesEXT instance allocated with memCalloc. |
static VkPhysicalDeviceLineRasterizationPropertiesEXT.Buffer |
calloc(int capacity)
Returns a new
VkPhysicalDeviceLineRasterizationPropertiesEXT.Buffer instance allocated with memCalloc. |
static VkPhysicalDeviceLineRasterizationPropertiesEXT |
callocStack()
Returns a new
VkPhysicalDeviceLineRasterizationPropertiesEXT instance allocated on the thread-local MemoryStack and initializes all its bits to zero. |
static VkPhysicalDeviceLineRasterizationPropertiesEXT.Buffer |
callocStack(int capacity)
Returns a new
VkPhysicalDeviceLineRasterizationPropertiesEXT.Buffer instance allocated on the thread-local MemoryStack and initializes all its bits to zero. |
static VkPhysicalDeviceLineRasterizationPropertiesEXT.Buffer |
callocStack(int capacity,
org.lwjgl.system.MemoryStack stack)
Returns a new
VkPhysicalDeviceLineRasterizationPropertiesEXT.Buffer instance allocated on the specified MemoryStack and initializes all its bits to zero. |
static VkPhysicalDeviceLineRasterizationPropertiesEXT |
callocStack(org.lwjgl.system.MemoryStack stack)
Returns a new
VkPhysicalDeviceLineRasterizationPropertiesEXT instance allocated on the specified MemoryStack and initializes all its bits to zero. |
static VkPhysicalDeviceLineRasterizationPropertiesEXT |
create()
Returns a new
VkPhysicalDeviceLineRasterizationPropertiesEXT instance allocated with BufferUtils. |
static VkPhysicalDeviceLineRasterizationPropertiesEXT.Buffer |
create(int capacity)
Returns a new
VkPhysicalDeviceLineRasterizationPropertiesEXT.Buffer instance allocated with BufferUtils. |
static VkPhysicalDeviceLineRasterizationPropertiesEXT |
create(long address)
Returns a new
VkPhysicalDeviceLineRasterizationPropertiesEXT instance for the specified memory address. |
static VkPhysicalDeviceLineRasterizationPropertiesEXT.Buffer |
create(long address,
int capacity)
Create a
VkPhysicalDeviceLineRasterizationPropertiesEXT.Buffer instance at the specified memory. |
static VkPhysicalDeviceLineRasterizationPropertiesEXT |
createSafe(long address)
|
static VkPhysicalDeviceLineRasterizationPropertiesEXT.Buffer |
createSafe(long address,
int capacity)
|
int |
lineSubPixelPrecisionBits()
Returns the value of the
lineSubPixelPrecisionBits field. |
static VkPhysicalDeviceLineRasterizationPropertiesEXT |
malloc()
Returns a new
VkPhysicalDeviceLineRasterizationPropertiesEXT instance allocated with memAlloc. |
static VkPhysicalDeviceLineRasterizationPropertiesEXT.Buffer |
malloc(int capacity)
Returns a new
VkPhysicalDeviceLineRasterizationPropertiesEXT.Buffer instance allocated with memAlloc. |
static VkPhysicalDeviceLineRasterizationPropertiesEXT |
mallocStack()
Returns a new
VkPhysicalDeviceLineRasterizationPropertiesEXT instance allocated on the thread-local MemoryStack. |
static VkPhysicalDeviceLineRasterizationPropertiesEXT.Buffer |
mallocStack(int capacity)
Returns a new
VkPhysicalDeviceLineRasterizationPropertiesEXT.Buffer instance allocated on the thread-local MemoryStack. |
static VkPhysicalDeviceLineRasterizationPropertiesEXT.Buffer |
mallocStack(int capacity,
org.lwjgl.system.MemoryStack stack)
Returns a new
VkPhysicalDeviceLineRasterizationPropertiesEXT.Buffer instance allocated on the specified MemoryStack. |
static VkPhysicalDeviceLineRasterizationPropertiesEXT |
mallocStack(org.lwjgl.system.MemoryStack stack)
Returns a new
VkPhysicalDeviceLineRasterizationPropertiesEXT instance allocated on the specified MemoryStack. |
static int |
nlineSubPixelPrecisionBits(long struct)
Unsafe version of
lineSubPixelPrecisionBits(). |
static long |
npNext(long struct)
Unsafe version of
pNext(). |
static void |
npNext(long struct,
long value)
Unsafe version of
pNext. |
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. |
VkPhysicalDeviceLineRasterizationPropertiesEXT |
pNext(long value)
Sets the specified value to the
pNext field. |
VkPhysicalDeviceLineRasterizationPropertiesEXT |
set(int sType,
long pNext)
Initializes this struct with the specified values.
|
VkPhysicalDeviceLineRasterizationPropertiesEXT |
set(VkPhysicalDeviceLineRasterizationPropertiesEXT src)
Copies the specified struct data to this struct.
|
int |
sizeof() |
int |
sType()
Returns the value of the
sType field. |
VkPhysicalDeviceLineRasterizationPropertiesEXT |
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 LINESUBPIXELPRECISIONBITS
public VkPhysicalDeviceLineRasterizationPropertiesEXT(java.nio.ByteBuffer container)
VkPhysicalDeviceLineRasterizationPropertiesEXT 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 lineSubPixelPrecisionBits()
lineSubPixelPrecisionBits field.public VkPhysicalDeviceLineRasterizationPropertiesEXT sType(int value)
sType field.public VkPhysicalDeviceLineRasterizationPropertiesEXT pNext(long value)
pNext field.public VkPhysicalDeviceLineRasterizationPropertiesEXT set(int sType, long pNext)
public VkPhysicalDeviceLineRasterizationPropertiesEXT set(VkPhysicalDeviceLineRasterizationPropertiesEXT src)
src - the source structpublic static VkPhysicalDeviceLineRasterizationPropertiesEXT malloc()
VkPhysicalDeviceLineRasterizationPropertiesEXT instance allocated with memAlloc. The instance must be explicitly freed.public static VkPhysicalDeviceLineRasterizationPropertiesEXT calloc()
VkPhysicalDeviceLineRasterizationPropertiesEXT instance allocated with memCalloc. The instance must be explicitly freed.public static VkPhysicalDeviceLineRasterizationPropertiesEXT create()
VkPhysicalDeviceLineRasterizationPropertiesEXT instance allocated with BufferUtils.public static VkPhysicalDeviceLineRasterizationPropertiesEXT create(long address)
VkPhysicalDeviceLineRasterizationPropertiesEXT instance for the specified memory address.@Nullable public static VkPhysicalDeviceLineRasterizationPropertiesEXT createSafe(long address)
public static VkPhysicalDeviceLineRasterizationPropertiesEXT.Buffer malloc(int capacity)
VkPhysicalDeviceLineRasterizationPropertiesEXT.Buffer instance allocated with memAlloc. The instance must be explicitly freed.capacity - the buffer capacitypublic static VkPhysicalDeviceLineRasterizationPropertiesEXT.Buffer calloc(int capacity)
VkPhysicalDeviceLineRasterizationPropertiesEXT.Buffer instance allocated with memCalloc. The instance must be explicitly freed.capacity - the buffer capacitypublic static VkPhysicalDeviceLineRasterizationPropertiesEXT.Buffer create(int capacity)
VkPhysicalDeviceLineRasterizationPropertiesEXT.Buffer instance allocated with BufferUtils.capacity - the buffer capacitypublic static VkPhysicalDeviceLineRasterizationPropertiesEXT.Buffer create(long address, int capacity)
VkPhysicalDeviceLineRasterizationPropertiesEXT.Buffer instance at the specified memory.address - the memory addresscapacity - the buffer capacity@Nullable public static VkPhysicalDeviceLineRasterizationPropertiesEXT.Buffer createSafe(long address, int capacity)
public static VkPhysicalDeviceLineRasterizationPropertiesEXT mallocStack()
VkPhysicalDeviceLineRasterizationPropertiesEXT instance allocated on the thread-local MemoryStack.public static VkPhysicalDeviceLineRasterizationPropertiesEXT callocStack()
VkPhysicalDeviceLineRasterizationPropertiesEXT instance allocated on the thread-local MemoryStack and initializes all its bits to zero.public static VkPhysicalDeviceLineRasterizationPropertiesEXT mallocStack(org.lwjgl.system.MemoryStack stack)
VkPhysicalDeviceLineRasterizationPropertiesEXT instance allocated on the specified MemoryStack.stack - the stack from which to allocatepublic static VkPhysicalDeviceLineRasterizationPropertiesEXT callocStack(org.lwjgl.system.MemoryStack stack)
VkPhysicalDeviceLineRasterizationPropertiesEXT instance allocated on the specified MemoryStack and initializes all its bits to zero.stack - the stack from which to allocatepublic static VkPhysicalDeviceLineRasterizationPropertiesEXT.Buffer mallocStack(int capacity)
VkPhysicalDeviceLineRasterizationPropertiesEXT.Buffer instance allocated on the thread-local MemoryStack.capacity - the buffer capacitypublic static VkPhysicalDeviceLineRasterizationPropertiesEXT.Buffer callocStack(int capacity)
VkPhysicalDeviceLineRasterizationPropertiesEXT.Buffer instance allocated on the thread-local MemoryStack and initializes all its bits to zero.capacity - the buffer capacitypublic static VkPhysicalDeviceLineRasterizationPropertiesEXT.Buffer mallocStack(int capacity, org.lwjgl.system.MemoryStack stack)
VkPhysicalDeviceLineRasterizationPropertiesEXT.Buffer instance allocated on the specified MemoryStack.stack - the stack from which to allocatecapacity - the buffer capacitypublic static VkPhysicalDeviceLineRasterizationPropertiesEXT.Buffer callocStack(int capacity, org.lwjgl.system.MemoryStack stack)
VkPhysicalDeviceLineRasterizationPropertiesEXT.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 nlineSubPixelPrecisionBits(long struct)
lineSubPixelPrecisionBits().public static void nsType(long struct,
int value)
sType.public static void npNext(long struct,
long value)
pNext.Copyright LWJGL. All Rights Reserved. License terms.