public class VkPhysicalDeviceDepthClipEnableFeaturesEXT
extends org.lwjgl.system.Struct
implements org.lwjgl.system.NativeResource
If the VkPhysicalDeviceDepthClipEnableFeaturesEXT structure is included in the pNext chain of VkPhysicalDeviceFeatures2, it is filled with values indicating whether the feature is supported. VkPhysicalDeviceDepthClipEnableFeaturesEXT can also be included in the pNext chain of VkDeviceCreateInfo to enable this feature.
depthClipEnable – indicates that the implementation supports setting the depth clipping operation explicitly via the VkPipelineRasterizationDepthClipStateCreateInfoEXT pipeline state. Otherwise depth clipping is only enabled when VkPipelineRasterizationStateCreateInfo::depthClampEnable is set to FALSE.
struct VkPhysicalDeviceDepthClipEnableFeaturesEXT {
VkStructureType sType;
void * pNext;
VkBool32 depthClipEnable;
}| Modifier and Type | Class and Description |
|---|---|
static class |
VkPhysicalDeviceDepthClipEnableFeaturesEXT.Buffer
An array of
VkPhysicalDeviceDepthClipEnableFeaturesEXT structs. |
| Modifier and Type | Field and Description |
|---|---|
static int |
ALIGNOF
The struct alignment in bytes.
|
static int |
DEPTHCLIPENABLE
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 |
|---|
VkPhysicalDeviceDepthClipEnableFeaturesEXT(java.nio.ByteBuffer container)
Creates a
VkPhysicalDeviceDepthClipEnableFeaturesEXT instance at the current position of the specified ByteBuffer container. |
| Modifier and Type | Method and Description |
|---|---|
static VkPhysicalDeviceDepthClipEnableFeaturesEXT |
calloc()
Returns a new
VkPhysicalDeviceDepthClipEnableFeaturesEXT instance allocated with memCalloc. |
static VkPhysicalDeviceDepthClipEnableFeaturesEXT.Buffer |
calloc(int capacity)
Returns a new
VkPhysicalDeviceDepthClipEnableFeaturesEXT.Buffer instance allocated with memCalloc. |
static VkPhysicalDeviceDepthClipEnableFeaturesEXT |
callocStack()
Returns a new
VkPhysicalDeviceDepthClipEnableFeaturesEXT instance allocated on the thread-local MemoryStack and initializes all its bits to zero. |
static VkPhysicalDeviceDepthClipEnableFeaturesEXT.Buffer |
callocStack(int capacity)
Returns a new
VkPhysicalDeviceDepthClipEnableFeaturesEXT.Buffer instance allocated on the thread-local MemoryStack and initializes all its bits to zero. |
static VkPhysicalDeviceDepthClipEnableFeaturesEXT.Buffer |
callocStack(int capacity,
org.lwjgl.system.MemoryStack stack)
Returns a new
VkPhysicalDeviceDepthClipEnableFeaturesEXT.Buffer instance allocated on the specified MemoryStack and initializes all its bits to zero. |
static VkPhysicalDeviceDepthClipEnableFeaturesEXT |
callocStack(org.lwjgl.system.MemoryStack stack)
Returns a new
VkPhysicalDeviceDepthClipEnableFeaturesEXT instance allocated on the specified MemoryStack and initializes all its bits to zero. |
static VkPhysicalDeviceDepthClipEnableFeaturesEXT |
create()
Returns a new
VkPhysicalDeviceDepthClipEnableFeaturesEXT instance allocated with BufferUtils. |
static VkPhysicalDeviceDepthClipEnableFeaturesEXT.Buffer |
create(int capacity)
Returns a new
VkPhysicalDeviceDepthClipEnableFeaturesEXT.Buffer instance allocated with BufferUtils. |
static VkPhysicalDeviceDepthClipEnableFeaturesEXT |
create(long address)
Returns a new
VkPhysicalDeviceDepthClipEnableFeaturesEXT instance for the specified memory address. |
static VkPhysicalDeviceDepthClipEnableFeaturesEXT.Buffer |
create(long address,
int capacity)
Create a
VkPhysicalDeviceDepthClipEnableFeaturesEXT.Buffer instance at the specified memory. |
static VkPhysicalDeviceDepthClipEnableFeaturesEXT |
createSafe(long address)
|
static VkPhysicalDeviceDepthClipEnableFeaturesEXT.Buffer |
createSafe(long address,
int capacity)
|
boolean |
depthClipEnable()
Returns the value of the
depthClipEnable field. |
VkPhysicalDeviceDepthClipEnableFeaturesEXT |
depthClipEnable(boolean value)
Sets the specified value to the
depthClipEnable field. |
static VkPhysicalDeviceDepthClipEnableFeaturesEXT |
malloc()
Returns a new
VkPhysicalDeviceDepthClipEnableFeaturesEXT instance allocated with memAlloc. |
static VkPhysicalDeviceDepthClipEnableFeaturesEXT.Buffer |
malloc(int capacity)
Returns a new
VkPhysicalDeviceDepthClipEnableFeaturesEXT.Buffer instance allocated with memAlloc. |
static VkPhysicalDeviceDepthClipEnableFeaturesEXT |
mallocStack()
Returns a new
VkPhysicalDeviceDepthClipEnableFeaturesEXT instance allocated on the thread-local MemoryStack. |
static VkPhysicalDeviceDepthClipEnableFeaturesEXT.Buffer |
mallocStack(int capacity)
Returns a new
VkPhysicalDeviceDepthClipEnableFeaturesEXT.Buffer instance allocated on the thread-local MemoryStack. |
static VkPhysicalDeviceDepthClipEnableFeaturesEXT.Buffer |
mallocStack(int capacity,
org.lwjgl.system.MemoryStack stack)
Returns a new
VkPhysicalDeviceDepthClipEnableFeaturesEXT.Buffer instance allocated on the specified MemoryStack. |
static VkPhysicalDeviceDepthClipEnableFeaturesEXT |
mallocStack(org.lwjgl.system.MemoryStack stack)
Returns a new
VkPhysicalDeviceDepthClipEnableFeaturesEXT instance allocated on the specified MemoryStack. |
static int |
ndepthClipEnable(long struct)
Unsafe version of
depthClipEnable(). |
static void |
ndepthClipEnable(long struct,
int value)
Unsafe version of
depthClipEnable. |
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. |
VkPhysicalDeviceDepthClipEnableFeaturesEXT |
pNext(long value)
Sets the specified value to the
pNext field. |
VkPhysicalDeviceDepthClipEnableFeaturesEXT |
set(int sType,
long pNext,
boolean depthClipEnable)
Initializes this struct with the specified values.
|
VkPhysicalDeviceDepthClipEnableFeaturesEXT |
set(VkPhysicalDeviceDepthClipEnableFeaturesEXT src)
Copies the specified struct data to this struct.
|
int |
sizeof() |
int |
sType()
Returns the value of the
sType field. |
VkPhysicalDeviceDepthClipEnableFeaturesEXT |
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 DEPTHCLIPENABLE
public VkPhysicalDeviceDepthClipEnableFeaturesEXT(java.nio.ByteBuffer container)
VkPhysicalDeviceDepthClipEnableFeaturesEXT 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 depthClipEnable()
depthClipEnable field.public VkPhysicalDeviceDepthClipEnableFeaturesEXT sType(int value)
sType field.public VkPhysicalDeviceDepthClipEnableFeaturesEXT pNext(long value)
pNext field.public VkPhysicalDeviceDepthClipEnableFeaturesEXT depthClipEnable(boolean value)
depthClipEnable field.public VkPhysicalDeviceDepthClipEnableFeaturesEXT set(int sType, long pNext, boolean depthClipEnable)
public VkPhysicalDeviceDepthClipEnableFeaturesEXT set(VkPhysicalDeviceDepthClipEnableFeaturesEXT src)
src - the source structpublic static VkPhysicalDeviceDepthClipEnableFeaturesEXT malloc()
VkPhysicalDeviceDepthClipEnableFeaturesEXT instance allocated with memAlloc. The instance must be explicitly freed.public static VkPhysicalDeviceDepthClipEnableFeaturesEXT calloc()
VkPhysicalDeviceDepthClipEnableFeaturesEXT instance allocated with memCalloc. The instance must be explicitly freed.public static VkPhysicalDeviceDepthClipEnableFeaturesEXT create()
VkPhysicalDeviceDepthClipEnableFeaturesEXT instance allocated with BufferUtils.public static VkPhysicalDeviceDepthClipEnableFeaturesEXT create(long address)
VkPhysicalDeviceDepthClipEnableFeaturesEXT instance for the specified memory address.@Nullable public static VkPhysicalDeviceDepthClipEnableFeaturesEXT createSafe(long address)
public static VkPhysicalDeviceDepthClipEnableFeaturesEXT.Buffer malloc(int capacity)
VkPhysicalDeviceDepthClipEnableFeaturesEXT.Buffer instance allocated with memAlloc. The instance must be explicitly freed.capacity - the buffer capacitypublic static VkPhysicalDeviceDepthClipEnableFeaturesEXT.Buffer calloc(int capacity)
VkPhysicalDeviceDepthClipEnableFeaturesEXT.Buffer instance allocated with memCalloc. The instance must be explicitly freed.capacity - the buffer capacitypublic static VkPhysicalDeviceDepthClipEnableFeaturesEXT.Buffer create(int capacity)
VkPhysicalDeviceDepthClipEnableFeaturesEXT.Buffer instance allocated with BufferUtils.capacity - the buffer capacitypublic static VkPhysicalDeviceDepthClipEnableFeaturesEXT.Buffer create(long address, int capacity)
VkPhysicalDeviceDepthClipEnableFeaturesEXT.Buffer instance at the specified memory.address - the memory addresscapacity - the buffer capacity@Nullable public static VkPhysicalDeviceDepthClipEnableFeaturesEXT.Buffer createSafe(long address, int capacity)
public static VkPhysicalDeviceDepthClipEnableFeaturesEXT mallocStack()
VkPhysicalDeviceDepthClipEnableFeaturesEXT instance allocated on the thread-local MemoryStack.public static VkPhysicalDeviceDepthClipEnableFeaturesEXT callocStack()
VkPhysicalDeviceDepthClipEnableFeaturesEXT instance allocated on the thread-local MemoryStack and initializes all its bits to zero.public static VkPhysicalDeviceDepthClipEnableFeaturesEXT mallocStack(org.lwjgl.system.MemoryStack stack)
VkPhysicalDeviceDepthClipEnableFeaturesEXT instance allocated on the specified MemoryStack.stack - the stack from which to allocatepublic static VkPhysicalDeviceDepthClipEnableFeaturesEXT callocStack(org.lwjgl.system.MemoryStack stack)
VkPhysicalDeviceDepthClipEnableFeaturesEXT instance allocated on the specified MemoryStack and initializes all its bits to zero.stack - the stack from which to allocatepublic static VkPhysicalDeviceDepthClipEnableFeaturesEXT.Buffer mallocStack(int capacity)
VkPhysicalDeviceDepthClipEnableFeaturesEXT.Buffer instance allocated on the thread-local MemoryStack.capacity - the buffer capacitypublic static VkPhysicalDeviceDepthClipEnableFeaturesEXT.Buffer callocStack(int capacity)
VkPhysicalDeviceDepthClipEnableFeaturesEXT.Buffer instance allocated on the thread-local MemoryStack and initializes all its bits to zero.capacity - the buffer capacitypublic static VkPhysicalDeviceDepthClipEnableFeaturesEXT.Buffer mallocStack(int capacity, org.lwjgl.system.MemoryStack stack)
VkPhysicalDeviceDepthClipEnableFeaturesEXT.Buffer instance allocated on the specified MemoryStack.stack - the stack from which to allocatecapacity - the buffer capacitypublic static VkPhysicalDeviceDepthClipEnableFeaturesEXT.Buffer callocStack(int capacity, org.lwjgl.system.MemoryStack stack)
VkPhysicalDeviceDepthClipEnableFeaturesEXT.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 ndepthClipEnable(long struct)
depthClipEnable().public static void nsType(long struct,
int value)
sType.public static void npNext(long struct,
long value)
pNext.public static void ndepthClipEnable(long struct,
int value)
depthClipEnable.Copyright LWJGL. All Rights Reserved. License terms.