Package org.lwjgl.vulkan
Class VkPhysicalDeviceDepthClipControlFeaturesEXT
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.Struct
-
- org.lwjgl.vulkan.VkPhysicalDeviceDepthClipControlFeaturesEXT
-
- All Implemented Interfaces:
java.lang.AutoCloseable,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
public class VkPhysicalDeviceDepthClipControlFeaturesEXT extends org.lwjgl.system.Struct implements org.lwjgl.system.NativeResourceStructure describing additional depth clip control supported by an implementation.Description
If the
VkPhysicalDeviceDepthClipControlFeaturesEXTstructure is included in thepNextchain of theVkPhysicalDeviceFeatures2structure passed toGetPhysicalDeviceFeatures2, it is filled in to indicate whether each corresponding feature is supported.VkPhysicalDeviceDepthClipControlFeaturesEXTcan also be used in thepNextchain ofVkDeviceCreateInfoto selectively enable these features.Valid Usage (Implicit)
Layout
struct VkPhysicalDeviceDepthClipControlFeaturesEXT { VkStructureType sType; void * pNext; VkBool32depthClipControl(); }
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classVkPhysicalDeviceDepthClipControlFeaturesEXT.BufferAn array ofVkPhysicalDeviceDepthClipControlFeaturesEXTstructs.
-
Field Summary
Fields Modifier and Type Field Description static intALIGNOFThe struct alignment in bytes.static intDEPTHCLIPCONTROL
PNEXTThe struct member offsets.static intSIZEOFThe struct size in bytes.static intSTYPEThe struct member offsets.
-
Constructor Summary
Constructors Constructor Description VkPhysicalDeviceDepthClipControlFeaturesEXT(java.nio.ByteBuffer container)Creates aVkPhysicalDeviceDepthClipControlFeaturesEXTinstance at the current position of the specifiedByteBuffercontainer.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static VkPhysicalDeviceDepthClipControlFeaturesEXTcalloc()Returns a newVkPhysicalDeviceDepthClipControlFeaturesEXTinstance allocated withmemCalloc.static VkPhysicalDeviceDepthClipControlFeaturesEXT.Buffercalloc(int capacity)Returns a newVkPhysicalDeviceDepthClipControlFeaturesEXT.Bufferinstance allocated withmemCalloc.static VkPhysicalDeviceDepthClipControlFeaturesEXT.Buffercalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkPhysicalDeviceDepthClipControlFeaturesEXT.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkPhysicalDeviceDepthClipControlFeaturesEXTcalloc(org.lwjgl.system.MemoryStack stack)Returns a newVkPhysicalDeviceDepthClipControlFeaturesEXTinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkPhysicalDeviceDepthClipControlFeaturesEXTcreate()Returns a newVkPhysicalDeviceDepthClipControlFeaturesEXTinstance allocated withBufferUtils.static VkPhysicalDeviceDepthClipControlFeaturesEXT.Buffercreate(int capacity)Returns a newVkPhysicalDeviceDepthClipControlFeaturesEXT.Bufferinstance allocated withBufferUtils.static VkPhysicalDeviceDepthClipControlFeaturesEXTcreate(long address)Returns a newVkPhysicalDeviceDepthClipControlFeaturesEXTinstance for the specified memory address.static VkPhysicalDeviceDepthClipControlFeaturesEXT.Buffercreate(long address, int capacity)Create aVkPhysicalDeviceDepthClipControlFeaturesEXT.Bufferinstance at the specified memory.static VkPhysicalDeviceDepthClipControlFeaturesEXTcreateSafe(long address)static VkPhysicalDeviceDepthClipControlFeaturesEXT.BuffercreateSafe(long address, int capacity)booleandepthClipControl()indicates that the implementation supports settingVkPipelineViewportDepthClipControlCreateInfoEXT::negativeOneToOnetoTRUE.VkPhysicalDeviceDepthClipControlFeaturesEXTdepthClipControl(boolean value)Sets the specified value to thedepthClipControl()field.static VkPhysicalDeviceDepthClipControlFeaturesEXTmalloc()Returns a newVkPhysicalDeviceDepthClipControlFeaturesEXTinstance allocated withmemAlloc.static VkPhysicalDeviceDepthClipControlFeaturesEXT.Buffermalloc(int capacity)Returns a newVkPhysicalDeviceDepthClipControlFeaturesEXT.Bufferinstance allocated withmemAlloc.static VkPhysicalDeviceDepthClipControlFeaturesEXT.Buffermalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkPhysicalDeviceDepthClipControlFeaturesEXT.Bufferinstance allocated on the specifiedMemoryStack.static VkPhysicalDeviceDepthClipControlFeaturesEXTmalloc(org.lwjgl.system.MemoryStack stack)Returns a newVkPhysicalDeviceDepthClipControlFeaturesEXTinstance allocated on the specifiedMemoryStack.static intndepthClipControl(long struct)Unsafe version ofdepthClipControl().static voidndepthClipControl(long struct, int value)Unsafe version ofdepthClipControl.static longnpNext(long struct)Unsafe version ofpNext().static voidnpNext(long struct, long value)Unsafe version ofpNext.static intnsType(long struct)Unsafe version ofsType().static voidnsType(long struct, int value)Unsafe version ofsType.longpNext()VkPhysicalDeviceDepthClipControlFeaturesEXTpNext(long value)Sets the specified value to thepNextfield.VkPhysicalDeviceDepthClipControlFeaturesEXTset(int sType, long pNext, boolean depthClipControl)Initializes this struct with the specified values.VkPhysicalDeviceDepthClipControlFeaturesEXTset(VkPhysicalDeviceDepthClipControlFeaturesEXT src)Copies the specified struct data to this struct.intsizeof()intsType()VkPhysicalDeviceDepthClipControlFeaturesEXTsType(int value)Sets the specified value to thesTypefield.VkPhysicalDeviceDepthClipControlFeaturesEXTsType$Default()Sets theSTRUCTURE_TYPE_PHYSICAL_DEVICE_DEPTH_CLIP_CONTROL_FEATURES_EXTvalue to thesTypefield.
-
-
-
Constructor Detail
-
VkPhysicalDeviceDepthClipControlFeaturesEXT
public VkPhysicalDeviceDepthClipControlFeaturesEXT(java.nio.ByteBuffer container)
Creates aVkPhysicalDeviceDepthClipControlFeaturesEXTinstance 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()
- Returns:
- the value of the
sTypefield.
-
pNext
public long pNext()
- Returns:
- the value of the
pNextfield.
-
depthClipControl
public boolean depthClipControl()
indicates that the implementation supports settingVkPipelineViewportDepthClipControlCreateInfoEXT::negativeOneToOnetoTRUE.
-
sType
public VkPhysicalDeviceDepthClipControlFeaturesEXT sType(int value)
Sets the specified value to thesTypefield.
-
sType$Default
public VkPhysicalDeviceDepthClipControlFeaturesEXT sType$Default()
Sets theSTRUCTURE_TYPE_PHYSICAL_DEVICE_DEPTH_CLIP_CONTROL_FEATURES_EXTvalue to thesTypefield.
-
pNext
public VkPhysicalDeviceDepthClipControlFeaturesEXT pNext(long value)
Sets the specified value to thepNextfield.
-
depthClipControl
public VkPhysicalDeviceDepthClipControlFeaturesEXT depthClipControl(boolean value)
Sets the specified value to thedepthClipControl()field.
-
set
public VkPhysicalDeviceDepthClipControlFeaturesEXT set(int sType, long pNext, boolean depthClipControl)
Initializes this struct with the specified values.
-
set
public VkPhysicalDeviceDepthClipControlFeaturesEXT set(VkPhysicalDeviceDepthClipControlFeaturesEXT src)
Copies the specified struct data to this struct.- Parameters:
src- the source struct- Returns:
- this struct
-
malloc
public static VkPhysicalDeviceDepthClipControlFeaturesEXT malloc()
Returns a newVkPhysicalDeviceDepthClipControlFeaturesEXTinstance allocated withmemAlloc. The instance must be explicitly freed.
-
calloc
public static VkPhysicalDeviceDepthClipControlFeaturesEXT calloc()
Returns a newVkPhysicalDeviceDepthClipControlFeaturesEXTinstance allocated withmemCalloc. The instance must be explicitly freed.
-
create
public static VkPhysicalDeviceDepthClipControlFeaturesEXT create()
Returns a newVkPhysicalDeviceDepthClipControlFeaturesEXTinstance allocated withBufferUtils.
-
create
public static VkPhysicalDeviceDepthClipControlFeaturesEXT create(long address)
Returns a newVkPhysicalDeviceDepthClipControlFeaturesEXTinstance for the specified memory address.
-
createSafe
@Nullable public static VkPhysicalDeviceDepthClipControlFeaturesEXT createSafe(long address)
-
malloc
public static VkPhysicalDeviceDepthClipControlFeaturesEXT.Buffer malloc(int capacity)
Returns a newVkPhysicalDeviceDepthClipControlFeaturesEXT.Bufferinstance allocated withmemAlloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
calloc
public static VkPhysicalDeviceDepthClipControlFeaturesEXT.Buffer calloc(int capacity)
Returns a newVkPhysicalDeviceDepthClipControlFeaturesEXT.Bufferinstance allocated withmemCalloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
create
public static VkPhysicalDeviceDepthClipControlFeaturesEXT.Buffer create(int capacity)
Returns a newVkPhysicalDeviceDepthClipControlFeaturesEXT.Bufferinstance allocated withBufferUtils.- Parameters:
capacity- the buffer capacity
-
create
public static VkPhysicalDeviceDepthClipControlFeaturesEXT.Buffer create(long address, int capacity)
Create aVkPhysicalDeviceDepthClipControlFeaturesEXT.Bufferinstance at the specified memory.- Parameters:
address- the memory addresscapacity- the buffer capacity
-
createSafe
@Nullable public static VkPhysicalDeviceDepthClipControlFeaturesEXT.Buffer createSafe(long address, int capacity)
-
malloc
public static VkPhysicalDeviceDepthClipControlFeaturesEXT malloc(org.lwjgl.system.MemoryStack stack)
Returns a newVkPhysicalDeviceDepthClipControlFeaturesEXTinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocate
-
calloc
public static VkPhysicalDeviceDepthClipControlFeaturesEXT calloc(org.lwjgl.system.MemoryStack stack)
Returns a newVkPhysicalDeviceDepthClipControlFeaturesEXTinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocate
-
malloc
public static VkPhysicalDeviceDepthClipControlFeaturesEXT.Buffer malloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkPhysicalDeviceDepthClipControlFeaturesEXT.Bufferinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocatecapacity- the buffer capacity
-
calloc
public static VkPhysicalDeviceDepthClipControlFeaturesEXT.Buffer calloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkPhysicalDeviceDepthClipControlFeaturesEXT.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().
-
ndepthClipControl
public static int ndepthClipControl(long struct)
Unsafe version ofdepthClipControl().
-
nsType
public static void nsType(long struct, int value)Unsafe version ofsType.
-
npNext
public static void npNext(long struct, long value)Unsafe version ofpNext.
-
ndepthClipControl
public static void ndepthClipControl(long struct, int value)Unsafe version ofdepthClipControl.
-
-