public class VkRenderPassSampleLocationsBeginInfoEXT
extends org.lwjgl.system.Struct
implements org.lwjgl.system.NativeResource
sType must be STRUCTURE_TYPE_RENDER_PASS_SAMPLE_LOCATIONS_BEGIN_INFO_EXTattachmentInitialSampleLocationsCount is not 0, pAttachmentInitialSampleLocations must be a valid pointer to an array of attachmentInitialSampleLocationsCount valid VkAttachmentSampleLocationsEXT structurespostSubpassSampleLocationsCount is not 0, pPostSubpassSampleLocations must be a valid pointer to an array of postSubpassSampleLocationsCount valid VkSubpassSampleLocationsEXT structuresVkAttachmentSampleLocationsEXT, VkSubpassSampleLocationsEXT
sType – the type of this structure.pNext – NULL or a pointer to an extension-specific structure.attachmentInitialSampleLocationsCount – the number of elements in the pAttachmentInitialSampleLocations array.pAttachmentInitialSampleLocations – a pointer to an array of attachmentInitialSampleLocationsCount VkAttachmentSampleLocationsEXT structures specifying the attachment indices and their corresponding sample location state. Each element of pAttachmentInitialSampleLocations can specify the sample location state to use in the automatic layout transition performed to transition a depth/stencil attachment from the initial layout of the attachment to the image layout specified for the attachment in the first subpass using it.postSubpassSampleLocationsCount – the number of elements in the pPostSubpassSampleLocations array.pPostSubpassSampleLocations – a pointer to an array of postSubpassSampleLocationsCount VkSubpassSampleLocationsEXT structures specifying the subpass indices and their corresponding sample location state. Each element of pPostSubpassSampleLocations can specify the sample location state to use in the automatic layout transition performed to transition the depth/stencil attachment used by the specified subpass to the image layout specified in a dependent subpass or to the final layout of the attachment in case the specified subpass is the last subpass using that attachment. In addition, if VkPhysicalDeviceSampleLocationsPropertiesEXT::variableSampleLocations is FALSE, each element of pPostSubpassSampleLocations must specify the sample location state that matches the sample locations used by all pipelines that will be bound to a command buffer during the specified subpass. If variableSampleLocations is TRUE, the sample locations used for rasterization do not depend on pPostSubpassSampleLocations.
struct VkRenderPassSampleLocationsBeginInfoEXT {
VkStructureType sType;
void const * pNext;
uint32_t attachmentInitialSampleLocationsCount;
VkAttachmentSampleLocationsEXT const * pAttachmentInitialSampleLocations;
uint32_t postSubpassSampleLocationsCount;
VkSubpassSampleLocationsEXT const * pPostSubpassSampleLocations;
}| Modifier and Type | Class and Description |
|---|---|
static class |
VkRenderPassSampleLocationsBeginInfoEXT.Buffer
An array of
VkRenderPassSampleLocationsBeginInfoEXT structs. |
| Modifier and Type | Field and Description |
|---|---|
static int |
ALIGNOF
The struct alignment in bytes.
|
static int |
ATTACHMENTINITIALSAMPLELOCATIONSCOUNT
The struct member offsets.
|
static int |
PATTACHMENTINITIALSAMPLELOCATIONS
The struct member offsets.
|
static int |
PNEXT
The struct member offsets.
|
static int |
POSTSUBPASSSAMPLELOCATIONSCOUNT
The struct member offsets.
|
static int |
PPOSTSUBPASSSAMPLELOCATIONS
The struct member offsets.
|
static int |
SIZEOF
The struct size in bytes.
|
static int |
STYPE
The struct member offsets.
|
| Constructor and Description |
|---|
VkRenderPassSampleLocationsBeginInfoEXT(java.nio.ByteBuffer container)
Creates a
VkRenderPassSampleLocationsBeginInfoEXT instance at the current position of the specified ByteBuffer container. |
| Modifier and Type | Method and Description |
|---|---|
int |
attachmentInitialSampleLocationsCount()
Returns the value of the
attachmentInitialSampleLocationsCount field. |
static VkRenderPassSampleLocationsBeginInfoEXT |
calloc()
Returns a new
VkRenderPassSampleLocationsBeginInfoEXT instance allocated with memCalloc. |
static VkRenderPassSampleLocationsBeginInfoEXT.Buffer |
calloc(int capacity)
Returns a new
VkRenderPassSampleLocationsBeginInfoEXT.Buffer instance allocated with memCalloc. |
static VkRenderPassSampleLocationsBeginInfoEXT |
callocStack()
Returns a new
VkRenderPassSampleLocationsBeginInfoEXT instance allocated on the thread-local MemoryStack and initializes all its bits to zero. |
static VkRenderPassSampleLocationsBeginInfoEXT.Buffer |
callocStack(int capacity)
Returns a new
VkRenderPassSampleLocationsBeginInfoEXT.Buffer instance allocated on the thread-local MemoryStack and initializes all its bits to zero. |
static VkRenderPassSampleLocationsBeginInfoEXT.Buffer |
callocStack(int capacity,
org.lwjgl.system.MemoryStack stack)
Returns a new
VkRenderPassSampleLocationsBeginInfoEXT.Buffer instance allocated on the specified MemoryStack and initializes all its bits to zero. |
static VkRenderPassSampleLocationsBeginInfoEXT |
callocStack(org.lwjgl.system.MemoryStack stack)
Returns a new
VkRenderPassSampleLocationsBeginInfoEXT instance allocated on the specified MemoryStack and initializes all its bits to zero. |
static VkRenderPassSampleLocationsBeginInfoEXT |
create()
Returns a new
VkRenderPassSampleLocationsBeginInfoEXT instance allocated with BufferUtils. |
static VkRenderPassSampleLocationsBeginInfoEXT.Buffer |
create(int capacity)
Returns a new
VkRenderPassSampleLocationsBeginInfoEXT.Buffer instance allocated with BufferUtils. |
static VkRenderPassSampleLocationsBeginInfoEXT |
create(long address)
Returns a new
VkRenderPassSampleLocationsBeginInfoEXT instance for the specified memory address. |
static VkRenderPassSampleLocationsBeginInfoEXT.Buffer |
create(long address,
int capacity)
Create a
VkRenderPassSampleLocationsBeginInfoEXT.Buffer instance at the specified memory. |
static VkRenderPassSampleLocationsBeginInfoEXT |
createSafe(long address)
|
static VkRenderPassSampleLocationsBeginInfoEXT.Buffer |
createSafe(long address,
int capacity)
|
static VkRenderPassSampleLocationsBeginInfoEXT |
malloc()
Returns a new
VkRenderPassSampleLocationsBeginInfoEXT instance allocated with memAlloc. |
static VkRenderPassSampleLocationsBeginInfoEXT.Buffer |
malloc(int capacity)
Returns a new
VkRenderPassSampleLocationsBeginInfoEXT.Buffer instance allocated with memAlloc. |
static VkRenderPassSampleLocationsBeginInfoEXT |
mallocStack()
Returns a new
VkRenderPassSampleLocationsBeginInfoEXT instance allocated on the thread-local MemoryStack. |
static VkRenderPassSampleLocationsBeginInfoEXT.Buffer |
mallocStack(int capacity)
Returns a new
VkRenderPassSampleLocationsBeginInfoEXT.Buffer instance allocated on the thread-local MemoryStack. |
static VkRenderPassSampleLocationsBeginInfoEXT.Buffer |
mallocStack(int capacity,
org.lwjgl.system.MemoryStack stack)
Returns a new
VkRenderPassSampleLocationsBeginInfoEXT.Buffer instance allocated on the specified MemoryStack. |
static VkRenderPassSampleLocationsBeginInfoEXT |
mallocStack(org.lwjgl.system.MemoryStack stack)
Returns a new
VkRenderPassSampleLocationsBeginInfoEXT instance allocated on the specified MemoryStack. |
static int |
nattachmentInitialSampleLocationsCount(long struct)
Unsafe version of
attachmentInitialSampleLocationsCount(). |
static void |
nattachmentInitialSampleLocationsCount(long struct,
int value)
Sets the specified value to the
attachmentInitialSampleLocationsCount field of the specified struct. |
static VkAttachmentSampleLocationsEXT.Buffer |
npAttachmentInitialSampleLocations(long struct)
Unsafe version of
pAttachmentInitialSampleLocations(). |
static void |
npAttachmentInitialSampleLocations(long struct,
VkAttachmentSampleLocationsEXT.Buffer value)
Unsafe version of
pAttachmentInitialSampleLocations. |
static long |
npNext(long struct)
Unsafe version of
pNext(). |
static void |
npNext(long struct,
long value)
Unsafe version of
pNext. |
static int |
npostSubpassSampleLocationsCount(long struct)
Unsafe version of
postSubpassSampleLocationsCount(). |
static void |
npostSubpassSampleLocationsCount(long struct,
int value)
Sets the specified value to the
postSubpassSampleLocationsCount field of the specified struct. |
static VkSubpassSampleLocationsEXT.Buffer |
npPostSubpassSampleLocations(long struct)
Unsafe version of
pPostSubpassSampleLocations(). |
static void |
npPostSubpassSampleLocations(long struct,
VkSubpassSampleLocationsEXT.Buffer value)
Unsafe version of
pPostSubpassSampleLocations. |
static int |
nsType(long struct)
Unsafe version of
sType(). |
static void |
nsType(long struct,
int value)
Unsafe version of
sType. |
VkAttachmentSampleLocationsEXT.Buffer |
pAttachmentInitialSampleLocations()
Returns a
VkAttachmentSampleLocationsEXT.Buffer view of the struct array pointed to by the pAttachmentInitialSampleLocations field. |
VkRenderPassSampleLocationsBeginInfoEXT |
pAttachmentInitialSampleLocations(VkAttachmentSampleLocationsEXT.Buffer value)
Sets the address of the specified
VkAttachmentSampleLocationsEXT.Buffer to the pAttachmentInitialSampleLocations field. |
long |
pNext()
Returns the value of the
pNext field. |
VkRenderPassSampleLocationsBeginInfoEXT |
pNext(long value)
Sets the specified value to the
pNext field. |
int |
postSubpassSampleLocationsCount()
Returns the value of the
postSubpassSampleLocationsCount field. |
VkSubpassSampleLocationsEXT.Buffer |
pPostSubpassSampleLocations()
Returns a
VkSubpassSampleLocationsEXT.Buffer view of the struct array pointed to by the pPostSubpassSampleLocations field. |
VkRenderPassSampleLocationsBeginInfoEXT |
pPostSubpassSampleLocations(VkSubpassSampleLocationsEXT.Buffer value)
Sets the address of the specified
VkSubpassSampleLocationsEXT.Buffer to the pPostSubpassSampleLocations field. |
VkRenderPassSampleLocationsBeginInfoEXT |
set(int sType,
long pNext,
VkAttachmentSampleLocationsEXT.Buffer pAttachmentInitialSampleLocations,
VkSubpassSampleLocationsEXT.Buffer pPostSubpassSampleLocations)
Initializes this struct with the specified values.
|
VkRenderPassSampleLocationsBeginInfoEXT |
set(VkRenderPassSampleLocationsBeginInfoEXT src)
Copies the specified struct data to this struct.
|
int |
sizeof() |
int |
sType()
Returns the value of the
sType field. |
VkRenderPassSampleLocationsBeginInfoEXT |
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 ATTACHMENTINITIALSAMPLELOCATIONSCOUNT
public static final int PATTACHMENTINITIALSAMPLELOCATIONS
public static final int POSTSUBPASSSAMPLELOCATIONSCOUNT
public static final int PPOSTSUBPASSSAMPLELOCATIONS
public VkRenderPassSampleLocationsBeginInfoEXT(java.nio.ByteBuffer container)
VkRenderPassSampleLocationsBeginInfoEXT 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 attachmentInitialSampleLocationsCount()
attachmentInitialSampleLocationsCount field.@Nullable public VkAttachmentSampleLocationsEXT.Buffer pAttachmentInitialSampleLocations()
VkAttachmentSampleLocationsEXT.Buffer view of the struct array pointed to by the pAttachmentInitialSampleLocations field.public int postSubpassSampleLocationsCount()
postSubpassSampleLocationsCount field.@Nullable public VkSubpassSampleLocationsEXT.Buffer pPostSubpassSampleLocations()
VkSubpassSampleLocationsEXT.Buffer view of the struct array pointed to by the pPostSubpassSampleLocations field.public VkRenderPassSampleLocationsBeginInfoEXT sType(int value)
sType field.public VkRenderPassSampleLocationsBeginInfoEXT pNext(long value)
pNext field.public VkRenderPassSampleLocationsBeginInfoEXT pAttachmentInitialSampleLocations(@Nullable VkAttachmentSampleLocationsEXT.Buffer value)
VkAttachmentSampleLocationsEXT.Buffer to the pAttachmentInitialSampleLocations field.public VkRenderPassSampleLocationsBeginInfoEXT pPostSubpassSampleLocations(@Nullable VkSubpassSampleLocationsEXT.Buffer value)
VkSubpassSampleLocationsEXT.Buffer to the pPostSubpassSampleLocations field.public VkRenderPassSampleLocationsBeginInfoEXT set(int sType, long pNext, @Nullable VkAttachmentSampleLocationsEXT.Buffer pAttachmentInitialSampleLocations, @Nullable VkSubpassSampleLocationsEXT.Buffer pPostSubpassSampleLocations)
public VkRenderPassSampleLocationsBeginInfoEXT set(VkRenderPassSampleLocationsBeginInfoEXT src)
src - the source structpublic static VkRenderPassSampleLocationsBeginInfoEXT malloc()
VkRenderPassSampleLocationsBeginInfoEXT instance allocated with memAlloc. The instance must be explicitly freed.public static VkRenderPassSampleLocationsBeginInfoEXT calloc()
VkRenderPassSampleLocationsBeginInfoEXT instance allocated with memCalloc. The instance must be explicitly freed.public static VkRenderPassSampleLocationsBeginInfoEXT create()
VkRenderPassSampleLocationsBeginInfoEXT instance allocated with BufferUtils.public static VkRenderPassSampleLocationsBeginInfoEXT create(long address)
VkRenderPassSampleLocationsBeginInfoEXT instance for the specified memory address.@Nullable public static VkRenderPassSampleLocationsBeginInfoEXT createSafe(long address)
public static VkRenderPassSampleLocationsBeginInfoEXT.Buffer malloc(int capacity)
VkRenderPassSampleLocationsBeginInfoEXT.Buffer instance allocated with memAlloc. The instance must be explicitly freed.capacity - the buffer capacitypublic static VkRenderPassSampleLocationsBeginInfoEXT.Buffer calloc(int capacity)
VkRenderPassSampleLocationsBeginInfoEXT.Buffer instance allocated with memCalloc. The instance must be explicitly freed.capacity - the buffer capacitypublic static VkRenderPassSampleLocationsBeginInfoEXT.Buffer create(int capacity)
VkRenderPassSampleLocationsBeginInfoEXT.Buffer instance allocated with BufferUtils.capacity - the buffer capacitypublic static VkRenderPassSampleLocationsBeginInfoEXT.Buffer create(long address, int capacity)
VkRenderPassSampleLocationsBeginInfoEXT.Buffer instance at the specified memory.address - the memory addresscapacity - the buffer capacity@Nullable public static VkRenderPassSampleLocationsBeginInfoEXT.Buffer createSafe(long address, int capacity)
public static VkRenderPassSampleLocationsBeginInfoEXT mallocStack()
VkRenderPassSampleLocationsBeginInfoEXT instance allocated on the thread-local MemoryStack.public static VkRenderPassSampleLocationsBeginInfoEXT callocStack()
VkRenderPassSampleLocationsBeginInfoEXT instance allocated on the thread-local MemoryStack and initializes all its bits to zero.public static VkRenderPassSampleLocationsBeginInfoEXT mallocStack(org.lwjgl.system.MemoryStack stack)
VkRenderPassSampleLocationsBeginInfoEXT instance allocated on the specified MemoryStack.stack - the stack from which to allocatepublic static VkRenderPassSampleLocationsBeginInfoEXT callocStack(org.lwjgl.system.MemoryStack stack)
VkRenderPassSampleLocationsBeginInfoEXT instance allocated on the specified MemoryStack and initializes all its bits to zero.stack - the stack from which to allocatepublic static VkRenderPassSampleLocationsBeginInfoEXT.Buffer mallocStack(int capacity)
VkRenderPassSampleLocationsBeginInfoEXT.Buffer instance allocated on the thread-local MemoryStack.capacity - the buffer capacitypublic static VkRenderPassSampleLocationsBeginInfoEXT.Buffer callocStack(int capacity)
VkRenderPassSampleLocationsBeginInfoEXT.Buffer instance allocated on the thread-local MemoryStack and initializes all its bits to zero.capacity - the buffer capacitypublic static VkRenderPassSampleLocationsBeginInfoEXT.Buffer mallocStack(int capacity, org.lwjgl.system.MemoryStack stack)
VkRenderPassSampleLocationsBeginInfoEXT.Buffer instance allocated on the specified MemoryStack.stack - the stack from which to allocatecapacity - the buffer capacitypublic static VkRenderPassSampleLocationsBeginInfoEXT.Buffer callocStack(int capacity, org.lwjgl.system.MemoryStack stack)
VkRenderPassSampleLocationsBeginInfoEXT.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 nattachmentInitialSampleLocationsCount(long struct)
attachmentInitialSampleLocationsCount().@Nullable public static VkAttachmentSampleLocationsEXT.Buffer npAttachmentInitialSampleLocations(long struct)
pAttachmentInitialSampleLocations().public static int npostSubpassSampleLocationsCount(long struct)
postSubpassSampleLocationsCount().@Nullable public static VkSubpassSampleLocationsEXT.Buffer npPostSubpassSampleLocations(long struct)
pPostSubpassSampleLocations().public static void nsType(long struct,
int value)
sType.public static void npNext(long struct,
long value)
pNext.public static void nattachmentInitialSampleLocationsCount(long struct,
int value)
attachmentInitialSampleLocationsCount field of the specified struct.public static void npAttachmentInitialSampleLocations(long struct,
@Nullable
VkAttachmentSampleLocationsEXT.Buffer value)
pAttachmentInitialSampleLocations.public static void npostSubpassSampleLocationsCount(long struct,
int value)
postSubpassSampleLocationsCount field of the specified struct.public static void npPostSubpassSampleLocations(long struct,
@Nullable
VkSubpassSampleLocationsEXT.Buffer value)
pPostSubpassSampleLocations.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.