If the image referenced by the depth/stencil attachment used in the subpass identified by subpassIndex was not created with IMAGE_CREATE_SAMPLE_LOCATIONS_COMPATIBLE_DEPTH_BIT_EXT or if the subpass does not use a depth/stencil attachment, and VkPhysicalDeviceSampleLocationsPropertiesEXT::variableSampleLocations is TRUE then the values specified in sampleLocationsInfo are ignored.
subpassIndex must be less than the subpassCount specified in VkRenderPassCreateInfo the render pass specified by VkRenderPassBeginInfo::renderPass was created withsampleLocationsInfo must be a valid VkSampleLocationsInfoEXT structureVkRenderPassSampleLocationsBeginInfoEXT, VkSampleLocationsInfoEXT
struct VkSubpassSampleLocationsEXT {
uint32_t subpassIndex;
VkSampleLocationsInfoEXT sampleLocationsInfo;
}
| Modifier and Type | Class and Description |
|---|---|
| public static class | VkSubpassSampleLocationsEXT.
An array of |
| Modifier and Type | Field and Description |
|---|---|
| public static final int | ALIGNOF
The struct alignment in bytes. |
| public static final int | SAMPLELOCATIONSINFO
The struct member offsets. |
| public static final int | SIZEOF
The struct size in bytes. |
| public static final int | SUBPASSINDEX
The struct member offsets. |
| Access | Constructor and Description |
|---|---|
| protected | |
| public | VkSubpassSampleLocationsEXT(ByteBuffer container)
Creates a |
| Modifier and Type | Method and Description |
|---|---|
| public static VkSubpassSampleLocationsEXT | |
| public static VkSubpassSampleLocationsEXT. | calloc(int
the buffer capacity capacity)Returns a new |
| public static VkSubpassSampleLocationsEXT | calloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static VkSubpassSampleLocationsEXT. | calloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| public static VkSubpassSampleLocationsEXT | |
| public static VkSubpassSampleLocationsEXT | |
| public static VkSubpassSampleLocationsEXT. | |
| public static VkSubpassSampleLocationsEXT. | |
| protected VkSubpassSampleLocationsEXT | create(long
the struct memory address address, ByteBuffer an optional container buffer, to be referenced strongly by the struct instance. container)Implements abstract org. the constructor, but returns the exact type of the Struct subclass.
|
| public static VkSubpassSampleLocationsEXT | |
| public static VkSubpassSampleLocationsEXT | create(long address)
Returns a new |
| public static VkSubpassSampleLocationsEXT. | create(int
the buffer capacity capacity)Returns a new |
| public static VkSubpassSampleLocationsEXT. | create(long
the memory address address, int the buffer capacity capacity)Create a |
| public static VkSubpassSampleLocationsEXT | |
| public static VkSubpassSampleLocationsEXT. | |
| public static VkSubpassSampleLocationsEXT | |
| public static VkSubpassSampleLocationsEXT. | malloc(int
the buffer capacity capacity)Returns a new |
| public static VkSubpassSampleLocationsEXT | malloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static VkSubpassSampleLocationsEXT. | malloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| public static VkSubpassSampleLocationsEXT | |
| public static VkSubpassSampleLocationsEXT | |
| public static VkSubpassSampleLocationsEXT. | |
| public static VkSubpassSampleLocationsEXT. | |
| public static VkSampleLocationsInfoEXT | |
| public static void | nsampleLocationsInfo(long struct, VkSampleLocationsInfoEXT value)
Unsafe version of |
| public static int | |
| public static void | |
| public VkSampleLocationsInfoEXT | sampleLocationsInfo()
the sample locations state to use for the layout transition of the depth/stencil attachment away from the image layout the attachment is used with in the subpass specified in |
| public VkSubpassSampleLocationsEXT | sampleLocationsInfo(VkSampleLocationsInfoEXT value)
Copies the specified |
| public VkSubpassSampleLocationsEXT | sampleLocationsInfo(Consumer<VkSampleLocationsInfoEXT> consumer)
Passes the |
| public VkSubpassSampleLocationsEXT | set(int subpassIndex, VkSampleLocationsInfoEXT sampleLocationsInfo)
Initializes this struct with the specified values. |
| public VkSubpassSampleLocationsEXT | Returns: this structthe source struct src)Copies the specified struct data to this struct. |
| public int | |
| public int | |
| public VkSubpassSampleLocationsEXT | |
| public static void |
| ALIGNOF | back to summary |
|---|---|
| public static final int ALIGNOF The struct alignment in bytes. | |
| SAMPLELOCATIONSINFO | back to summary |
|---|---|
| public static final int SAMPLELOCATIONSINFO The struct member offsets. | |
| SIZEOF | back to summary |
|---|---|
| public static final int SIZEOF The struct size in bytes. | |
| SUBPASSINDEX | back to summary |
|---|---|
| public static final int SUBPASSINDEX The struct member offsets. | |
| VkSubpassSampleLocationsEXT | back to summary |
|---|---|
| protected VkSubpassSampleLocationsEXT(long address, ByteBuffer container) | |
| VkSubpassSampleLocationsEXT | back to summary |
|---|---|
| public VkSubpassSampleLocationsEXT(ByteBuffer container) Creates a The created instance holds a strong reference to the container object. | |
| calloc | back to summary |
|---|---|
| public static VkSubpassSampleLocationsEXT calloc() Returns a new | |
| calloc | back to summary |
|---|---|
| public static VkSubpassSampleLocationsEXT. Returns a new
| |
| calloc | back to summary |
|---|---|
| public static VkSubpassSampleLocationsEXT calloc(MemoryStack stack) Returns a new
| |
| calloc | back to summary |
|---|---|
| public static VkSubpassSampleLocationsEXT. Returns a new
| |
| callocStack | back to summary |
|---|---|
| public static VkSubpassSampleLocationsEXT callocStack()
Deprecated
Deprecated for removal in 3.4.0. Use
| |
| callocStack | back to summary |
|---|---|
| public static VkSubpassSampleLocationsEXT callocStack(MemoryStack stack)
Deprecated
Deprecated for removal in 3.4.0. Use
| |
| callocStack | back to summary |
|---|---|
| public static VkSubpassSampleLocationsEXT. Deprecated
Deprecated for removal in 3.4.0. Use
| |
| callocStack | back to summary |
|---|---|
| public static VkSubpassSampleLocationsEXT. Deprecated
Deprecated for removal in 3.4.0. Use
| |
| create | back to summary |
|---|---|
| protected VkSubpassSampleLocationsEXT create(long address, ByteBuffer container) Implements abstract org. Doc from org. Similar to Effectively, every
| |
| create | back to summary |
|---|---|
| public static VkSubpassSampleLocationsEXT create() Returns a new | |
| create | back to summary |
|---|---|
| public static VkSubpassSampleLocationsEXT create(long address) Returns a new | |
| create | back to summary |
|---|---|
| public static VkSubpassSampleLocationsEXT. Returns a new
| |
| create | back to summary |
|---|---|
| public static VkSubpassSampleLocationsEXT. Create a
| |
| createSafe | back to summary |
|---|---|
| public static VkSubpassSampleLocationsEXT createSafe(long address) Like
| |
| createSafe | back to summary |
|---|---|
| public static VkSubpassSampleLocationsEXT. Like
| |
| malloc | back to summary |
|---|---|
| public static VkSubpassSampleLocationsEXT malloc() Returns a new | |
| malloc | back to summary |
|---|---|
| public static VkSubpassSampleLocationsEXT. Returns a new
| |
| malloc | back to summary |
|---|---|
| public static VkSubpassSampleLocationsEXT malloc(MemoryStack stack) Returns a new
| |
| malloc | back to summary |
|---|---|
| public static VkSubpassSampleLocationsEXT. Returns a new
| |
| mallocStack | back to summary |
|---|---|
| public static VkSubpassSampleLocationsEXT mallocStack()
Deprecated
Deprecated for removal in 3.4.0. Use
| |
| mallocStack | back to summary |
|---|---|
| public static VkSubpassSampleLocationsEXT mallocStack(MemoryStack stack)
Deprecated
Deprecated for removal in 3.4.0. Use
| |
| mallocStack | back to summary |
|---|---|
| public static VkSubpassSampleLocationsEXT. Deprecated
Deprecated for removal in 3.4.0. Use
| |
| mallocStack | back to summary |
|---|---|
| public static VkSubpassSampleLocationsEXT. Deprecated
Deprecated for removal in 3.4.0. Use
| |
| nsampleLocationsInfo | back to summary |
|---|---|
| public static VkSampleLocationsInfoEXT nsampleLocationsInfo(long struct) Unsafe version of | |
| nsampleLocationsInfo | back to summary |
|---|---|
| public static void nsampleLocationsInfo(long struct, VkSampleLocationsInfoEXT value) Unsafe version of | |
| nsubpassIndex | back to summary |
|---|---|
| public static int nsubpassIndex(long struct) Unsafe version of | |
| nsubpassIndex | back to summary |
|---|---|
| public static void nsubpassIndex(long struct, int value) Unsafe version of | |
| sampleLocationsInfo | back to summary |
|---|---|
| public VkSampleLocationsInfoEXT sampleLocationsInfo() the sample locations state to use for the layout transition of the depth/stencil attachment away from the image layout the attachment is used with in the subpass specified in | |
| sampleLocationsInfo | back to summary |
|---|---|
| public VkSubpassSampleLocationsEXT sampleLocationsInfo(VkSampleLocationsInfoEXT value) Copies the specified | |
| sampleLocationsInfo | back to summary |
|---|---|
| public VkSubpassSampleLocationsEXT sampleLocationsInfo(Consumer<VkSampleLocationsInfoEXT> consumer) Passes the | |
| set | back to summary |
|---|---|
| public VkSubpassSampleLocationsEXT set(int subpassIndex, VkSampleLocationsInfoEXT sampleLocationsInfo) Initializes this struct with the specified values. | |
| set | back to summary |
|---|---|
| public VkSubpassSampleLocationsEXT set(VkSubpassSampleLocationsEXT src) Copies the specified struct data to this struct.
| |
| sizeof | back to summary |
|---|---|
| public int sizeof() Implements abstract org. Doc from org. Returns
| |
| subpassIndex | back to summary |
|---|---|
| public int subpassIndex() the index of the subpass for which the sample locations state is provided.
| |
| subpassIndex | back to summary |
|---|---|
| public VkSubpassSampleLocationsEXT subpassIndex(int value) Sets the specified value to the | |
| validate | back to summary |
|---|---|
| public static void validate(long struct) Validates pointer members that should not be
| |
VkSubpassSampleLocationsEXT structs.
| Modifier and Type | Field and Description |
|---|---|
| private static final VkSubpassSampleLocationsEXT |
| Access | Constructor and Description |
|---|---|
| public | Buffer(ByteBuffer container)
Creates a new |
| public | |
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| protected VkSubpassSampleLocationsEXT | |
| public VkSampleLocationsInfoEXT | Returns: aVkSampleLocationsInfoEXT view of the VkSubpassSampleLocationsEXT#sampleLocationsInfo field.
|
| public VkSubpassSampleLocationsEXT. | sampleLocationsInfo(VkSampleLocationsInfoEXT value)
Copies the specified |
| public VkSubpassSampleLocationsEXT. | sampleLocationsInfo(Consumer<VkSampleLocationsInfoEXT> consumer)
Passes the |
| protected VkSubpassSampleLocationsEXT. | |
| public int | |
| public VkSubpassSampleLocationsEXT. | subpassIndex(int value)
Sets the specified value to the |
| ELEMENT_FACTORY | back to summary |
|---|---|
| private static final VkSubpassSampleLocationsEXT ELEMENT_FACTORY | |
| Buffer | back to summary |
|---|---|
| public Buffer(ByteBuffer container) Creates a new Changes to the container's content will be visible to the struct buffer instance and vice versa. The two buffers' position, limit, and mark values
will be independent. The new buffer's position will be zero, its capacity and its limit will be the number of bytes remaining in this buffer divided
by The created buffer instance holds a strong reference to the container object. | |
| Buffer | back to summary |
|---|---|
| public Buffer(long address, int cap) | |
| Buffer | back to summary |
|---|---|
| pack-priv Buffer(long address, ByteBuffer container, int mark, int pos, int lim, int cap) | |
| getElementFactory | back to summary |
|---|---|
| protected VkSubpassSampleLocationsEXT getElementFactory() Implements abstract org.
| |
| sampleLocationsInfo | back to summary |
|---|---|
public VkSampleLocationsInfoEXT sampleLocationsInfo()
| |
| sampleLocationsInfo | back to summary |
|---|---|
| public VkSubpassSampleLocationsEXT. Copies the specified | |
| sampleLocationsInfo | back to summary |
|---|---|
| public VkSubpassSampleLocationsEXT. Passes the | |
| self | back to summary |
|---|---|
| protected VkSubpassSampleLocationsEXT. Implements abstract org.
| |
| subpassIndex | back to summary |
|---|---|
public int subpassIndex()
| |
| subpassIndex | back to summary |
|---|---|
| public VkSubpassSampleLocationsEXT. Sets the specified value to the | |