public class VkPipelineSampleLocationsStateCreateInfoEXT
extends org.lwjgl.system.Struct
implements org.lwjgl.system.NativeResource
sType must be STRUCTURE_TYPE_PIPELINE_SAMPLE_LOCATIONS_STATE_CREATE_INFO_EXTsampleLocationsInfo must be a valid VkSampleLocationsInfoEXT structuresType – the type of this structure.pNext – NULL or a pointer to an extension-specific structure.sampleLocationsEnable – controls whether custom sample locations are used. If sampleLocationsEnable is FALSE, the default sample locations are used and the values specified in sampleLocationsInfo are ignored.sampleLocationsInfo – the sample locations to use during rasterization if sampleLocationsEnable is TRUE and the graphics pipeline is not created with DYNAMIC_STATE_SAMPLE_LOCATIONS_EXT.
struct VkPipelineSampleLocationsStateCreateInfoEXT {
VkStructureType sType;
void const * pNext;
VkBool32 sampleLocationsEnable;
VkSampleLocationsInfoEXT sampleLocationsInfo;
}| Modifier and Type | Class and Description |
|---|---|
static class |
VkPipelineSampleLocationsStateCreateInfoEXT.Buffer
An array of
VkPipelineSampleLocationsStateCreateInfoEXT structs. |
| Modifier and Type | Field and Description |
|---|---|
static int |
ALIGNOF
The struct alignment in bytes.
|
static int |
PNEXT
The struct member offsets.
|
static int |
SAMPLELOCATIONSENABLE
The struct member offsets.
|
static int |
SAMPLELOCATIONSINFO
The struct member offsets.
|
static int |
SIZEOF
The struct size in bytes.
|
static int |
STYPE
The struct member offsets.
|
| Constructor and Description |
|---|
VkPipelineSampleLocationsStateCreateInfoEXT(java.nio.ByteBuffer container)
Creates a
VkPipelineSampleLocationsStateCreateInfoEXT instance at the current position of the specified ByteBuffer container. |
| Modifier and Type | Method and Description |
|---|---|
static VkPipelineSampleLocationsStateCreateInfoEXT |
calloc()
Returns a new
VkPipelineSampleLocationsStateCreateInfoEXT instance allocated with memCalloc. |
static VkPipelineSampleLocationsStateCreateInfoEXT.Buffer |
calloc(int capacity)
Returns a new
VkPipelineSampleLocationsStateCreateInfoEXT.Buffer instance allocated with memCalloc. |
static VkPipelineSampleLocationsStateCreateInfoEXT |
callocStack()
Returns a new
VkPipelineSampleLocationsStateCreateInfoEXT instance allocated on the thread-local MemoryStack and initializes all its bits to zero. |
static VkPipelineSampleLocationsStateCreateInfoEXT.Buffer |
callocStack(int capacity)
Returns a new
VkPipelineSampleLocationsStateCreateInfoEXT.Buffer instance allocated on the thread-local MemoryStack and initializes all its bits to zero. |
static VkPipelineSampleLocationsStateCreateInfoEXT.Buffer |
callocStack(int capacity,
org.lwjgl.system.MemoryStack stack)
Returns a new
VkPipelineSampleLocationsStateCreateInfoEXT.Buffer instance allocated on the specified MemoryStack and initializes all its bits to zero. |
static VkPipelineSampleLocationsStateCreateInfoEXT |
callocStack(org.lwjgl.system.MemoryStack stack)
Returns a new
VkPipelineSampleLocationsStateCreateInfoEXT instance allocated on the specified MemoryStack and initializes all its bits to zero. |
static VkPipelineSampleLocationsStateCreateInfoEXT |
create()
Returns a new
VkPipelineSampleLocationsStateCreateInfoEXT instance allocated with BufferUtils. |
static VkPipelineSampleLocationsStateCreateInfoEXT.Buffer |
create(int capacity)
Returns a new
VkPipelineSampleLocationsStateCreateInfoEXT.Buffer instance allocated with BufferUtils. |
static VkPipelineSampleLocationsStateCreateInfoEXT |
create(long address)
Returns a new
VkPipelineSampleLocationsStateCreateInfoEXT instance for the specified memory address. |
static VkPipelineSampleLocationsStateCreateInfoEXT.Buffer |
create(long address,
int capacity)
Create a
VkPipelineSampleLocationsStateCreateInfoEXT.Buffer instance at the specified memory. |
static VkPipelineSampleLocationsStateCreateInfoEXT |
createSafe(long address)
|
static VkPipelineSampleLocationsStateCreateInfoEXT.Buffer |
createSafe(long address,
int capacity)
|
static VkPipelineSampleLocationsStateCreateInfoEXT |
malloc()
Returns a new
VkPipelineSampleLocationsStateCreateInfoEXT instance allocated with memAlloc. |
static VkPipelineSampleLocationsStateCreateInfoEXT.Buffer |
malloc(int capacity)
Returns a new
VkPipelineSampleLocationsStateCreateInfoEXT.Buffer instance allocated with memAlloc. |
static VkPipelineSampleLocationsStateCreateInfoEXT |
mallocStack()
Returns a new
VkPipelineSampleLocationsStateCreateInfoEXT instance allocated on the thread-local MemoryStack. |
static VkPipelineSampleLocationsStateCreateInfoEXT.Buffer |
mallocStack(int capacity)
Returns a new
VkPipelineSampleLocationsStateCreateInfoEXT.Buffer instance allocated on the thread-local MemoryStack. |
static VkPipelineSampleLocationsStateCreateInfoEXT.Buffer |
mallocStack(int capacity,
org.lwjgl.system.MemoryStack stack)
Returns a new
VkPipelineSampleLocationsStateCreateInfoEXT.Buffer instance allocated on the specified MemoryStack. |
static VkPipelineSampleLocationsStateCreateInfoEXT |
mallocStack(org.lwjgl.system.MemoryStack stack)
Returns a new
VkPipelineSampleLocationsStateCreateInfoEXT instance allocated on the specified MemoryStack. |
static long |
npNext(long struct)
Unsafe version of
pNext(). |
static void |
npNext(long struct,
long value)
Unsafe version of
pNext. |
static int |
nsampleLocationsEnable(long struct)
Unsafe version of
sampleLocationsEnable(). |
static void |
nsampleLocationsEnable(long struct,
int value)
Unsafe version of
sampleLocationsEnable. |
static VkSampleLocationsInfoEXT |
nsampleLocationsInfo(long struct)
Unsafe version of
sampleLocationsInfo(). |
static void |
nsampleLocationsInfo(long struct,
VkSampleLocationsInfoEXT value)
Unsafe version of
sampleLocationsInfo. |
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. |
VkPipelineSampleLocationsStateCreateInfoEXT |
pNext(long value)
Sets the specified value to the
pNext field. |
boolean |
sampleLocationsEnable()
Returns the value of the
sampleLocationsEnable field. |
VkPipelineSampleLocationsStateCreateInfoEXT |
sampleLocationsEnable(boolean value)
Sets the specified value to the
sampleLocationsEnable field. |
VkSampleLocationsInfoEXT |
sampleLocationsInfo()
Returns a
VkSampleLocationsInfoEXT view of the sampleLocationsInfo field. |
VkPipelineSampleLocationsStateCreateInfoEXT |
sampleLocationsInfo(java.util.function.Consumer<VkSampleLocationsInfoEXT> consumer)
Passes the
sampleLocationsInfo field to the specified Consumer. |
VkPipelineSampleLocationsStateCreateInfoEXT |
sampleLocationsInfo(VkSampleLocationsInfoEXT value)
Copies the specified
VkSampleLocationsInfoEXT to the sampleLocationsInfo field. |
VkPipelineSampleLocationsStateCreateInfoEXT |
set(int sType,
long pNext,
boolean sampleLocationsEnable,
VkSampleLocationsInfoEXT sampleLocationsInfo)
Initializes this struct with the specified values.
|
VkPipelineSampleLocationsStateCreateInfoEXT |
set(VkPipelineSampleLocationsStateCreateInfoEXT src)
Copies the specified struct data to this struct.
|
int |
sizeof() |
int |
sType()
Returns the value of the
sType field. |
VkPipelineSampleLocationsStateCreateInfoEXT |
sType(int value)
Sets the specified value to the
sType field. |
static void |
validate(long struct)
Validates pointer members that should not be
NULL. |
static void |
validate(long array,
int count)
Calls
validate(long) for each struct contained in the specified struct array. |
public static final int SIZEOF
public static final int ALIGNOF
public static final int STYPE
public static final int PNEXT
public static final int SAMPLELOCATIONSENABLE
public static final int SAMPLELOCATIONSINFO
public VkPipelineSampleLocationsStateCreateInfoEXT(java.nio.ByteBuffer container)
VkPipelineSampleLocationsStateCreateInfoEXT 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 sampleLocationsEnable()
sampleLocationsEnable field.public VkSampleLocationsInfoEXT sampleLocationsInfo()
VkSampleLocationsInfoEXT view of the sampleLocationsInfo field.public VkPipelineSampleLocationsStateCreateInfoEXT sType(int value)
sType field.public VkPipelineSampleLocationsStateCreateInfoEXT pNext(long value)
pNext field.public VkPipelineSampleLocationsStateCreateInfoEXT sampleLocationsEnable(boolean value)
sampleLocationsEnable field.public VkPipelineSampleLocationsStateCreateInfoEXT sampleLocationsInfo(VkSampleLocationsInfoEXT value)
VkSampleLocationsInfoEXT to the sampleLocationsInfo field.public VkPipelineSampleLocationsStateCreateInfoEXT sampleLocationsInfo(java.util.function.Consumer<VkSampleLocationsInfoEXT> consumer)
sampleLocationsInfo field to the specified Consumer.public VkPipelineSampleLocationsStateCreateInfoEXT set(int sType, long pNext, boolean sampleLocationsEnable, VkSampleLocationsInfoEXT sampleLocationsInfo)
public VkPipelineSampleLocationsStateCreateInfoEXT set(VkPipelineSampleLocationsStateCreateInfoEXT src)
src - the source structpublic static VkPipelineSampleLocationsStateCreateInfoEXT malloc()
VkPipelineSampleLocationsStateCreateInfoEXT instance allocated with memAlloc. The instance must be explicitly freed.public static VkPipelineSampleLocationsStateCreateInfoEXT calloc()
VkPipelineSampleLocationsStateCreateInfoEXT instance allocated with memCalloc. The instance must be explicitly freed.public static VkPipelineSampleLocationsStateCreateInfoEXT create()
VkPipelineSampleLocationsStateCreateInfoEXT instance allocated with BufferUtils.public static VkPipelineSampleLocationsStateCreateInfoEXT create(long address)
VkPipelineSampleLocationsStateCreateInfoEXT instance for the specified memory address.@Nullable public static VkPipelineSampleLocationsStateCreateInfoEXT createSafe(long address)
public static VkPipelineSampleLocationsStateCreateInfoEXT.Buffer malloc(int capacity)
VkPipelineSampleLocationsStateCreateInfoEXT.Buffer instance allocated with memAlloc. The instance must be explicitly freed.capacity - the buffer capacitypublic static VkPipelineSampleLocationsStateCreateInfoEXT.Buffer calloc(int capacity)
VkPipelineSampleLocationsStateCreateInfoEXT.Buffer instance allocated with memCalloc. The instance must be explicitly freed.capacity - the buffer capacitypublic static VkPipelineSampleLocationsStateCreateInfoEXT.Buffer create(int capacity)
VkPipelineSampleLocationsStateCreateInfoEXT.Buffer instance allocated with BufferUtils.capacity - the buffer capacitypublic static VkPipelineSampleLocationsStateCreateInfoEXT.Buffer create(long address, int capacity)
VkPipelineSampleLocationsStateCreateInfoEXT.Buffer instance at the specified memory.address - the memory addresscapacity - the buffer capacity@Nullable public static VkPipelineSampleLocationsStateCreateInfoEXT.Buffer createSafe(long address, int capacity)
public static VkPipelineSampleLocationsStateCreateInfoEXT mallocStack()
VkPipelineSampleLocationsStateCreateInfoEXT instance allocated on the thread-local MemoryStack.public static VkPipelineSampleLocationsStateCreateInfoEXT callocStack()
VkPipelineSampleLocationsStateCreateInfoEXT instance allocated on the thread-local MemoryStack and initializes all its bits to zero.public static VkPipelineSampleLocationsStateCreateInfoEXT mallocStack(org.lwjgl.system.MemoryStack stack)
VkPipelineSampleLocationsStateCreateInfoEXT instance allocated on the specified MemoryStack.stack - the stack from which to allocatepublic static VkPipelineSampleLocationsStateCreateInfoEXT callocStack(org.lwjgl.system.MemoryStack stack)
VkPipelineSampleLocationsStateCreateInfoEXT instance allocated on the specified MemoryStack and initializes all its bits to zero.stack - the stack from which to allocatepublic static VkPipelineSampleLocationsStateCreateInfoEXT.Buffer mallocStack(int capacity)
VkPipelineSampleLocationsStateCreateInfoEXT.Buffer instance allocated on the thread-local MemoryStack.capacity - the buffer capacitypublic static VkPipelineSampleLocationsStateCreateInfoEXT.Buffer callocStack(int capacity)
VkPipelineSampleLocationsStateCreateInfoEXT.Buffer instance allocated on the thread-local MemoryStack and initializes all its bits to zero.capacity - the buffer capacitypublic static VkPipelineSampleLocationsStateCreateInfoEXT.Buffer mallocStack(int capacity, org.lwjgl.system.MemoryStack stack)
VkPipelineSampleLocationsStateCreateInfoEXT.Buffer instance allocated on the specified MemoryStack.stack - the stack from which to allocatecapacity - the buffer capacitypublic static VkPipelineSampleLocationsStateCreateInfoEXT.Buffer callocStack(int capacity, org.lwjgl.system.MemoryStack stack)
VkPipelineSampleLocationsStateCreateInfoEXT.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 nsampleLocationsEnable(long struct)
sampleLocationsEnable().public static VkSampleLocationsInfoEXT nsampleLocationsInfo(long struct)
sampleLocationsInfo().public static void nsType(long struct,
int value)
sType.public static void npNext(long struct,
long value)
pNext.public static void nsampleLocationsEnable(long struct,
int value)
sampleLocationsEnable.public static void nsampleLocationsInfo(long struct,
VkSampleLocationsInfoEXT value)
sampleLocationsInfo.public static void validate(long struct)
NULL.struct - the struct to validatepublic static void validate(long array,
int count)
validate(long) for each struct contained in the specified struct array.array - the struct array to validatecount - the number of structs in arrayCopyright LWJGL. All Rights Reserved. License terms.