vulkan-3.26.1: Bindings to the Vulkan graphics API.
Safe HaskellSafe-Inferred
LanguageHaskell2010

Vulkan.Extensions.VK_QCOM_filter_cubic_weights

Description

Name

VK_QCOM_filter_cubic_weights - device extension

VK_QCOM_filter_cubic_weights

Name String
VK_QCOM_filter_cubic_weights
Extension Type
Device extension
Registered Extension Number
520
Revision
1
Ratification Status
Not ratified
Extension and Version Dependencies
VK_EXT_filter_cubic
Contact

Other Extension Metadata

Last Modified Date
2023-06-23
Contributors
  • Jeff Leger, Qualcomm Technologies, Inc.
  • Jonathan Wicks, Qualcomm Technologies, Inc.

Description

This extension extends cubic filtering by adding the ability to select a set of weights. Without this extension, the weights used in cubic filtering are limited to those corresponding to a Catmull-Rom spline. This extension adds support for 3 additional spline weights.

This extension adds a new structure that can be added to the pNext chain of SamplerCreateInfo that can be used to specify which set of cubic weights are used in cubic filtering. A similar structure can be added to the pNext chain of BlitImageInfo2 to specify cubic weights used in a blit operation.

With this extension weights corresponding to the following additional splines can be selected for cubic filtered sampling and blits:

  • Zero Tangent Cardinal
  • B-Spline
  • Mitchell-Netravali

New Structures

New Enums

New Enum Constants

Version History

  • Revision 1, 2023-06-23 (jleger)

    • Initial version

See Also

BlitImageCubicWeightsInfoQCOM, CubicFilterWeightsQCOM, PhysicalDeviceCubicWeightsFeaturesQCOM, SamplerCubicWeightsCreateInfoQCOM

Document Notes

For more information, see the Vulkan Specification

This page is a generated document. Fixes and changes should be made to the generator scripts, not directly.

Synopsis

Documentation

data PhysicalDeviceCubicWeightsFeaturesQCOM Source #

VkPhysicalDeviceCubicWeightsFeaturesQCOM - Structure describing cubic weight selection features that can be supported by an implementation

Members

This structure describes the following feature:

Description

If the PhysicalDeviceCubicWeightsFeaturesQCOM structure is included in the pNext chain of the PhysicalDeviceFeatures2 structure passed to getPhysicalDeviceFeatures2, it is filled in to indicate whether each corresponding feature is supported. PhysicalDeviceCubicWeightsFeaturesQCOM can also be used in the pNext chain of DeviceCreateInfo to selectively enable these features.

Valid Usage (Implicit)

See Also

VK_QCOM_filter_cubic_weights, Bool32, StructureType

Constructors

PhysicalDeviceCubicWeightsFeaturesQCOM 

Fields

  • selectableCubicWeights :: Bool

    selectableCubicWeights indicates that the implementation supports the selection of filter cubic weights.

Instances

Instances details
Storable PhysicalDeviceCubicWeightsFeaturesQCOM Source # 
Instance details

Defined in Vulkan.Extensions.VK_QCOM_filter_cubic_weights

Show PhysicalDeviceCubicWeightsFeaturesQCOM Source # 
Instance details

Defined in Vulkan.Extensions.VK_QCOM_filter_cubic_weights

Eq PhysicalDeviceCubicWeightsFeaturesQCOM Source # 
Instance details

Defined in Vulkan.Extensions.VK_QCOM_filter_cubic_weights

FromCStruct PhysicalDeviceCubicWeightsFeaturesQCOM Source # 
Instance details

Defined in Vulkan.Extensions.VK_QCOM_filter_cubic_weights

ToCStruct PhysicalDeviceCubicWeightsFeaturesQCOM Source # 
Instance details

Defined in Vulkan.Extensions.VK_QCOM_filter_cubic_weights

Zero PhysicalDeviceCubicWeightsFeaturesQCOM Source # 
Instance details

Defined in Vulkan.Extensions.VK_QCOM_filter_cubic_weights

data SamplerCubicWeightsCreateInfoQCOM Source #

VkSamplerCubicWeightsCreateInfoQCOM - Structure specifying sampler cubic weights

Description

If the pNext chain of SamplerCreateInfo includes a SamplerCubicWeightsCreateInfoQCOM structure, then that structure specifies which cubic weights are used.

