aspectMask member of pSubresource must only have a single bit setmipLevel member of pSubresource must be less than the mipLevels specified in VkImageCreateInfo when image was createdarrayLayer member of pSubresource must be less than the arrayLayers specified in VkImageCreateInfo when image was createdformat of the image is a color format, tiling of the image is IMAGE_TILING_LINEAR or IMAGE_TILING_OPTIMAL, and does not have a multi-planar image format, the aspectMask member of pSubresource must be IMAGE_ASPECT_COLOR_BITformat of the image has a depth component, the aspectMask member of pSubresource must contain IMAGE_ASPECT_DEPTH_BITformat of the image has a stencil component, the aspectMask member of pSubresource must contain IMAGE_ASPECT_STENCIL_BITformat of the image does not contain a stencil or depth component, the aspectMask member of pSubresource must not contain IMAGE_ASPECT_DEPTH_BIT or IMAGE_ASPECT_STENCIL_BITtiling of the image is IMAGE_TILING_LINEAR and has a multi-planar image format, then the aspectMask member of pSubresource must be a single valid multi-planar aspect mask bitimage was created with the EXTERNAL_MEMORY_HANDLE_TYPE_ANDROID_HARDWARE_BUFFER_BIT_ANDROID external memory handle type, then image must be bound to memorytiling of the image is IMAGE_TILING_DRM_FORMAT_MODIFIER_EXT, then the aspectMask member of pSubresource must be VK_IMAGE_ASPECT_MEMORY_PLANE_i_BIT_EXT and the index i must be less than the VkDrmFormatModifierPropertiesEXT::drmFormatModifierPlaneCount associated with the image’s format and VkImageDrmFormatModifierPropertiesEXT::drmFormatModifiersType must be STRUCTURE_TYPE_DEVICE_IMAGE_SUBRESOURCE_INFO_KHRpNext must be NULLpCreateInfo must be a valid pointer to a valid VkImageCreateInfo structurepSubresource must be a valid pointer to a valid VkImageSubresource2KHR structureVkImageCreateInfo, VkImageSubresource2KHR, GetDeviceImageSubresourceLayoutKHR
struct VkDeviceImageSubresourceInfoKHR {
VkStructureType sType;
void const * pNext;
VkImageCreateInfo const * pCreateInfo;
VkImageSubresource2KHR const * pSubresource;
}
| Modifier and Type | Class and Description |
|---|---|
| public static class | VkDeviceImageSubresourceInfoKHR.
An array of |
| Modifier and Type | Field and Description |
|---|---|
| public static final int | ALIGNOF
The struct alignment in bytes. |
| public static final int | PCREATEINFO
The struct member offsets. |
| public static final int | PNEXT
The struct member offsets. |
| public static final int | PSUBRESOURCE
The struct member offsets. |
| public static final int | SIZEOF
The struct size in bytes. |
| public static final int | STYPE
The struct member offsets. |
| Access | Constructor and Description |
|---|---|
| protected | |
| public | VkDeviceImageSubresourceInfoKHR(ByteBuffer container)
Creates a |
| Modifier and Type | Method and Description |
|---|---|
| public static VkDeviceImageSubresourceInfoKHR | |
| public static VkDeviceImageSubresourceInfoKHR. | calloc(int
the buffer capacity capacity)Returns a new |
| public static VkDeviceImageSubresourceInfoKHR | calloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static VkDeviceImageSubresourceInfoKHR. | calloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| protected VkDeviceImageSubresourceInfoKHR | 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 VkDeviceImageSubresourceInfoKHR | |
| public static VkDeviceImageSubresourceInfoKHR | create(long address)
Returns a new |
| public static VkDeviceImageSubresourceInfoKHR. | create(int
the buffer capacity capacity)Returns a new |
| public static VkDeviceImageSubresourceInfoKHR. | create(long
the memory address address, int the buffer capacity capacity)Create a |
| public static VkDeviceImageSubresourceInfoKHR | |
| public static VkDeviceImageSubresourceInfoKHR. | |
| public static VkDeviceImageSubresourceInfoKHR | |
| public static VkDeviceImageSubresourceInfoKHR. | malloc(int
the buffer capacity capacity)Returns a new |
| public static VkDeviceImageSubresourceInfoKHR | malloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static VkDeviceImageSubresourceInfoKHR. | malloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| public static VkImageCreateInfo | |
| public static void | |
| public static long | |
| public static void | |
| public static VkImageSubresource2KHR | |
| public static void | |
| public static int | |
| public static void | |
| public VkImageCreateInfo | pCreateInfo()
a pointer to a |
| public VkDeviceImageSubresourceInfoKHR | pCreateInfo(VkImageCreateInfo value)
Sets the address of the specified |
| public long | |
| public VkDeviceImageSubresourceInfoKHR | |
| public VkImageSubresource2KHR | pSubresource()
pSubresource is a pointer to a |
| public VkDeviceImageSubresourceInfoKHR | pSubresource(VkImageSubresource2KHR value)
Sets the address of the specified |
| public VkDeviceImageSubresourceInfoKHR | set(int sType, long pNext, VkImageCreateInfo pCreateInfo, VkImageSubresource2KHR pSubresource)
Initializes this struct with the specified values. |
| public VkDeviceImageSubresourceInfoKHR | Returns: this structthe source struct src)Copies the specified struct data to this struct. |
| public int | |
| public int | |
| public VkDeviceImageSubresourceInfoKHR | |
| public VkDeviceImageSubresourceInfoKHR | |
| public static void |
| ALIGNOF | back to summary |
|---|---|
| public static final int ALIGNOF The struct alignment in bytes. | |
| PCREATEINFO | back to summary |
|---|---|
| public static final int PCREATEINFO The struct member offsets. | |
| PNEXT | back to summary |
|---|---|
| public static final int PNEXT The struct member offsets. | |
| PSUBRESOURCE | back to summary |
|---|---|
| public static final int PSUBRESOURCE The struct member offsets. | |
| SIZEOF | back to summary |
|---|---|
| public static final int SIZEOF The struct size in bytes. | |
| STYPE | back to summary |
|---|---|
| public static final int STYPE The struct member offsets. | |
| VkDeviceImageSubresourceInfoKHR | back to summary |
|---|---|
| protected VkDeviceImageSubresourceInfoKHR(long address, ByteBuffer container) | |
| VkDeviceImageSubresourceInfoKHR | back to summary |
|---|---|
| public VkDeviceImageSubresourceInfoKHR(ByteBuffer container) Creates a The created instance holds a strong reference to the container object. | |
| calloc | back to summary |
|---|---|
| public static VkDeviceImageSubresourceInfoKHR calloc() Returns a new | |
| calloc | back to summary |
|---|---|
| public static VkDeviceImageSubresourceInfoKHR. Returns a new
| |
| calloc | back to summary |
|---|---|
| public static VkDeviceImageSubresourceInfoKHR calloc(MemoryStack stack) Returns a new
| |
| calloc | back to summary |
|---|---|
| public static VkDeviceImageSubresourceInfoKHR. Returns a new
| |
| create | back to summary |
|---|---|
| protected VkDeviceImageSubresourceInfoKHR create(long address, ByteBuffer container) Implements abstract org. Doc from org. Similar to Effectively, every
| |
| create | back to summary |
|---|---|
| public static VkDeviceImageSubresourceInfoKHR create() Returns a new | |
| create | back to summary |
|---|---|
| public static VkDeviceImageSubresourceInfoKHR create(long address) Returns a new | |
| create | back to summary |
|---|---|
| public static VkDeviceImageSubresourceInfoKHR. Returns a new
| |
| create | back to summary |
|---|---|
| public static VkDeviceImageSubresourceInfoKHR. Create a
| |
| createSafe | back to summary |
|---|---|
| public static VkDeviceImageSubresourceInfoKHR createSafe(long address) Like
| |
| createSafe | back to summary |
|---|---|
| public static VkDeviceImageSubresourceInfoKHR. Like
| |
| malloc | back to summary |
|---|---|
| public static VkDeviceImageSubresourceInfoKHR malloc() Returns a new | |
| malloc | back to summary |
|---|---|
| public static VkDeviceImageSubresourceInfoKHR. Returns a new
| |
| malloc | back to summary |
|---|---|
| public static VkDeviceImageSubresourceInfoKHR malloc(MemoryStack stack) Returns a new
| |
| malloc | back to summary |
|---|---|
| public static VkDeviceImageSubresourceInfoKHR. Returns a new
| |
| npCreateInfo | back to summary |
|---|---|
| public static VkImageCreateInfo npCreateInfo(long struct) Unsafe version of | |
| npCreateInfo | back to summary |
|---|---|
| public static void npCreateInfo(long struct, VkImageCreateInfo value) Unsafe version of | |
| npNext | back to summary |
|---|---|
| public static long npNext(long struct) Unsafe version of | |
| npNext | back to summary |
|---|---|
| public static void npNext(long struct, long value) Unsafe version of | |
| npSubresource | back to summary |
|---|---|
| public static VkImageSubresource2KHR npSubresource(long struct) Unsafe version of | |
| npSubresource | back to summary |
|---|---|
| public static void npSubresource(long struct, VkImageSubresource2KHR value) Unsafe version of | |
| nsType | back to summary |
|---|---|
| public static int nsType(long struct) Unsafe version of | |
| nsType | back to summary |
|---|---|
| public static void nsType(long struct, int value) Unsafe version of | |
| pCreateInfo | back to summary |
|---|---|
| public VkImageCreateInfo pCreateInfo() a pointer to a
| |
| pCreateInfo | back to summary |
|---|---|
| public VkDeviceImageSubresourceInfoKHR pCreateInfo(VkImageCreateInfo value) Sets the address of the specified | |
| pNext | back to summary |
|---|---|
| public long pNext()
| |
| pNext | back to summary |
|---|---|
| public VkDeviceImageSubresourceInfoKHR pNext(long value) Sets the specified value to the | |
| pSubresource | back to summary |
|---|---|
| public VkImageSubresource2KHR pSubresource() pSubresource is a pointer to a
| |
| pSubresource | back to summary |
|---|---|
| public VkDeviceImageSubresourceInfoKHR pSubresource(VkImageSubresource2KHR value) Sets the address of the specified | |
| set | back to summary |
|---|---|
| public VkDeviceImageSubresourceInfoKHR set(int sType, long pNext, VkImageCreateInfo pCreateInfo, VkImageSubresource2KHR pSubresource) Initializes this struct with the specified values. | |
| set | back to summary |
|---|---|
| public VkDeviceImageSubresourceInfoKHR set(VkDeviceImageSubresourceInfoKHR src) Copies the specified struct data to this struct.
| |
| sizeof | back to summary |
|---|---|
| public int sizeof() Implements abstract org. Doc from org. Returns
| |
| sType | back to summary |
|---|---|
| public int sType() a
| |
| sType | back to summary |
|---|---|
| public VkDeviceImageSubresourceInfoKHR sType(int value) Sets the specified value to the | |
| sType$Default | back to summary |
|---|---|
| public VkDeviceImageSubresourceInfoKHR sType$Default() Sets the | |
| validate | back to summary |
|---|---|
| public static void validate(long struct) Validates pointer members that should not be
| |
VkDeviceImageSubresourceInfoKHR structs.
| Modifier and Type | Field and Description |
|---|---|
| private static final VkDeviceImageSubresourceInfoKHR |
| Access | Constructor and Description |
|---|---|
| public | Buffer(ByteBuffer container)
Creates a new |
| public | |
| pack-priv |
| ELEMENT_FACTORY | back to summary |
|---|---|
| private static final VkDeviceImageSubresourceInfoKHR 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 VkDeviceImageSubresourceInfoKHR getElementFactory() Implements abstract org.
| |
| pCreateInfo | back to summary |
|---|---|
public VkImageCreateInfo pCreateInfo()
| |
| pCreateInfo | back to summary |
|---|---|
| public VkDeviceImageSubresourceInfoKHR. Sets the address of the specified | |
| pNext | back to summary |
|---|---|
public long pNext()
| |
| pNext | back to summary |
|---|---|
| public VkDeviceImageSubresourceInfoKHR. Sets the specified value to the | |
| pSubresource | back to summary |
|---|---|
public VkImageSubresource2KHR pSubresource()
| |
| pSubresource | back to summary |
|---|---|
| public VkDeviceImageSubresourceInfoKHR. Sets the address of the specified | |
| self | back to summary |
|---|---|
| protected VkDeviceImageSubresourceInfoKHR. Implements abstract org.
| |
| sType | back to summary |
|---|---|
public int sType()
| |
| sType | back to summary |
|---|---|
| public VkDeviceImageSubresourceInfoKHR. Sets the specified value to the | |
| sType$Default | back to summary |
|---|---|
| public VkDeviceImageSubresourceInfoKHR. Sets the | |