Package org.lwjgl.vulkan
Class VkPipelineViewportDepthClipControlCreateInfoEXT
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.Struct
-
- org.lwjgl.vulkan.VkPipelineViewportDepthClipControlCreateInfoEXT
-
- All Implemented Interfaces:
java.lang.AutoCloseable,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
public class VkPipelineViewportDepthClipControlCreateInfoEXT extends org.lwjgl.system.Struct implements org.lwjgl.system.NativeResourceStructure specifying parameters of a newly created pipeline depth clip control state.Valid Usage
- If depthClipControl is not enabled,
negativeOneToOnemust beFALSE
Valid Usage (Implicit)
Layout
struct VkPipelineViewportDepthClipControlCreateInfoEXT { VkStructureTypesType(); void const *pNext(); VkBool32negativeOneToOne(); }
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classVkPipelineViewportDepthClipControlCreateInfoEXT.BufferAn array ofVkPipelineViewportDepthClipControlCreateInfoEXTstructs.
-
Field Summary
Fields Modifier and Type Field Description static intALIGNOFThe struct alignment in bytes.static intNEGATIVEONETOONE
PNEXTThe struct member offsets.static intSIZEOFThe struct size in bytes.static intSTYPEThe struct member offsets.
-
Constructor Summary
Constructors Constructor Description VkPipelineViewportDepthClipControlCreateInfoEXT(java.nio.ByteBuffer container)Creates aVkPipelineViewportDepthClipControlCreateInfoEXTinstance at the current position of the specifiedByteBuffercontainer.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static VkPipelineViewportDepthClipControlCreateInfoEXTcalloc()Returns a newVkPipelineViewportDepthClipControlCreateInfoEXTinstance allocated withmemCalloc.static VkPipelineViewportDepthClipControlCreateInfoEXT.Buffercalloc(int capacity)Returns a newVkPipelineViewportDepthClipControlCreateInfoEXT.Bufferinstance allocated withmemCalloc.static VkPipelineViewportDepthClipControlCreateInfoEXT.Buffercalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkPipelineViewportDepthClipControlCreateInfoEXT.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkPipelineViewportDepthClipControlCreateInfoEXTcalloc(org.lwjgl.system.MemoryStack stack)Returns a newVkPipelineViewportDepthClipControlCreateInfoEXTinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkPipelineViewportDepthClipControlCreateInfoEXTcreate()Returns a newVkPipelineViewportDepthClipControlCreateInfoEXTinstance allocated withBufferUtils.static VkPipelineViewportDepthClipControlCreateInfoEXT.Buffercreate(int capacity)Returns a newVkPipelineViewportDepthClipControlCreateInfoEXT.Bufferinstance allocated withBufferUtils.static VkPipelineViewportDepthClipControlCreateInfoEXTcreate(long address)Returns a newVkPipelineViewportDepthClipControlCreateInfoEXTinstance for the specified memory address.static VkPipelineViewportDepthClipControlCreateInfoEXT.Buffercreate(long address, int capacity)Create aVkPipelineViewportDepthClipControlCreateInfoEXT.Bufferinstance at the specified memory.static VkPipelineViewportDepthClipControlCreateInfoEXTcreateSafe(long address)static VkPipelineViewportDepthClipControlCreateInfoEXT.BuffercreateSafe(long address, int capacity)static VkPipelineViewportDepthClipControlCreateInfoEXTmalloc()Returns a newVkPipelineViewportDepthClipControlCreateInfoEXTinstance allocated withmemAlloc.static VkPipelineViewportDepthClipControlCreateInfoEXT.Buffermalloc(int capacity)Returns a newVkPipelineViewportDepthClipControlCreateInfoEXT.Bufferinstance allocated withmemAlloc.static VkPipelineViewportDepthClipControlCreateInfoEXT.Buffermalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkPipelineViewportDepthClipControlCreateInfoEXT.Bufferinstance allocated on the specifiedMemoryStack.static VkPipelineViewportDepthClipControlCreateInfoEXTmalloc(org.lwjgl.system.MemoryStack stack)Returns a newVkPipelineViewportDepthClipControlCreateInfoEXTinstance allocated on the specifiedMemoryStack.booleannegativeOneToOne()sets thezmin the view volume to-wcVkPipelineViewportDepthClipControlCreateInfoEXTnegativeOneToOne(boolean value)Sets the specified value to thenegativeOneToOne()field.static intnnegativeOneToOne(long struct)Unsafe version ofnegativeOneToOne().static voidnnegativeOneToOne(long struct, int value)Unsafe version ofnegativeOneToOne.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()NULLor a pointer to a structure extending this structure.VkPipelineViewportDepthClipControlCreateInfoEXTpNext(long value)Sets the specified value to thepNext()field.VkPipelineViewportDepthClipControlCreateInfoEXTset(int sType, long pNext, boolean negativeOneToOne)Initializes this struct with the specified values.VkPipelineViewportDepthClipControlCreateInfoEXTset(VkPipelineViewportDepthClipControlCreateInfoEXT src)Copies the specified struct data to this struct.intsizeof()intsType()the type of this structure.VkPipelineViewportDepthClipControlCreateInfoEXTsType(int value)Sets the specified value to thesType()field.VkPipelineViewportDepthClipControlCreateInfoEXTsType$Default()Sets theSTRUCTURE_TYPE_PIPELINE_VIEWPORT_DEPTH_CLIP_CONTROL_CREATE_INFO_EXTvalue to thesType()field.
-
-
-
Constructor Detail
-
VkPipelineViewportDepthClipControlCreateInfoEXT
public VkPipelineViewportDepthClipControlCreateInfoEXT(java.nio.ByteBuffer container)
Creates aVkPipelineViewportDepthClipControlCreateInfoEXTinstance 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()
the type of this structure.
-
pNext
public long pNext()
NULLor a pointer to a structure extending this structure.
-
negativeOneToOne
public boolean negativeOneToOne()
sets thezmin the view volume to-wc
-
sType
public VkPipelineViewportDepthClipControlCreateInfoEXT sType(int value)
Sets the specified value to thesType()field.
-
sType$Default
public VkPipelineViewportDepthClipControlCreateInfoEXT sType$Default()
Sets theSTRUCTURE_TYPE_PIPELINE_VIEWPORT_DEPTH_CLIP_CONTROL_CREATE_INFO_EXTvalue to thesType()field.
-
pNext
public VkPipelineViewportDepthClipControlCreateInfoEXT pNext(long value)
Sets the specified value to thepNext()field.
-
negativeOneToOne
public VkPipelineViewportDepthClipControlCreateInfoEXT negativeOneToOne(boolean value)
Sets the specified value to thenegativeOneToOne()field.
-
set
public VkPipelineViewportDepthClipControlCreateInfoEXT set(int sType, long pNext, boolean negativeOneToOne)
Initializes this struct with the specified values.
-
set
public VkPipelineViewportDepthClipControlCreateInfoEXT set(VkPipelineViewportDepthClipControlCreateInfoEXT src)
Copies the specified struct data to this struct.- Parameters:
src- the source struct- Returns:
- this struct
-
malloc
public static VkPipelineViewportDepthClipControlCreateInfoEXT malloc()
Returns a newVkPipelineViewportDepthClipControlCreateInfoEXTinstance allocated withmemAlloc. The instance must be explicitly freed.
-
calloc
public static VkPipelineViewportDepthClipControlCreateInfoEXT calloc()
Returns a newVkPipelineViewportDepthClipControlCreateInfoEXTinstance allocated withmemCalloc. The instance must be explicitly freed.
-
create
public static VkPipelineViewportDepthClipControlCreateInfoEXT create()
Returns a newVkPipelineViewportDepthClipControlCreateInfoEXTinstance allocated withBufferUtils.
-
create
public static VkPipelineViewportDepthClipControlCreateInfoEXT create(long address)
Returns a newVkPipelineViewportDepthClipControlCreateInfoEXTinstance for the specified memory address.
-
createSafe
@Nullable public static VkPipelineViewportDepthClipControlCreateInfoEXT createSafe(long address)
-
malloc
public static VkPipelineViewportDepthClipControlCreateInfoEXT.Buffer malloc(int capacity)
Returns a newVkPipelineViewportDepthClipControlCreateInfoEXT.Bufferinstance allocated withmemAlloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
calloc
public static VkPipelineViewportDepthClipControlCreateInfoEXT.Buffer calloc(int capacity)
Returns a newVkPipelineViewportDepthClipControlCreateInfoEXT.Bufferinstance allocated withmemCalloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
create
public static VkPipelineViewportDepthClipControlCreateInfoEXT.Buffer create(int capacity)
Returns a newVkPipelineViewportDepthClipControlCreateInfoEXT.Bufferinstance allocated withBufferUtils.- Parameters:
capacity- the buffer capacity
-
create
public static VkPipelineViewportDepthClipControlCreateInfoEXT.Buffer create(long address, int capacity)
Create aVkPipelineViewportDepthClipControlCreateInfoEXT.Bufferinstance at the specified memory.- Parameters:
address- the memory addresscapacity- the buffer capacity
-
createSafe
@Nullable public static VkPipelineViewportDepthClipControlCreateInfoEXT.Buffer createSafe(long address, int capacity)
-
malloc
public static VkPipelineViewportDepthClipControlCreateInfoEXT malloc(org.lwjgl.system.MemoryStack stack)
Returns a newVkPipelineViewportDepthClipControlCreateInfoEXTinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocate
-
calloc
public static VkPipelineViewportDepthClipControlCreateInfoEXT calloc(org.lwjgl.system.MemoryStack stack)
Returns a newVkPipelineViewportDepthClipControlCreateInfoEXTinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocate
-
malloc
public static VkPipelineViewportDepthClipControlCreateInfoEXT.Buffer malloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkPipelineViewportDepthClipControlCreateInfoEXT.Bufferinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocatecapacity- the buffer capacity
-
calloc
public static VkPipelineViewportDepthClipControlCreateInfoEXT.Buffer calloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkPipelineViewportDepthClipControlCreateInfoEXT.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().
-
nnegativeOneToOne
public static int nnegativeOneToOne(long struct)
Unsafe version ofnegativeOneToOne().
-
nsType
public static void nsType(long struct, int value)Unsafe version ofsType.
-
npNext
public static void npNext(long struct, long value)Unsafe version ofpNext.
-
nnegativeOneToOne
public static void nnegativeOneToOne(long struct, int value)Unsafe version ofnegativeOneToOne.
-
-