Some of the image creation parameters are inherited by the view. In particular, image view creation inherits the implicit parameter usage specifying the allowed usages of the image view that, by default, takes the value of the corresponding usage parameter specified in VkImageCreateInfo at image creation time. The implicit usage can be overridden by adding a VkImageViewUsageCreateInfo structure to the pNext chain, but the view usage must be a subset of the image usage. If image has a depth-stencil format and was created with a VkImageStencilUsageCreateInfo structure included in the pNext chain of VkImageCreateInfo, the usage is calculated based on the subresource.aspectMask provided:
aspectMask includes only IMAGE_ASPECT_STENCIL_BIT, the implicit usage is equal to VkImageStencilUsageCreateInfo::stencilUsage.aspectMask includes only IMAGE_ASPECT_DEPTH_BIT, the implicit usage is equal to VkImageCreateInfo::usage.aspectMask, the implicit usage is equal to the intersection of VkImageCreateInfo::usage and VkImageStencilUsageCreateInfo::stencilUsage.If image is a 3D image, its Z range can be restricted to a subset by adding a VkImageViewSlicedCreateInfoEXT to the pNext chain.
If image was created with the IMAGE_CREATE_MUTABLE_FORMAT_BIT flag, and if the format of the image is not multi-planar, format can be different from the image’s format, but if image was created without the IMAGE_CREATE_BLOCK_TEXEL_VIEW_COMPATIBLE_BIT flag and they are not equal they must be compatible. Image format compatibility is defined in the Format Compatibility Classes section. Views of compatible formats will have the same mapping between texel coordinates and memory locations irrespective of the format, with only the interpretation of the bit pattern changing.
If image was created with a multi-planar format, and the image view’s aspectMask is one of IMAGE_ASPECT_PLANE_0_BIT, IMAGE_ASPECT_PLANE_1_BIT or IMAGE_ASPECT_PLANE_2_BIT, the view’s aspect mask is considered to be equivalent to IMAGE_ASPECT_COLOR_BIT when used as a framebuffer attachment.
Values intended to be used with one view format may not be exactly preserved when written or read through a different format. For example, an integer value that happens to have the bit pattern of a floating point denorm or NaN may be flushed or canonicalized when written or read through a view with a floating point format. Similarly, a value written through a signed normalized format that has a bit pattern exactly equal to -2b may be changed to -2b + 1 as described in Conversion from Normalized Fixed-Point to Floating-Point.
If image was created with the IMAGE_CREATE_BLOCK_TEXEL_VIEW_COMPATIBLE_BIT flag, format must be compatible with the image’s format as described above; or must be an uncompressed format, in which case it must be size-compatible with the image’s format. In this case, the resulting image view’s texel dimensions equal the dimensions of the selected mip level divided by the compressed texel block size and rounded up.
The VkComponentMapping components member describes a remapping from components of the image to components of the vector returned by shader image instructions. This remapping must be the identity swizzle for storage image descriptors, input attachment descriptors, framebuffer attachments, and any VkImageView used with a combined image sampler that enables sampler Y′CBCR conversion.
If the image view is to be used with a sampler which supports sampler Y′CBCR conversion, an identically defined object of type VkSamplerYcbcrConversion to that used to create the sampler must be passed to CreateImageView in a VkSamplerYcbcrConversionInfo included in the pNext chain of VkImageViewCreateInfo. Conversely, if a VkSamplerYcbcrConversion object is passed to CreateImageView, an identically defined VkSamplerYcbcrConversion object must be used when sampling the image.
If the image has a multi-planar format, subresourceRange.aspectMask is IMAGE_ASPECT_COLOR_BIT, and usage includes IMAGE_USAGE_SAMPLED_BIT, then the format must be identical to the image format and the sampler to be used with the image view must enable sampler Y′CBCR conversion.
When such an image is used in a video coding operation, the sampler Y′CBCR conversion has no effect.
If image was created with the IMAGE_CREATE_MUTABLE_FORMAT_BIT and the image has a multi-planar format, and if subresourceRange.aspectMask is IMAGE_ASPECT_PLANE_0_BIT, IMAGE_ASPECT_PLANE_1_BIT, or IMAGE_ASPECT_PLANE_2_BIT, format must be compatible with the corresponding plane of the image, and the sampler to be used with the image view must not enable sampler Y′CBCR conversion. The width and height of the single-plane image view must be derived from the multi-planar image’s dimensions in the manner listed for plane compatibility for the plane.
Any view of an image plane will have the same mapping between texel coordinates and memory locations as used by the components of the color aspect, subject to the formulae relating texel coordinates to lower-resolution planes as described in Chroma Reconstruction. That is, if an R or B plane has a reduced resolution relative to the G plane of the multi-planar image, the image view operates using the (uplane, vplane) unnormalized coordinates of the reduced-resolution plane, and these coordinates access the same memory locations as the (ucolor, vcolor) unnormalized coordinates of the color aspect for which chroma reconstruction operations operate on the same (uplane, vplane) or (iplane, jplane) coordinates.
image was not created with IMAGE_CREATE_CUBE_COMPATIBLE_BIT then viewType must not be IMAGE_VIEW_TYPE_CUBE or IMAGE_VIEW_TYPE_CUBE_ARRAYimageCubeArray feature is not enabled, viewType must not be IMAGE_VIEW_TYPE_CUBE_ARRAYimage was created with IMAGE_TYPE_3D but without IMAGE_CREATE_2D_ARRAY_COMPATIBLE_BIT set then viewType must not be IMAGE_VIEW_TYPE_2D_ARRAYimage was created with IMAGE_TYPE_3D but without IMAGE_CREATE_2D_ARRAY_COMPATIBLE_BIT or IMAGE_CREATE_2D_VIEW_COMPATIBLE_BIT_EXT set, then viewType must not be IMAGE_VIEW_TYPE_2Dimage was created with IMAGE_TYPE_3D and viewType is IMAGE_VIEW_TYPE_2D or IMAGE_VIEW_TYPE_2D_ARRAY then subresourceRange.levelCount must be 1image was created with IMAGE_TYPE_3D and viewType is IMAGE_VIEW_TYPE_2D or IMAGE_VIEW_TYPE_2D_ARRAY then VkImageCreateInfo::flags must not contain any of IMAGE_CREATE_SPARSE_BINDING_BIT, IMAGE_CREATE_SPARSE_RESIDENCY_BIT, and IMAGE_CREATE_SPARSE_ALIASED_BITimage was created with a samples value not equal to SAMPLE_COUNT_1_BIT then viewType must be either IMAGE_VIEW_TYPE_2D or IMAGE_VIEW_TYPE_2D_ARRAYimage must have been created with a usage value containing at least one of the usages defined in the valid image usage list for image viewsusage contains IMAGE_USAGE_SAMPLED_BIT, then the format features of the resultant image view must contain FORMAT_FEATURE_SAMPLED_IMAGE_BITusage contains IMAGE_USAGE_STORAGE_BIT, then the image view’s format features must contain FORMAT_FEATURE_STORAGE_IMAGE_BITusage contains IMAGE_USAGE_COLOR_ATTACHMENT_BIT, then the image view’s format features must contain FORMAT_FEATURE_COLOR_ATTACHMENT_BIT or FORMAT_FEATURE_2_LINEAR_COLOR_ATTACHMENT_BIT_NVusage contains IMAGE_USAGE_DEPTH_STENCIL_ATTACHMENT_BIT, then the image view’s format features must contain FORMAT_FEATURE_DEPTH_STENCIL_ATTACHMENT_BITusage contains IMAGE_USAGE_INPUT_ATTACHMENT_BIT, then the image view’s format features must contain at least one of FORMAT_FEATURE_COLOR_ATTACHMENT_BIT, FORMAT_FEATURE_DEPTH_STENCIL_ATTACHMENT_BIT or, FORMAT_FEATURE_2_LINEAR_COLOR_ATTACHMENT_BIT_NVsubresourceRange.baseMipLevel must be less than the mipLevels specified in VkImageCreateInfo when image was createdsubresourceRange.levelCount is not REMAINING_MIP_LEVELS, subresourceRange.baseMipLevel + subresourceRange.levelCount must be less than or equal to the mipLevels specified in VkImageCreateInfo when image was createdimage was created with usage containing IMAGE_USAGE_FRAGMENT_DENSITY_MAP_BIT_EXT, subresourceRange.levelCount must be 1image is not a 3D image created with IMAGE_CREATE_2D_ARRAY_COMPATIBLE_BIT or IMAGE_CREATE_2D_VIEW_COMPATIBLE_BIT_EXT set, or viewType is not IMAGE_VIEW_TYPE_2D or IMAGE_VIEW_TYPE_2D_ARRAY, subresourceRange.baseArrayLayer must be less than the arrayLayers specified in VkImageCreateInfo when image was createdsubresourceRange.layerCount is not REMAINING_ARRAY_LAYERS, image is not a 3D image created with IMAGE_CREATE_2D_ARRAY_COMPATIBLE_BIT or IMAGE_CREATE_2D_VIEW_COMPATIBLE_BIT_EXT set, or viewType is not IMAGE_VIEW_TYPE_2D or IMAGE_VIEW_TYPE_2D_ARRAY, subresourceRange.layerCount must be non-zero and subresourceRange.baseArrayLayer + subresourceRange.layerCount must be less than or equal to the arrayLayers specified in VkImageCreateInfo when image was createdimage is a 3D image created with IMAGE_CREATE_2D_ARRAY_COMPATIBLE_BIT set, and viewType is IMAGE_VIEW_TYPE_2D or IMAGE_VIEW_TYPE_2D_ARRAY, subresourceRange.baseArrayLayer must be less than the depth computed from baseMipLevel and extent.depth specified in VkImageCreateInfo when image was created, according to the formula defined in Image Mip Level SizingsubresourceRange.layerCount is not REMAINING_ARRAY_LAYERS, image is a 3D image created with IMAGE_CREATE_2D_ARRAY_COMPATIBLE_BIT set, and viewType is IMAGE_VIEW_TYPE_2D or IMAGE_VIEW_TYPE_2D_ARRAY, subresourceRange.layerCount must be non-zero and subresourceRange.baseArrayLayer + subresourceRange.layerCount must be less than or equal to the depth computed from baseMipLevel and extent.depth specified in VkImageCreateInfo when image was created, according to the formula defined in Image Mip Level Sizingimage was created with the IMAGE_CREATE_MUTABLE_FORMAT_BIT flag, but without the IMAGE_CREATE_BLOCK_TEXEL_VIEW_COMPATIBLE_BIT flag, and if the format of the image is not a multi-planar format, format must be compatible with the format used to create image, as defined in Format Compatibility Classesimage was created with the IMAGE_CREATE_BLOCK_TEXEL_VIEW_COMPATIBLE_BIT flag, format must be compatible with, or must be an uncompressed format that is size-compatible with, the format used to create imageimage was created with the IMAGE_CREATE_BLOCK_TEXEL_VIEW_COMPATIBLE_BIT flag and format is a non-compressed format, the levelCount and layerCount members of subresourceRange must both be 1VkImageFormatListCreateInfo structure was included in the pNext chain of the VkImageCreateInfo structure used when creating image and VkImageFormatListCreateInfo::viewFormatCount is not zero then format must be one of the formats in VkImageFormatListCreateInfo::pViewFormatsimage was created with the IMAGE_CREATE_MUTABLE_FORMAT_BIT flag, if the format of the image is a multi-planar format, and if subresourceRange.aspectMask is one of the multi-planar aspect mask bits, then format must be compatible with the VkFormat for the plane of the image format indicated by subresourceRange.aspectMask, as defined in Compatible formats of planes of multi-planar formatssubresourceRange.aspectMask must only have at most 1 valid multi-planar aspect mask bitimage was not created with the IMAGE_CREATE_MUTABLE_FORMAT_BIT flag, or if the format of the image is a multi-planar format and if subresourceRange.aspectMask is IMAGE_ASPECT_COLOR_BIT, format must be identical to the format used to create imageusage contains IMAGE_USAGE_SAMPLED_BIT, then the pNext chain must include a VkSamplerYcbcrConversionInfo structure with a conversion value other than NULL_HANDLEformat has a _422 or _420 suffix then image must have been created with a width that is a multiple of 2format has a _420 suffix then image must have been created with a height that is a multiple of 2pNext chain includes a VkSamplerYcbcrConversionInfo structure with a conversion value other than NULL_HANDLE, all members of components must have the identity swizzlepNext chain includes a VkSamplerYcbcrConversionInfo structure with a conversion value other than NULL_HANDLE, format must be the same used in VkSamplerYcbcrConversionCreateInfo::formatimage is non-sparse then it must be bound completely and contiguously to a single VkDeviceMemory objectviewType must be compatible with the type of image as shown in the view type compatibility tableimage has an Android external format, format must be FORMAT_UNDEFINEDimage has an Android external format, the pNext chain must include a VkSamplerYcbcrConversionInfo structure with a conversion object created with the same external format as imageimage has an Android external format, all members of components must be the identity swizzleimage was created with usage containing IMAGE_USAGE_FRAGMENT_SHADING_RATE_ATTACHMENT_BIT_KHR, viewType must be IMAGE_VIEW_TYPE_2D or IMAGE_VIEW_TYPE_2D_ARRAYshadingRateImage feature is enabled, and If image was created with usage containing IMAGE_USAGE_SHADING_RATE_IMAGE_BIT_NV, format must be FORMAT_R8_UINTattachmentFragmentShadingRate feature is enabled, and the usage for the image view includes IMAGE_USAGE_FRAGMENT_SHADING_RATE_ATTACHMENT_BIT_KHR, then the image view’s format features must contain FORMAT_FEATURE_FRAGMENT_SHADING_RATE_ATTACHMENT_BIT_KHRattachmentFragmentShadingRate feature is enabled, the usage for the image view includes IMAGE_USAGE_FRAGMENT_SHADING_RATE_ATTACHMENT_BIT_KHR, and layeredShadingRateAttachments is FALSE, subresourceRange.layerCount must be 1fragmentDensityMapDynamic feature is not enabled, flags must not contain IMAGE_VIEW_CREATE_FRAGMENT_DENSITY_MAP_DYNAMIC_BIT_EXTfragmentDensityMapDeferred feature is not enabled, flags must not contain IMAGE_VIEW_CREATE_FRAGMENT_DENSITY_MAP_DEFERRED_BIT_EXTflags contains IMAGE_VIEW_CREATE_FRAGMENT_DENSITY_MAP_DEFERRED_BIT_EXT, flags must not contain IMAGE_VIEW_CREATE_FRAGMENT_DENSITY_MAP_DYNAMIC_BIT_EXTimage was created with flags containing IMAGE_CREATE_SUBSAMPLED_BIT_EXT and usage containing IMAGE_USAGE_SAMPLED_BIT, subresourceRange.layerCount must be less than or equal to VkPhysicalDeviceFragmentDensityMap2PropertiesEXT::maxSubsampledArrayLayersinvocationMask feature is enabled, and if image was created with usage containing IMAGE_USAGE_INVOCATION_MASK_BIT_HUAWEI, format must be FORMAT_R8_UINTflags does not contain IMAGE_VIEW_CREATE_FRAGMENT_DENSITY_MAP_DYNAMIC_BIT_EXT and image was created with usage containing IMAGE_USAGE_FRAGMENT_DENSITY_MAP_BIT_EXT, its flags must not contain any of IMAGE_CREATE_PROTECTED_BIT, IMAGE_CREATE_SPARSE_BINDING_BIT, IMAGE_CREATE_SPARSE_RESIDENCY_BIT, or IMAGE_CREATE_SPARSE_ALIASED_BITpNext chain includes a VkImageViewUsageCreateInfo structure, and image was not created with a VkImageStencilUsageCreateInfo structure included in the pNext chain of VkImageCreateInfo, its usage member must not include any bits that were not set in the usage member of the VkImageCreateInfo structure used to create imagepNext chain includes a VkImageViewUsageCreateInfo structure, image was created with a VkImageStencilUsageCreateInfo structure included in the pNext chain of VkImageCreateInfo, and subresourceRange.aspectMask includes IMAGE_ASPECT_STENCIL_BIT, the usage member of the VkImageViewUsageCreateInfo structure must not include any bits that were not set in the usage member of the VkImageStencilUsageCreateInfo structure used to create imagepNext chain includes a VkImageViewUsageCreateInfo structure, image was created with a VkImageStencilUsageCreateInfo structure included in the pNext chain of VkImageCreateInfo, and subresourceRange.aspectMask includes bits other than IMAGE_ASPECT_STENCIL_BIT, the usage member of the VkImageViewUsageCreateInfo structure must not include any bits that were not set in the usage member of the VkImageCreateInfo structure used to create imageviewType is IMAGE_VIEW_TYPE_1D, IMAGE_VIEW_TYPE_2D, or IMAGE_VIEW_TYPE_3D; and subresourceRange.layerCount is not REMAINING_ARRAY_LAYERS, then subresourceRange.layerCount must be 1viewType is IMAGE_VIEW_TYPE_1D, IMAGE_VIEW_TYPE_2D, or IMAGE_VIEW_TYPE_3D; and subresourceRange.layerCount is REMAINING_ARRAY_LAYERS, then the remaining number of layers must be 1viewType is IMAGE_VIEW_TYPE_CUBE and subresourceRange.layerCount is not REMAINING_ARRAY_LAYERS, subresourceRange.layerCount must be 6viewType is IMAGE_VIEW_TYPE_CUBE_ARRAY and subresourceRange.layerCount is not REMAINING_ARRAY_LAYERS, subresourceRange.layerCount must be a multiple of 6viewType is IMAGE_VIEW_TYPE_CUBE and subresourceRange.layerCount is REMAINING_ARRAY_LAYERS, the remaining number of layers must be 6viewType is IMAGE_VIEW_TYPE_CUBE_ARRAY and subresourceRange.layerCount is REMAINING_ARRAY_LAYERS, the remaining number of layers must be a multiple of 6VK_KHR_portability_subset extension is enabled, and VkPhysicalDevicePortabilitySubsetFeaturesKHR::imageViewFormatSwizzle is FALSE, all elements of components must have the identity swizzleVK_KHR_portability_subset extension is enabled, and VkPhysicalDevicePortabilitySubsetFeaturesKHR::imageViewFormatReinterpretation is FALSE, the VkFormat in format must not contain a different number of components, or a different number of bits in each component, than the format of the VkImage in imageimage was created with usage containing IMAGE_USAGE_VIDEO_DECODE_DST_BIT_KHR, IMAGE_USAGE_VIDEO_DECODE_SRC_BIT_KHR, or IMAGE_USAGE_VIDEO_DECODE_DPB_BIT_KHR, then the viewType must be IMAGE_VIEW_TYPE_2D or IMAGE_VIEW_TYPE_2D_ARRAYimage was created with usage containing IMAGE_USAGE_VIDEO_ENCODE_DST_BIT_KHR, IMAGE_USAGE_VIDEO_ENCODE_SRC_BIT_KHR, or IMAGE_USAGE_VIDEO_ENCODE_DPB_BIT_KHR, then the viewType must be IMAGE_VIEW_TYPE_2D or IMAGE_VIEW_TYPE_2D_ARRAYflags includes IMAGE_VIEW_CREATE_DESCRIPTOR_BUFFER_CAPTURE_REPLAY_BIT_EXT, the descriptorBufferCaptureReplay feature must be enabledpNext chain includes a VkOpaqueCaptureDescriptorDataCreateInfoEXT structure, flags must contain IMAGE_VIEW_CREATE_DESCRIPTOR_BUFFER_CAPTURE_REPLAY_BIT_EXTpNext chain includes a VkExportMetalObjectCreateInfoEXT structure, its exportObjectType member must be EXPORT_METAL_OBJECT_TYPE_METAL_TEXTURE_BIT_EXTpNext chain includes VkImageViewSampleWeightCreateInfoQCOM structure, then textureSampleWeighted feature must be enabledpNext chain includes VkImageViewSampleWeightCreateInfoQCOM structure, then image must have been created with usage containing IMAGE_USAGE_SAMPLE_WEIGHT_BIT_QCOMpNext chain includes VkImageViewSampleWeightCreateInfoQCOM structure, then components must be COMPONENT_SWIZZLE_IDENTITY for all componentspNext chain includes VkImageViewSampleWeightCreateInfoQCOM structure, then subresourceRange.aspectMask must be IMAGE_ASPECT_COLOR_BITpNext chain includes VkImageViewSampleWeightCreateInfoQCOM structure, then subresourceRange.levelCount must be 1pNext chain includes VkImageViewSampleWeightCreateInfoQCOM structure, then viewType must be IMAGE_VIEW_TYPE_1D_ARRAY or IMAGE_VIEW_TYPE_2D_ARRAYpNext chain includes VkImageViewSampleWeightCreateInfoQCOM structure and if viewType is IMAGE_VIEW_TYPE_1D_ARRAY, then image must have been created with imageType IMAGE_TYPE_1DpNext chain includes VkImageViewSampleWeightCreateInfoQCOM structure and viewType is IMAGE_VIEW_TYPE_1D_ARRAY, then subresourceRange.layerCount must be equal to 2pNext chain includes VkImageViewSampleWeightCreateInfoQCOM structure and viewType is IMAGE_VIEW_TYPE_1D_ARRAY, then image must have been created with width equal to or greater than (numPhases × max(align(filterSize.width, 4), filterSize.height))pNext chain includes VkImageViewSampleWeightCreateInfoQCOM structure and if viewType is IMAGE_VIEW_TYPE_2D_ARRAY, then image must have been created with imageType IMAGE_TYPE_2DpNext chain includes VkImageViewSampleWeightCreateInfoQCOM structure and viewType is IMAGE_VIEW_TYPE_2D_ARRAY, then subresourceRange.layerCount must be equal or greater than numPhasespNext chain includes VkImageViewSampleWeightCreateInfoQCOM structure and viewType is IMAGE_VIEW_TYPE_2D_ARRAY, then image must have been created with width equal to or greater than filterSize.widthpNext chain includes VkImageViewSampleWeightCreateInfoQCOM structure and viewType is IMAGE_VIEW_TYPE_2D_ARRAY, then image must have been created with height equal to or greater than filterSize.heightpNext chain includes VkImageViewSampleWeightCreateInfoQCOM structure then VkImageViewSampleWeightCreateInfoQCOM::filterSize.height must be less than or equal to VkPhysicalDeviceImageProcessingPropertiesQCOM::maxWeightFilterDimension.heightsType must be STRUCTURE_TYPE_IMAGE_VIEW_CREATE_INFOpNext member of any structure (including this one) in the pNext chain must be either NULL or a pointer to a valid instance of VkExportMetalObjectCreateInfoEXT, VkImageViewASTCDecodeModeEXT, VkImageViewMinLodCreateInfoEXT, VkImageViewSampleWeightCreateInfoQCOM, VkImageViewSlicedCreateInfoEXT, VkImageViewUsageCreateInfo, VkOpaqueCaptureDescriptorDataCreateInfoEXT, or VkSamplerYcbcrConversionInfosType value of each struct in the pNext chain must be unique, with the exception of structures of type VkExportMetalObjectCreateInfoEXTflags must be a valid combination of VkImageViewCreateFlagBits valuesimage must be a valid VkImage handleviewType must be a valid VkImageViewType valueformat must be a valid VkFormat valuecomponents must be a valid VkComponentMapping structuresubresourceRange must be a valid VkImageSubresourceRange structureVkComponentMapping, VkImageSubresourceRange, CreateImageView
struct VkImageViewCreateInfo {
VkStructureType sType;
void const * pNext;
VkImageViewCreateFlags flags;
VkImage image;
VkImageViewType viewType;
VkFormat format;
VkComponentMapping components;
VkImageSubresourceRange subresourceRange;
}
| Modifier and Type | Class and Description |
|---|---|
| public static class | VkImageViewCreateInfo.
An array of |
| Modifier and Type | Field and Description |
|---|---|
| public static final int | ALIGNOF
The struct alignment in bytes. |
| public static final int | COMPONENTS
The struct member offsets. |
| public static final int | FLAGS
The struct member offsets. |
| public static final int | FORMAT
The struct member offsets. |
| public static final int | IMAGE
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. |
| public static final int | SUBRESOURCERANGE
The struct member offsets. |
| public static final int | VIEWTYPE
The struct member offsets. |
| Access | Constructor and Description |
|---|---|
| protected | |
| public | VkImageViewCreateInfo(ByteBuffer container)
Creates a |
| Modifier and Type | Method and Description |
|---|---|
| public static VkImageViewCreateInfo | |
| public static VkImageViewCreateInfo. | calloc(int
the buffer capacity capacity)Returns a new |
| public static VkImageViewCreateInfo | calloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static VkImageViewCreateInfo. | calloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| public static VkImageViewCreateInfo | |
| public static VkImageViewCreateInfo | |
| public static VkImageViewCreateInfo. | |
| public static VkImageViewCreateInfo. | |
| public VkComponentMapping | components()
a |
| public VkImageViewCreateInfo | components(VkComponentMapping value)
Copies the specified |
| public VkImageViewCreateInfo | components(Consumer<VkComponentMapping> consumer)
Passes the |
| protected VkImageViewCreateInfo | 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 VkImageViewCreateInfo | |
| public static VkImageViewCreateInfo | |
| public static VkImageViewCreateInfo. | create(int
the buffer capacity capacity)Returns a new |
| public static VkImageViewCreateInfo. | create(long
the memory address address, int the buffer capacity capacity)Create a |
| public static VkImageViewCreateInfo | |
| public static VkImageViewCreateInfo. | |
| public int | |
| public VkImageViewCreateInfo | |
| public int | |
| public VkImageViewCreateInfo | |
| public long | |
| public VkImageViewCreateInfo | |
| public static VkImageViewCreateInfo | |
| public static VkImageViewCreateInfo. | malloc(int
the buffer capacity capacity)Returns a new |
| public static VkImageViewCreateInfo | malloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static VkImageViewCreateInfo. | malloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| public static VkImageViewCreateInfo | |
| public static VkImageViewCreateInfo | |
| public static VkImageViewCreateInfo. | |
| public static VkImageViewCreateInfo. | |
| public static VkComponentMapping | |
| public static void | |
| public static int | |
| public static void | |
| public static int | |
| public static void | |
| public static long | |
| public static void | |
| public static long | |
| public static void | |
| public static int | |
| public static void | |
| public static VkImageSubresourceRange | |
| public static void | |
| public static int | |
| public static void | |
| public long | |
| public VkImageViewCreateInfo | |
| public VkImageViewCreateInfo | pNext(VkExportMetalObjectCreateInfoEXT value)
Prepends the specified |
| public VkImageViewCreateInfo | pNext(VkImageViewASTCDecodeModeEXT value)
Prepends the specified |
| public VkImageViewCreateInfo | pNext(VkImageViewMinLodCreateInfoEXT value)
Prepends the specified |
| public VkImageViewCreateInfo | pNext(VkImageViewSampleWeightCreateInfoQCOM value)
Prepends the specified |
| public VkImageViewCreateInfo | pNext(VkImageViewSlicedCreateInfoEXT value)
Prepends the specified |
| public VkImageViewCreateInfo | pNext(VkImageViewUsageCreateInfo value)
Prepends the specified |
| public VkImageViewCreateInfo | pNext(VkImageViewUsageCreateInfoKHR value)
Prepends the specified |
| public VkImageViewCreateInfo | pNext(VkOpaqueCaptureDescriptorDataCreateInfoEXT value)
Prepends the specified |
| public VkImageViewCreateInfo | pNext(VkSamplerYcbcrConversionInfo value)
Prepends the specified |
| public VkImageViewCreateInfo | pNext(VkSamplerYcbcrConversionInfoKHR value)
Prepends the specified |
| public VkImageViewCreateInfo | set(int sType, long pNext, int flags, long image, int viewType, int format, VkComponentMapping components, VkImageSubresourceRange subresourceRange)
Initializes this struct with the specified values. |
| public VkImageViewCreateInfo | Returns: this structthe source struct src)Copies the specified struct data to this struct. |
| public int | |
| public int | |
| public VkImageViewCreateInfo | |
| public VkImageViewCreateInfo | |
| public VkImageSubresourceRange | subresourceRange()
a |
| public VkImageViewCreateInfo | subresourceRange(VkImageSubresourceRange value)
Copies the specified |
| public VkImageViewCreateInfo | subresourceRange(Consumer<VkImageSubresourceRange> consumer)
Passes the |
| public int | |
| public VkImageViewCreateInfo |