Members of VkDescriptorImageInfo that are not used in an update (as described above) are ignored.
imageView must not be a 2D array image view created from a 3D imageimageView is a 2D view created from a 3D image, then descriptorType must be DESCRIPTOR_TYPE_STORAGE_IMAGE, DESCRIPTOR_TYPE_SAMPLED_IMAGE, or DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLERimageView is a 2D view created from a 3D image, then the image must have been created with IMAGE_CREATE_2D_VIEW_COMPATIBLE_BIT_EXT setimage2DViewOf3D feature is not enabled or descriptorType is not DESCRIPTOR_TYPE_STORAGE_IMAGE then imageView must not be a 2D view created from a 3D imagesampler2DViewOf3D feature is not enabled or descriptorType is not DESCRIPTOR_TYPE_SAMPLED_IMAGE or DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER then imageView must not be a 2D view created from a 3D imageimageView is created from a depth/stencil image, the aspectMask used to create the imageView must include either IMAGE_ASPECT_DEPTH_BIT or IMAGE_ASPECT_STENCIL_BIT but not bothimageLayout must match the actual VkImageLayout of each subresource accessible from imageView at the time this descriptor is accessed as defined by the image layout matching rulessampler is used and the VkFormat of the image is a multi-planar format, the image must have been created with IMAGE_CREATE_MUTABLE_FORMAT_BIT, and the aspectMask of the imageView must be a valid multi-planar aspect mask bitVK_KHR_portability_subset extension is enabled, and VkPhysicalDevicePortabilitySubsetFeaturesKHR::mutableComparisonSamplers is FALSE, then sampler must have been created with VkSamplerCreateInfo::compareEnable set to FALSEimageView, and sampler that are valid handles of non-ignored parameters must have been created, allocated, or retrieved from the same VkDeviceVkDescriptorDataEXT, VkWriteDescriptorSet
struct VkDescriptorImageInfo {
VkSampler sampler;
VkImageView imageView;
VkImageLayout imageLayout;
}
| Modifier and Type | Class and Description |
|---|---|
| public static class | VkDescriptorImageInfo.
An array of |
| Modifier and Type | Field and Description |
|---|---|
| public static final int | ALIGNOF
The struct alignment in bytes. |
| public static final int | IMAGELAYOUT
The struct member offsets. |
| public static final int | IMAGEVIEW
The struct member offsets. |
| public static final int | SAMPLER
The struct member offsets. |
| public static final int | SIZEOF
The struct size in bytes. |
| Access | Constructor and Description |
|---|---|
| protected | |
| public | VkDescriptorImageInfo(ByteBuffer container)
Creates a |
| Modifier and Type | Method and Description |
|---|---|
| public static VkDescriptorImageInfo | |
| public static VkDescriptorImageInfo. | calloc(int
the buffer capacity capacity)Returns a new |
| public static VkDescriptorImageInfo | calloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static VkDescriptorImageInfo. | calloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| public static VkDescriptorImageInfo | |
| public static VkDescriptorImageInfo | |
| public static VkDescriptorImageInfo. | |
| public static VkDescriptorImageInfo. | |
| protected VkDescriptorImageInfo | 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 VkDescriptorImageInfo | |
| public static VkDescriptorImageInfo | |
| public static VkDescriptorImageInfo. | create(int
the buffer capacity capacity)Returns a new |
| public static VkDescriptorImageInfo. | create(long
the memory address address, int the buffer capacity capacity)Create a |
| public static VkDescriptorImageInfo | |
| public static VkDescriptorImageInfo. | |
| public int | imageLayout()
the layout that the image subresources accessible from |
| public VkDescriptorImageInfo | |
| public long | imageView()
|
| public VkDescriptorImageInfo | |
| public static VkDescriptorImageInfo | |
| public static VkDescriptorImageInfo. | malloc(int
the buffer capacity capacity)Returns a new |
| public static VkDescriptorImageInfo | malloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static VkDescriptorImageInfo. | malloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| public static VkDescriptorImageInfo | |
| public static VkDescriptorImageInfo | |
| public static VkDescriptorImageInfo. | |
| public static VkDescriptorImageInfo. | |
| public static int | |
| public static void | |
| public static long | |
| public static void | |
| public static long | |
| public static void | |
| public long | sampler()
a sampler handle, and is used in descriptor updates for types |
| public VkDescriptorImageInfo | |
| public VkDescriptorImageInfo | set(long sampler, long imageView, int imageLayout)
Initializes this struct with the specified values. |
| public VkDescriptorImageInfo | Returns: this structthe source struct src)Copies the specified struct data to this struct. |
| public int |
| ALIGNOF | back to summary |
|---|---|
| public static final int ALIGNOF The struct alignment in bytes. | |
| IMAGELAYOUT | back to summary |
|---|---|
| public static final int IMAGELAYOUT The struct member offsets. | |
| IMAGEVIEW | back to summary |
|---|---|
| public static final int IMAGEVIEW The struct member offsets. | |
| SAMPLER | back to summary |
|---|---|
| public static final int SAMPLER The struct member offsets. | |
| SIZEOF | back to summary |
|---|---|
| public static final int SIZEOF The struct size in bytes. | |
| VkDescriptorImageInfo | back to summary |
|---|---|
| protected VkDescriptorImageInfo(long address, ByteBuffer container) | |
| VkDescriptorImageInfo | back to summary |
|---|---|
| public VkDescriptorImageInfo(ByteBuffer container) Creates a The created instance holds a strong reference to the container object. | |
| calloc | back to summary |
|---|---|
| public static VkDescriptorImageInfo calloc() Returns a new | |
| calloc | back to summary |
|---|---|
| public static VkDescriptorImageInfo. Returns a new
| |
| calloc | back to summary |
|---|---|
| public static VkDescriptorImageInfo calloc(MemoryStack stack) Returns a new
| |
| calloc | back to summary |
|---|---|
| public static VkDescriptorImageInfo. Returns a new
| |
| callocStack | back to summary |
|---|---|
| public static VkDescriptorImageInfo callocStack()
Deprecated
Deprecated for removal in 3.4.0. Use
| |
| callocStack | back to summary |
|---|---|
| public static VkDescriptorImageInfo callocStack(MemoryStack stack)
Deprecated
Deprecated for removal in 3.4.0. Use
| |
| callocStack | back to summary |
|---|---|
| public static VkDescriptorImageInfo. Deprecated
Deprecated for removal in 3.4.0. Use
| |
| callocStack | back to summary |
|---|---|
| public static VkDescriptorImageInfo. Deprecated
Deprecated for removal in 3.4.0. Use
| |
| create | back to summary |
|---|---|
| protected VkDescriptorImageInfo create(long address, ByteBuffer container) Implements abstract org. Doc from org. Similar to Effectively, every
| |
| create | back to summary |
|---|---|
| public static VkDescriptorImageInfo create() Returns a new | |
| create | back to summary |
|---|---|
| public static VkDescriptorImageInfo create(long address) Returns a new | |
| create | back to summary |
|---|---|
| public static VkDescriptorImageInfo. Returns a new
| |
| create | back to summary |
|---|---|
| public static VkDescriptorImageInfo. Create a
| |
| createSafe | back to summary |
|---|---|
| public static VkDescriptorImageInfo createSafe(long address) Like
| |
| createSafe | back to summary |
|---|---|
| public static VkDescriptorImageInfo. Like
| |
| imageLayout | back to summary |
|---|---|
| public int imageLayout() the layout that the image subresources accessible from
| |
| imageLayout | back to summary |
|---|---|
| public VkDescriptorImageInfo imageLayout(int value) Sets the specified value to the | |
| imageView | back to summary |
|---|---|
| public long imageView()
| |
| imageView | back to summary |
|---|---|
| public VkDescriptorImageInfo imageView(long value) Sets the specified value to the | |
| malloc | back to summary |
|---|---|
| public static VkDescriptorImageInfo malloc() Returns a new | |
| malloc | back to summary |
|---|---|
| public static VkDescriptorImageInfo. Returns a new
| |
| malloc | back to summary |
|---|---|
| public static VkDescriptorImageInfo malloc(MemoryStack stack) Returns a new
| |
| malloc | back to summary |
|---|---|
| public static VkDescriptorImageInfo. Returns a new
| |
| mallocStack | back to summary |
|---|---|
| public static VkDescriptorImageInfo mallocStack()
Deprecated
Deprecated for removal in 3.4.0. Use
| |
| mallocStack | back to summary |
|---|---|
| public static VkDescriptorImageInfo mallocStack(MemoryStack stack)
Deprecated
Deprecated for removal in 3.4.0. Use
| |
| mallocStack | back to summary |
|---|---|
| public static VkDescriptorImageInfo. Deprecated
Deprecated for removal in 3.4.0. Use
| |
| mallocStack | back to summary |
|---|---|
| public static VkDescriptorImageInfo. Deprecated
Deprecated for removal in 3.4.0. Use
| |
| nimageLayout | back to summary |
|---|---|
| public static int nimageLayout(long struct) Unsafe version of | |
| nimageLayout | back to summary |
|---|---|
| public static void nimageLayout(long struct, int value) Unsafe version of | |
| nimageView | back to summary |
|---|---|
| public static long nimageView(long struct) Unsafe version of | |
| nimageView | back to summary |
|---|---|
| public static void nimageView(long struct, long value) Unsafe version of | |
| nsampler | back to summary |
|---|---|
| public static long nsampler(long struct) Unsafe version of | |
| nsampler | back to summary |
|---|---|
| public static void nsampler(long struct, long value) Unsafe version of | |
| sampler | back to summary |
|---|---|
| public long sampler() a sampler handle, and is used in descriptor updates for types
| |
| sampler | back to summary |
|---|---|
| public VkDescriptorImageInfo sampler(long value) Sets the specified value to the | |
| set | back to summary |
|---|---|
| public VkDescriptorImageInfo set(long sampler, long imageView, int imageLayout) Initializes this struct with the specified values. | |
| set | back to summary |
|---|---|
| public VkDescriptorImageInfo set(VkDescriptorImageInfo src) Copies the specified struct data to this struct.
| |
| sizeof | back to summary |
|---|---|
| public int sizeof() Implements abstract org. Doc from org. Returns
| |
VkDescriptorImageInfo structs.
| Modifier and Type | Field and Description |
|---|---|
| private static final VkDescriptorImageInfo |
| Access | Constructor and Description |
|---|---|
| public | Buffer(ByteBuffer container)
Creates a new |
| public | |
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| protected VkDescriptorImageInfo | |
| public int | |
| public VkDescriptorImageInfo. | |
| public long | |
| public VkDescriptorImageInfo. | |
| public long | |
| public VkDescriptorImageInfo. | |
| protected VkDescriptorImageInfo. |
| ELEMENT_FACTORY | back to summary |
|---|---|
| private static final VkDescriptorImageInfo 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 VkDescriptorImageInfo getElementFactory() Implements abstract org.
| |
| imageLayout | back to summary |
|---|---|
public int imageLayout()
| |
| imageLayout | back to summary |
|---|---|
| public VkDescriptorImageInfo. Sets the specified value to the | |
| imageView | back to summary |
|---|---|
public long imageView()
| |
| imageView | back to summary |
|---|---|
| public VkDescriptorImageInfo. Sets the specified value to the | |
| sampler | back to summary |
|---|---|
public long sampler()
| |
| sampler | back to summary |
|---|---|
| public VkDescriptorImageInfo. Sets the specified value to the | |
| self | back to summary |
|---|---|
| protected VkDescriptorImageInfo. Implements abstract org.
| |