Structures
VkSamplerYcbcrConversionYcbcrDegammaCreateInfoQCOM
Structure specifying {YCbCr} degamma parameters
Applications can enable sRGB to linear conversion for the R, G, and B
components of a Y′CBCR image during sampling by
including VkSamplerYcbcrConversionYcbcrDegammaCreateInfoQCOM structure
in the pNext chain of VkSamplerYcbcrConversionCreateInfo.
The VkSamplerYcbcrConversionYcbcrDegammaCreateInfoQCOM structure is
defined as:
typedef struct VkSamplerYcbcrConversionYcbcrDegammaCreateInfoQCOM {
VkStructureType sType;
void* pNext;
VkBool32 enableYDegamma;
VkBool32 enableCbCrDegamma;
} VkSamplerYcbcrConversionYcbcrDegammaCreateInfoQCOM;
pub struct SamplerYcbcrConversionYcbcrDegammaCreateInfoQCOM {
s_type: vk::StructureType,
p_next: *mut c_void,
enable_y_degamma: vk::Bool32,
enable_cb_cr_degamma: vk::Bool32,
}
sTypeis a VkStructureType value identifying this structure.pNextisNULLor a pointer to a structure extending this structure.enableYDegammaindicates sRGB to linear conversion is enabled for the G component.enableCbCrDegammaindicates sRGB to linear conversion is enabled for the R and B components.
Valid Usage (Implicit)
VUID-VkSamplerYcbcrConversionYcbcrDegammaCreateInfoQCOM-sType-sType
sType must be VK_STRUCTURE_TYPE_SAMPLER_YCBCR_CONVERSION_YCBCR_DEGAMMA_CREATE_INFO_QCOM