IYcbcrConversionSamplerProvider
Public Methods
abstract bool OverrideYcbcrConversionSampler
Invoked by the YcbcrRenderer plugin on Unity's render thread. Apps wanting to override the VkSamplerYcbcrConversionCreateInfo for the hardware buffer rendering should implement this interface.
public virtual abstract bool OverrideYcbcrConversionSampler(
ref VkAndroidHardwareBufferFormatPropertiesANDROID hwBufferFormatProperties,
ref VkSamplerYcbcrConversionCreateInfo sampler
)
Parameters
Type | Name | Description |
---|---|---|
ref VkAndroidHardwareBufferFormatPropertiesANDROID | hwBufferFormatProperties | VkAndroidHardwareBufferFormatPropertiesANDROID of the currently acquired AHardwareBuffer |
ref VkSamplerYcbcrConversionCreateInfo | sampler | VkSamplerYcbcrConversionCreateInfo of the previous frame |
Returns: true if the input sampler values were changed