public class VkPipelineRasterizationDepthClipStateCreateInfoEXT
extends org.lwjgl.system.Struct
implements org.lwjgl.system.NativeResource
sType must be STRUCTURE_TYPE_PIPELINE_RASTERIZATION_DEPTH_CLIP_STATE_CREATE_INFO_EXTflags must be 0sType – the type of this structure.pNext – NULL or a pointer to an extension-specific structure.flags – reserved for future use.depthClipEnable – controls whether depth clipping is enabled as described in Primitive Clipping.
struct VkPipelineRasterizationDepthClipStateCreateInfoEXT {
VkStructureType sType;
void const * pNext;
VkPipelineRasterizationDepthClipStateCreateFlagsEXT flags;
VkBool32 depthClipEnable;
}| Modifier and Type | Class and Description |
|---|---|
static class |
VkPipelineRasterizationDepthClipStateCreateInfoEXT.Buffer
An array of
VkPipelineRasterizationDepthClipStateCreateInfoEXT structs. |
| Modifier and Type | Field and Description |
|---|---|
static int |
ALIGNOF
The struct alignment in bytes.
|
static int |
DEPTHCLIPENABLE
The struct member offsets.
|
static int |
FLAGS
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 |
|---|
VkPipelineRasterizationDepthClipStateCreateInfoEXT(java.nio.ByteBuffer container)
Creates a
VkPipelineRasterizationDepthClipStateCreateInfoEXT instance at the current position of the specified ByteBuffer container. |
| Modifier and Type | Method and Description |
|---|---|
static VkPipelineRasterizationDepthClipStateCreateInfoEXT |
calloc()
Returns a new
VkPipelineRasterizationDepthClipStateCreateInfoEXT instance allocated with memCalloc. |
static VkPipelineRasterizationDepthClipStateCreateInfoEXT.Buffer |
calloc(int capacity)
Returns a new
VkPipelineRasterizationDepthClipStateCreateInfoEXT.Buffer instance allocated with memCalloc. |
static VkPipelineRasterizationDepthClipStateCreateInfoEXT |
callocStack()
Returns a new
VkPipelineRasterizationDepthClipStateCreateInfoEXT instance allocated on the thread-local MemoryStack and initializes all its bits to zero. |
static VkPipelineRasterizationDepthClipStateCreateInfoEXT.Buffer |
callocStack(int capacity)
Returns a new
VkPipelineRasterizationDepthClipStateCreateInfoEXT.Buffer instance allocated on the thread-local MemoryStack and initializes all its bits to zero. |
static VkPipelineRasterizationDepthClipStateCreateInfoEXT.Buffer |
callocStack(int capacity,
org.lwjgl.system.MemoryStack stack)
Returns a new
VkPipelineRasterizationDepthClipStateCreateInfoEXT.Buffer instance allocated on the specified MemoryStack and initializes all its bits to zero. |
static VkPipelineRasterizationDepthClipStateCreateInfoEXT |
callocStack(org.lwjgl.system.MemoryStack stack)
Returns a new
VkPipelineRasterizationDepthClipStateCreateInfoEXT instance allocated on the specified MemoryStack and initializes all its bits to zero. |
static VkPipelineRasterizationDepthClipStateCreateInfoEXT |
create()
Returns a new
VkPipelineRasterizationDepthClipStateCreateInfoEXT instance allocated with BufferUtils. |
static VkPipelineRasterizationDepthClipStateCreateInfoEXT.Buffer |
create(int capacity)
Returns a new
VkPipelineRasterizationDepthClipStateCreateInfoEXT.Buffer instance allocated with BufferUtils. |
static VkPipelineRasterizationDepthClipStateCreateInfoEXT |
create(long address)
Returns a new
VkPipelineRasterizationDepthClipStateCreateInfoEXT instance for the specified memory address. |
static VkPipelineRasterizationDepthClipStateCreateInfoEXT.Buffer |
create(long address,
int capacity)
Create a
VkPipelineRasterizationDepthClipStateCreateInfoEXT.Buffer instance at the specified memory. |
static VkPipelineRasterizationDepthClipStateCreateInfoEXT |
createSafe(long address)
|
static VkPipelineRasterizationDepthClipStateCreateInfoEXT.Buffer |
createSafe(long address,
int capacity)
|
boolean |
depthClipEnable()
Returns the value of the
depthClipEnable field. |
VkPipelineRasterizationDepthClipStateCreateInfoEXT |
depthClipEnable(boolean value)
Sets the specified value to the
depthClipEnable field. |
int |
flags()
Returns the value of the
flags field. |
VkPipelineRasterizationDepthClipStateCreateInfoEXT |
flags(int value)
Sets the specified value to the
flags field. |
static VkPipelineRasterizationDepthClipStateCreateInfoEXT |
malloc()
Returns a new
VkPipelineRasterizationDepthClipStateCreateInfoEXT instance allocated with memAlloc. |
static VkPipelineRasterizationDepthClipStateCreateInfoEXT.Buffer |
malloc(int capacity)
Returns a new
VkPipelineRasterizationDepthClipStateCreateInfoEXT.Buffer instance allocated with memAlloc. |
static VkPipelineRasterizationDepthClipStateCreateInfoEXT |
mallocStack()
Returns a new
VkPipelineRasterizationDepthClipStateCreateInfoEXT instance allocated on the thread-local MemoryStack. |
static VkPipelineRasterizationDepthClipStateCreateInfoEXT.Buffer |
mallocStack(int capacity)
Returns a new
VkPipelineRasterizationDepthClipStateCreateInfoEXT.Buffer instance allocated on the thread-local MemoryStack. |
static VkPipelineRasterizationDepthClipStateCreateInfoEXT.Buffer |
mallocStack(int capacity,
org.lwjgl.system.MemoryStack stack)
Returns a new
VkPipelineRasterizationDepthClipStateCreateInfoEXT.Buffer instance allocated on the specified MemoryStack. |
static VkPipelineRasterizationDepthClipStateCreateInfoEXT |
mallocStack(org.lwjgl.system.MemoryStack stack)
Returns a new
VkPipelineRasterizationDepthClipStateCreateInfoEXT 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 int |
nflags(long struct)
Unsafe version of
flags(). |
static void |
nflags(long struct,
int value)
Unsafe version of
flags. |
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. |
VkPipelineRasterizationDepthClipStateCreateInfoEXT |
pNext(long value)
Sets the specified value to the
pNext field. |
VkPipelineRasterizationDepthClipStateCreateInfoEXT |
set(int sType,
long pNext,
int flags,
boolean depthClipEnable)
Initializes this struct with the specified values.
|
VkPipelineRasterizationDepthClipStateCreateInfoEXT |
set(VkPipelineRasterizationDepthClipStateCreateInfoEXT src)
Copies the specified struct data to this struct.
|
int |
sizeof() |
int |
sType()
Returns the value of the
sType field. |
VkPipelineRasterizationDepthClipStateCreateInfoEXT |
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 FLAGS
public static final int DEPTHCLIPENABLE
public VkPipelineRasterizationDepthClipStateCreateInfoEXT(java.nio.ByteBuffer container)
VkPipelineRasterizationDepthClipStateCreateInfoEXT 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 flags()
flags field.public boolean depthClipEnable()
depthClipEnable field.public VkPipelineRasterizationDepthClipStateCreateInfoEXT sType(int value)
sType field.public VkPipelineRasterizationDepthClipStateCreateInfoEXT pNext(long value)
pNext field.public VkPipelineRasterizationDepthClipStateCreateInfoEXT flags(int value)
flags field.public VkPipelineRasterizationDepthClipStateCreateInfoEXT depthClipEnable(boolean value)
depthClipEnable field.public VkPipelineRasterizationDepthClipStateCreateInfoEXT set(int sType, long pNext, int flags, boolean depthClipEnable)
public VkPipelineRasterizationDepthClipStateCreateInfoEXT set(VkPipelineRasterizationDepthClipStateCreateInfoEXT src)
src - the source structpublic static VkPipelineRasterizationDepthClipStateCreateInfoEXT malloc()
VkPipelineRasterizationDepthClipStateCreateInfoEXT instance allocated with memAlloc. The instance must be explicitly freed.public static VkPipelineRasterizationDepthClipStateCreateInfoEXT calloc()
VkPipelineRasterizationDepthClipStateCreateInfoEXT instance allocated with memCalloc. The instance must be explicitly freed.public static VkPipelineRasterizationDepthClipStateCreateInfoEXT create()
VkPipelineRasterizationDepthClipStateCreateInfoEXT instance allocated with BufferUtils.public static VkPipelineRasterizationDepthClipStateCreateInfoEXT create(long address)
VkPipelineRasterizationDepthClipStateCreateInfoEXT instance for the specified memory address.@Nullable public static VkPipelineRasterizationDepthClipStateCreateInfoEXT createSafe(long address)
public static VkPipelineRasterizationDepthClipStateCreateInfoEXT.Buffer malloc(int capacity)
VkPipelineRasterizationDepthClipStateCreateInfoEXT.Buffer instance allocated with memAlloc. The instance must be explicitly freed.capacity - the buffer capacitypublic static VkPipelineRasterizationDepthClipStateCreateInfoEXT.Buffer calloc(int capacity)
VkPipelineRasterizationDepthClipStateCreateInfoEXT.Buffer instance allocated with memCalloc. The instance must be explicitly freed.capacity - the buffer capacitypublic static VkPipelineRasterizationDepthClipStateCreateInfoEXT.Buffer create(int capacity)
VkPipelineRasterizationDepthClipStateCreateInfoEXT.Buffer instance allocated with BufferUtils.capacity - the buffer capacitypublic static VkPipelineRasterizationDepthClipStateCreateInfoEXT.Buffer create(long address, int capacity)
VkPipelineRasterizationDepthClipStateCreateInfoEXT.Buffer instance at the specified memory.address - the memory addresscapacity - the buffer capacity@Nullable public static VkPipelineRasterizationDepthClipStateCreateInfoEXT.Buffer createSafe(long address, int capacity)
public static VkPipelineRasterizationDepthClipStateCreateInfoEXT mallocStack()
VkPipelineRasterizationDepthClipStateCreateInfoEXT instance allocated on the thread-local MemoryStack.public static VkPipelineRasterizationDepthClipStateCreateInfoEXT callocStack()
VkPipelineRasterizationDepthClipStateCreateInfoEXT instance allocated on the thread-local MemoryStack and initializes all its bits to zero.public static VkPipelineRasterizationDepthClipStateCreateInfoEXT mallocStack(org.lwjgl.system.MemoryStack stack)
VkPipelineRasterizationDepthClipStateCreateInfoEXT instance allocated on the specified MemoryStack.stack - the stack from which to allocatepublic static VkPipelineRasterizationDepthClipStateCreateInfoEXT callocStack(org.lwjgl.system.MemoryStack stack)
VkPipelineRasterizationDepthClipStateCreateInfoEXT instance allocated on the specified MemoryStack and initializes all its bits to zero.stack - the stack from which to allocatepublic static VkPipelineRasterizationDepthClipStateCreateInfoEXT.Buffer mallocStack(int capacity)
VkPipelineRasterizationDepthClipStateCreateInfoEXT.Buffer instance allocated on the thread-local MemoryStack.capacity - the buffer capacitypublic static VkPipelineRasterizationDepthClipStateCreateInfoEXT.Buffer callocStack(int capacity)
VkPipelineRasterizationDepthClipStateCreateInfoEXT.Buffer instance allocated on the thread-local MemoryStack and initializes all its bits to zero.capacity - the buffer capacitypublic static VkPipelineRasterizationDepthClipStateCreateInfoEXT.Buffer mallocStack(int capacity, org.lwjgl.system.MemoryStack stack)
VkPipelineRasterizationDepthClipStateCreateInfoEXT.Buffer instance allocated on the specified MemoryStack.stack - the stack from which to allocatecapacity - the buffer capacitypublic static VkPipelineRasterizationDepthClipStateCreateInfoEXT.Buffer callocStack(int capacity, org.lwjgl.system.MemoryStack stack)
VkPipelineRasterizationDepthClipStateCreateInfoEXT.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 nflags(long struct)
flags().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 nflags(long struct,
int value)
flags.public static void ndepthClipEnable(long struct,
int value)
depthClipEnable.Copyright LWJGL. All Rights Reserved. License terms.