If that structure is not present, cubicWeights is considered to be CUBIC_FILTER_WEIGHTS_CATMULL_ROM_QCOM.

Valid Usage (Implicit)

See Also

VK_QCOM_filter_cubic_weights, CubicFilterWeightsQCOM, StructureType

Constructors

SamplerCubicWeightsCreateInfoQCOM 

Fields

Instances

Instances details
Storable SamplerCubicWeightsCreateInfoQCOM Source # 
Instance details

Defined in Vulkan.Extensions.VK_QCOM_filter_cubic_weights

Show SamplerCubicWeightsCreateInfoQCOM Source # 
Instance details

Defined in Vulkan.Extensions.VK_QCOM_filter_cubic_weights

Eq SamplerCubicWeightsCreateInfoQCOM Source # 
Instance details

Defined in Vulkan.Extensions.VK_QCOM_filter_cubic_weights

FromCStruct SamplerCubicWeightsCreateInfoQCOM Source # 
Instance details

Defined in Vulkan.Extensions.VK_QCOM_filter_cubic_weights

ToCStruct SamplerCubicWeightsCreateInfoQCOM Source # 
Instance details

Defined in Vulkan.Extensions.VK_QCOM_filter_cubic_weights

Zero SamplerCubicWeightsCreateInfoQCOM Source # 
Instance details

Defined in Vulkan.Extensions.VK_QCOM_filter_cubic_weights

data BlitImageCubicWeightsInfoQCOM Source #

VkBlitImageCubicWeightsInfoQCOM - Structure specifying image blit cubic weight info

Valid Usage (Implicit)

See Also

VK_KHR_copy_commands2, VK_QCOM_filter_cubic_weights, CubicFilterWeightsQCOM, StructureType

Constructors

BlitImageCubicWeightsInfoQCOM 

Fields

Instances

Instances details
Storable BlitImageCubicWeightsInfoQCOM Source # 
Instance details

Defined in Vulkan.Extensions.VK_QCOM_filter_cubic_weights

Show BlitImageCubicWeightsInfoQCOM Source # 
Instance details

Defined in Vulkan.Extensions.VK_QCOM_filter_cubic_weights

Eq BlitImageCubicWeightsInfoQCOM Source # 
Instance details

Defined in Vulkan.Extensions.VK_QCOM_filter_cubic_weights

FromCStruct BlitImageCubicWeightsInfoQCOM Source # 
Instance details

Defined in Vulkan.Extensions.VK_QCOM_filter_cubic_weights

ToCStruct BlitImageCubicWeightsInfoQCOM Source # 
Instance details

Defined in Vulkan.Extensions.VK_QCOM_filter_cubic_weights

Zero BlitImageCubicWeightsInfoQCOM Source # 
Instance details

Defined in Vulkan.Extensions.VK_QCOM_filter_cubic_weights

newtype CubicFilterWeightsQCOM Source #

VkCubicFilterWeightsQCOM - Specify cubic weights for texture filtering

See Also

VK_QCOM_filter_cubic_weights, BlitImageCubicWeightsInfoQCOM, SamplerCubicWeightsCreateInfoQCOM

Instances

Instances details
Storable CubicFilterWeightsQCOM Source # 
Instance details

Defined in Vulkan.Extensions.VK_QCOM_filter_cubic_weights

Read CubicFilterWeightsQCOM Source # 
Instance details

Defined in Vulkan.Extensions.VK_QCOM_filter_cubic_weights

Show CubicFilterWeightsQCOM Source # 
Instance details

Defined in Vulkan.Extensions.VK_QCOM_filter_cubic_weights

Eq CubicFilterWeightsQCOM Source # 
Instance details

Defined in Vulkan.Extensions.VK_QCOM_filter_cubic_weights

Ord CubicFilterWeightsQCOM Source # 
Instance details

Defined in Vulkan.Extensions.VK_QCOM_filter_cubic_weights

Zero CubicFilterWeightsQCOM Source # 
Instance details

Defined in Vulkan.Extensions.VK_QCOM_filter_cubic_weights

type QCOM_FILTER_CUBIC_WEIGHTS_EXTENSION_NAME = "VK_QCOM_filter_cubic_weights" Source #