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