public class VkPipelineTessellationStateCreateInfo
extends org.lwjgl.system.Struct
implements org.lwjgl.system.NativeResource
patchControlPoints must be greater than zero and less than or equal to VkPhysicalDeviceLimits::maxTessellationPatchSizesType must be STRUCTURE_TYPE_PIPELINE_TESSELLATION_STATE_CREATE_INFOpNext must be NULL or a pointer to a valid instance of VkPipelineTessellationDomainOriginStateCreateInfoflags must be 0sType – the type of this structure.pNext – NULL or a pointer to an extension-specific structure.flags – reserved for future use.patchControlPoints – number of control points per patch.
struct VkPipelineTessellationStateCreateInfo {
VkStructureType sType;
void const * pNext;
VkPipelineTessellationStateCreateFlags flags;
uint32_t patchControlPoints;
}| Modifier and Type | Class and Description |
|---|---|
static class |
VkPipelineTessellationStateCreateInfo.Buffer
An array of
VkPipelineTessellationStateCreateInfo structs. |
| Modifier and Type | Field and Description |
|---|---|
static int |
ALIGNOF
The struct alignment in bytes.
|
static int |
FLAGS
The struct member offsets.
|
static int |
PATCHCONTROLPOINTS
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 |
|---|
VkPipelineTessellationStateCreateInfo(java.nio.ByteBuffer container)
Creates a
VkPipelineTessellationStateCreateInfo instance at the current position of the specified ByteBuffer container. |
| Modifier and Type | Method and Description |
|---|---|
static VkPipelineTessellationStateCreateInfo |
calloc()
Returns a new
VkPipelineTessellationStateCreateInfo instance allocated with memCalloc. |
static VkPipelineTessellationStateCreateInfo.Buffer |
calloc(int capacity)
Returns a new
VkPipelineTessellationStateCreateInfo.Buffer instance allocated with memCalloc. |
static VkPipelineTessellationStateCreateInfo |
callocStack()
Returns a new
VkPipelineTessellationStateCreateInfo instance allocated on the thread-local MemoryStack and initializes all its bits to zero. |
static VkPipelineTessellationStateCreateInfo.Buffer |
callocStack(int capacity)
Returns a new
VkPipelineTessellationStateCreateInfo.Buffer instance allocated on the thread-local MemoryStack and initializes all its bits to zero. |
static VkPipelineTessellationStateCreateInfo.Buffer |
callocStack(int capacity,
org.lwjgl.system.MemoryStack stack)
Returns a new
VkPipelineTessellationStateCreateInfo.Buffer instance allocated on the specified MemoryStack and initializes all its bits to zero. |
static VkPipelineTessellationStateCreateInfo |
callocStack(org.lwjgl.system.MemoryStack stack)
Returns a new
VkPipelineTessellationStateCreateInfo instance allocated on the specified MemoryStack and initializes all its bits to zero. |
static VkPipelineTessellationStateCreateInfo |
create()
Returns a new
VkPipelineTessellationStateCreateInfo instance allocated with BufferUtils. |
static VkPipelineTessellationStateCreateInfo.Buffer |
create(int capacity)
Returns a new
VkPipelineTessellationStateCreateInfo.Buffer instance allocated with BufferUtils. |
static VkPipelineTessellationStateCreateInfo |
create(long address)
Returns a new
VkPipelineTessellationStateCreateInfo instance for the specified memory address. |
static VkPipelineTessellationStateCreateInfo.Buffer |
create(long address,
int capacity)
Create a
VkPipelineTessellationStateCreateInfo.Buffer instance at the specified memory. |
static VkPipelineTessellationStateCreateInfo |
createSafe(long address)
|
static VkPipelineTessellationStateCreateInfo.Buffer |
createSafe(long address,
int capacity)
|
int |
flags()
Returns the value of the
flags field. |
VkPipelineTessellationStateCreateInfo |
flags(int value)
Sets the specified value to the
flags field. |
static VkPipelineTessellationStateCreateInfo |
malloc()
Returns a new
VkPipelineTessellationStateCreateInfo instance allocated with memAlloc. |
static VkPipelineTessellationStateCreateInfo.Buffer |
malloc(int capacity)
Returns a new
VkPipelineTessellationStateCreateInfo.Buffer instance allocated with memAlloc. |
static VkPipelineTessellationStateCreateInfo |
mallocStack()
Returns a new
VkPipelineTessellationStateCreateInfo instance allocated on the thread-local MemoryStack. |
static VkPipelineTessellationStateCreateInfo.Buffer |
mallocStack(int capacity)
Returns a new
VkPipelineTessellationStateCreateInfo.Buffer instance allocated on the thread-local MemoryStack. |
static VkPipelineTessellationStateCreateInfo.Buffer |
mallocStack(int capacity,
org.lwjgl.system.MemoryStack stack)
Returns a new
VkPipelineTessellationStateCreateInfo.Buffer instance allocated on the specified MemoryStack. |
static VkPipelineTessellationStateCreateInfo |
mallocStack(org.lwjgl.system.MemoryStack stack)
Returns a new
VkPipelineTessellationStateCreateInfo instance allocated on the specified MemoryStack. |
static int |
nflags(long struct)
Unsafe version of
flags(). |
static void |
nflags(long struct,
int value)
Unsafe version of
flags. |
static int |
npatchControlPoints(long struct)
Unsafe version of
patchControlPoints(). |
static void |
npatchControlPoints(long struct,
int value)
Unsafe version of
patchControlPoints. |
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. |
int |
patchControlPoints()
Returns the value of the
patchControlPoints field. |
VkPipelineTessellationStateCreateInfo |
patchControlPoints(int value)
Sets the specified value to the
patchControlPoints field. |
long |
pNext()
Returns the value of the
pNext field. |
VkPipelineTessellationStateCreateInfo |
pNext(long value)
Sets the specified value to the
pNext field. |
VkPipelineTessellationStateCreateInfo |
set(int sType,
long pNext,
int flags,
int patchControlPoints)
Initializes this struct with the specified values.
|
VkPipelineTessellationStateCreateInfo |
set(VkPipelineTessellationStateCreateInfo src)
Copies the specified struct data to this struct.
|
int |
sizeof() |
int |
sType()
Returns the value of the
sType field. |
VkPipelineTessellationStateCreateInfo |
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 PATCHCONTROLPOINTS
public VkPipelineTessellationStateCreateInfo(java.nio.ByteBuffer container)
VkPipelineTessellationStateCreateInfo 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 int patchControlPoints()
patchControlPoints field.public VkPipelineTessellationStateCreateInfo sType(int value)
sType field.public VkPipelineTessellationStateCreateInfo pNext(long value)
pNext field.public VkPipelineTessellationStateCreateInfo flags(int value)
flags field.public VkPipelineTessellationStateCreateInfo patchControlPoints(int value)
patchControlPoints field.public VkPipelineTessellationStateCreateInfo set(int sType, long pNext, int flags, int patchControlPoints)
public VkPipelineTessellationStateCreateInfo set(VkPipelineTessellationStateCreateInfo src)
src - the source structpublic static VkPipelineTessellationStateCreateInfo malloc()
VkPipelineTessellationStateCreateInfo instance allocated with memAlloc. The instance must be explicitly freed.public static VkPipelineTessellationStateCreateInfo calloc()
VkPipelineTessellationStateCreateInfo instance allocated with memCalloc. The instance must be explicitly freed.public static VkPipelineTessellationStateCreateInfo create()
VkPipelineTessellationStateCreateInfo instance allocated with BufferUtils.public static VkPipelineTessellationStateCreateInfo create(long address)
VkPipelineTessellationStateCreateInfo instance for the specified memory address.@Nullable public static VkPipelineTessellationStateCreateInfo createSafe(long address)
public static VkPipelineTessellationStateCreateInfo.Buffer malloc(int capacity)
VkPipelineTessellationStateCreateInfo.Buffer instance allocated with memAlloc. The instance must be explicitly freed.capacity - the buffer capacitypublic static VkPipelineTessellationStateCreateInfo.Buffer calloc(int capacity)
VkPipelineTessellationStateCreateInfo.Buffer instance allocated with memCalloc. The instance must be explicitly freed.capacity - the buffer capacitypublic static VkPipelineTessellationStateCreateInfo.Buffer create(int capacity)
VkPipelineTessellationStateCreateInfo.Buffer instance allocated with BufferUtils.capacity - the buffer capacitypublic static VkPipelineTessellationStateCreateInfo.Buffer create(long address, int capacity)
VkPipelineTessellationStateCreateInfo.Buffer instance at the specified memory.address - the memory addresscapacity - the buffer capacity@Nullable public static VkPipelineTessellationStateCreateInfo.Buffer createSafe(long address, int capacity)
public static VkPipelineTessellationStateCreateInfo mallocStack()
VkPipelineTessellationStateCreateInfo instance allocated on the thread-local MemoryStack.public static VkPipelineTessellationStateCreateInfo callocStack()
VkPipelineTessellationStateCreateInfo instance allocated on the thread-local MemoryStack and initializes all its bits to zero.public static VkPipelineTessellationStateCreateInfo mallocStack(org.lwjgl.system.MemoryStack stack)
VkPipelineTessellationStateCreateInfo instance allocated on the specified MemoryStack.stack - the stack from which to allocatepublic static VkPipelineTessellationStateCreateInfo callocStack(org.lwjgl.system.MemoryStack stack)
VkPipelineTessellationStateCreateInfo instance allocated on the specified MemoryStack and initializes all its bits to zero.stack - the stack from which to allocatepublic static VkPipelineTessellationStateCreateInfo.Buffer mallocStack(int capacity)
VkPipelineTessellationStateCreateInfo.Buffer instance allocated on the thread-local MemoryStack.capacity - the buffer capacitypublic static VkPipelineTessellationStateCreateInfo.Buffer callocStack(int capacity)
VkPipelineTessellationStateCreateInfo.Buffer instance allocated on the thread-local MemoryStack and initializes all its bits to zero.capacity - the buffer capacitypublic static VkPipelineTessellationStateCreateInfo.Buffer mallocStack(int capacity, org.lwjgl.system.MemoryStack stack)
VkPipelineTessellationStateCreateInfo.Buffer instance allocated on the specified MemoryStack.stack - the stack from which to allocatecapacity - the buffer capacitypublic static VkPipelineTessellationStateCreateInfo.Buffer callocStack(int capacity, org.lwjgl.system.MemoryStack stack)
VkPipelineTessellationStateCreateInfo.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 npatchControlPoints(long struct)
patchControlPoints().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 npatchControlPoints(long struct,
int value)
patchControlPoints.Copyright LWJGL. All Rights Reserved. License terms.