pCreateInfo::pNext chain must not contain a VkImageSwapchainCreateInfoKHR structurepCreateInfo::pNext chain must not contain a VkImageDrmFormatModifierExplicitCreateInfoEXT structureGetDeviceImageMemoryRequirements with a VkImageCreateInfo whose pNext chain includes a VkExternalFormatANDROID structure with non-zero externalFormatpCreateInfo::format specifies a multi-planar format and pCreateInfo::flags has IMAGE_CREATE_DISJOINT_BIT set then planeAspect must not be IMAGE_ASPECT_NONE_KHRpCreateInfo::flags has IMAGE_CREATE_DISJOINT_BIT set and if the pCreateInfo::tiling is IMAGE_TILING_LINEAR or IMAGE_TILING_OPTIMAL, then planeAspect must be a single valid multi-planar aspect mask bitpCreateInfo::tiling is IMAGE_TILING_DRM_FORMAT_MODIFIER_EXT, then planeAspect must be a single valid memory plane for the image (that is, aspectMask must specify a plane index that is less than the VkDrmFormatModifierPropertiesEXT::drmFormatModifierPlaneCount associated with the image’s format and VkImageDrmFormatModifierPropertiesEXT::drmFormatModifier)sType must be STRUCTURE_TYPE_DEVICE_IMAGE_MEMORY_REQUIREMENTSpNext must be NULLpCreateInfo must be a valid pointer to a valid VkImageCreateInfo structureplaneAspect is not 0, planeAspect must be a valid VkImageAspectFlagBits valueVkImageCreateInfo, GetDeviceImageMemoryRequirements, GetDeviceImageMemoryRequirementsKHR, GetDeviceImageSparseMemoryRequirements, GetDeviceImageSparseMemoryRequirementsKHR
struct VkDeviceImageMemoryRequirements {
VkStructureType sType;
void const * pNext;
VkImageCreateInfo const * pCreateInfo;
VkImageAspectFlagBits planeAspect;
}
| Modifier and Type | Class and Description |
|---|---|
| public static class | VkDeviceImageMemoryRequirements.
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 | PLANEASPECT
The struct member offsets. |
| public static final int | PNEXT
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 | VkDeviceImageMemoryRequirements(ByteBuffer container)
Creates a |
| Modifier and Type | Method and Description |
|---|---|
| public static VkDeviceImageMemoryRequirements | |
| public static VkDeviceImageMemoryRequirements. | calloc(int
the buffer capacity capacity)Returns a new |
| public static VkDeviceImageMemoryRequirements | calloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static VkDeviceImageMemoryRequirements. | calloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| protected VkDeviceImageMemoryRequirements | 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 VkDeviceImageMemoryRequirements | |
| public static VkDeviceImageMemoryRequirements | create(long address)
Returns a new |
| public static VkDeviceImageMemoryRequirements. | create(int
the buffer capacity capacity)Returns a new |
| public static VkDeviceImageMemoryRequirements. | create(long
the memory address address, int the buffer capacity capacity)Create a |
| public static VkDeviceImageMemoryRequirements | |
| public static VkDeviceImageMemoryRequirements. | |
| public static VkDeviceImageMemoryRequirements | |
| public static VkDeviceImageMemoryRequirements. | malloc(int
the buffer capacity capacity)Returns a new |
| public static VkDeviceImageMemoryRequirements | malloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static VkDeviceImageMemoryRequirements. | 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 int | |
| public static void | |
| public static long | |
| public static void | |
| public static int | |
| public static void | |
| public VkImageCreateInfo | pCreateInfo()
a pointer to a |
| public VkDeviceImageMemoryRequirements | pCreateInfo(VkImageCreateInfo value)
Sets the address of the specified |
| public int | planeAspect()
a |
| public VkDeviceImageMemoryRequirements | |
| public long | |
| public VkDeviceImageMemoryRequirements | |
| public VkDeviceImageMemoryRequirements | set(int sType, long pNext, VkImageCreateInfo pCreateInfo, int planeAspect)
Initializes this struct with the specified values. |
| public VkDeviceImageMemoryRequirements | Returns: this structthe source struct src)Copies the specified struct data to this struct. |
| public int | |
| public int | |
| public VkDeviceImageMemoryRequirements | |
| public VkDeviceImageMemoryRequirements | |
| 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. | |
| PLANEASPECT | back to summary |
|---|---|
| public static final int PLANEASPECT The struct member offsets. | |
| PNEXT | back to summary |
|---|---|
| public static final int PNEXT 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. | |
| VkDeviceImageMemoryRequirements | back to summary |
|---|---|
| protected VkDeviceImageMemoryRequirements(long address, ByteBuffer container) | |
| VkDeviceImageMemoryRequirements | back to summary |
|---|---|
| public VkDeviceImageMemoryRequirements(ByteBuffer container) Creates a The created instance holds a strong reference to the container object. | |
| calloc | back to summary |
|---|---|
| public static VkDeviceImageMemoryRequirements calloc() Returns a new | |
| calloc | back to summary |
|---|---|
| public static VkDeviceImageMemoryRequirements. Returns a new
| |
| calloc | back to summary |
|---|---|
| public static VkDeviceImageMemoryRequirements calloc(MemoryStack stack) Returns a new
| |
| calloc | back to summary |
|---|---|
| public static VkDeviceImageMemoryRequirements. Returns a new
| |
| create | back to summary |
|---|---|
| protected VkDeviceImageMemoryRequirements create(long address, ByteBuffer container) Implements abstract org. Doc from org. Similar to Effectively, every
| |
| create | back to summary |
|---|---|
| public static VkDeviceImageMemoryRequirements create() Returns a new | |
| create | back to summary |
|---|---|
| public static VkDeviceImageMemoryRequirements create(long address) Returns a new | |
| create | back to summary |
|---|---|
| public static VkDeviceImageMemoryRequirements. Returns a new
| |
| create | back to summary |
|---|---|
| public static VkDeviceImageMemoryRequirements. Create a
| |
| createSafe | back to summary |
|---|---|
| public static VkDeviceImageMemoryRequirements createSafe(long address) Like
| |
| createSafe | back to summary |
|---|---|
| public static VkDeviceImageMemoryRequirements. Like
| |
| malloc | back to summary |
|---|---|
| public static VkDeviceImageMemoryRequirements malloc() Returns a new | |
| malloc | back to summary |
|---|---|
| public static VkDeviceImageMemoryRequirements. Returns a new
| |
| malloc | back to summary |
|---|---|
| public static VkDeviceImageMemoryRequirements malloc(MemoryStack stack) Returns a new
| |
| malloc | back to summary |
|---|---|
| public static VkDeviceImageMemoryRequirements. 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 | |
| nplaneAspect | back to summary |
|---|---|
| public static int nplaneAspect(long struct) Unsafe version of | |
| nplaneAspect | back to summary |
|---|---|
| public static void nplaneAspect(long struct, int 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 | |
| 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 VkDeviceImageMemoryRequirements pCreateInfo(VkImageCreateInfo value) Sets the address of the specified | |
| planeAspect | back to summary |
|---|---|
| public int planeAspect() a
| |
| planeAspect | back to summary |
|---|---|
| public VkDeviceImageMemoryRequirements planeAspect(int value) Sets the specified value to the | |
| pNext | back to summary |
|---|---|
| public long pNext()
| |
| pNext | back to summary |
|---|---|
| public VkDeviceImageMemoryRequirements pNext(long value) Sets the specified value to the | |
| set | back to summary |
|---|---|
| public VkDeviceImageMemoryRequirements set(int sType, long pNext, VkImageCreateInfo pCreateInfo, int planeAspect) Initializes this struct with the specified values. | |
| set | back to summary |
|---|---|
| public VkDeviceImageMemoryRequirements set(VkDeviceImageMemoryRequirements 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 VkDeviceImageMemoryRequirements sType(int value) Sets the specified value to the | |
| sType$Default | back to summary |
|---|---|
| public VkDeviceImageMemoryRequirements sType$Default() Sets the | |
| validate | back to summary |
|---|---|
| public static void validate(long struct) Validates pointer members that should not be
| |
VkDeviceImageMemoryRequirements structs.
| Modifier and Type | Field and Description |
|---|---|
| private static final VkDeviceImageMemoryRequirements |
| Access | Constructor and Description |
|---|---|
| public | Buffer(ByteBuffer container)
Creates a new |
| public | |
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| protected VkDeviceImageMemoryRequirements | |
| public VkImageCreateInfo | Returns: aVkImageCreateInfo view of the struct pointed to by the VkDeviceImageMemoryRequirements#pCreateInfo field.
|
| public VkDeviceImageMemoryRequirements. | pCreateInfo(VkImageCreateInfo value)
Sets the address of the specified |
| public int | |
| public VkDeviceImageMemoryRequirements. | planeAspect(int value)
Sets the specified value to the |
| public long | |
| public VkDeviceImageMemoryRequirements. | |
| protected VkDeviceImageMemoryRequirements. | |
| public int | |
| public VkDeviceImageMemoryRequirements. | |
| public VkDeviceImageMemoryRequirements. | sType$Default()
Sets the |
| ELEMENT_FACTORY | back to summary |
|---|---|
| private static final VkDeviceImageMemoryRequirements 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 VkDeviceImageMemoryRequirements getElementFactory() Implements abstract org.
| |
| pCreateInfo | back to summary |
|---|---|
public VkImageCreateInfo pCreateInfo()
| |
| pCreateInfo | back to summary |
|---|---|
| public VkDeviceImageMemoryRequirements. Sets the address of the specified | |
| planeAspect | back to summary |
|---|---|
public int planeAspect()
| |
| planeAspect | back to summary |
|---|---|
| public VkDeviceImageMemoryRequirements. Sets the specified value to the | |
| pNext | back to summary |
|---|---|
public long pNext()
| |
| pNext | back to summary |
|---|---|
| public VkDeviceImageMemoryRequirements. Sets the specified value to the | |
| self | back to summary |
|---|---|
| protected VkDeviceImageMemoryRequirements. Implements abstract org.
| |
| sType | back to summary |
|---|---|
public int sType()
| |
| sType | back to summary |
|---|---|
| public VkDeviceImageMemoryRequirements. Sets the specified value to the | |
| sType$Default | back to summary |
|---|---|
| public VkDeviceImageMemoryRequirements. Sets the | |