Renderer/PresentationContracts/Device/SurfacePresentationProfile.h¶
Public include <Renderer/PresentationContracts/Device/SurfacePresentationProfile.h>. SnBuild module PresentationContracts.
SnAPI::Renderer::ESurfacePresentationTransferFunction¶
enum class SnAPI::Renderer::ESurfacePresentationTransferFunction : std::uint8_t
Linear = 0
SRGB
PQ2084
HLG
BT709
AdobeRGB
PassThrough
SnAPI::Renderer::ESurfacePresentationColorPrimaries¶
enum class SnAPI::Renderer::ESurfacePresentationColorPrimaries : std::uint8_t
Unknown = 0
Rec709
Rec2020
DisplayP3
DciP3
AdobeRGB
DisplayNative
SnAPI::Renderer::ESurfacePresentationDynamicRange¶
enum class SnAPI::Renderer::ESurfacePresentationDynamicRange : std::uint8_t
SDR = 0
HDR
SnAPI::Renderer::ESurfacePresentMode¶
enum class SnAPI::Renderer::ESurfacePresentMode : std::uint8_t
Auto = 0
Immediate
Mailbox
Fifo
FifoRelaxed
SnAPI::Renderer::SurfacePresentationLuminance¶
struct SnAPI::Renderer::SurfacePresentationLuminance
SnAPI::Renderer::SurfacePresentationLuminance::PaperWhiteNits¶
float SnAPI::Renderer::SurfacePresentationLuminance::PaperWhiteNits = 203.0f
SnAPI::Renderer::SurfacePresentationLuminance::MinLuminanceNits¶
float SnAPI::Renderer::SurfacePresentationLuminance::MinLuminanceNits = 0.0f
SnAPI::Renderer::SurfacePresentationLuminance::MaxLuminanceNits¶
float SnAPI::Renderer::SurfacePresentationLuminance::MaxLuminanceNits = 1000.0f
SnAPI::Renderer::SurfacePresentationLuminance::MaxContentLightLevelNits¶
float SnAPI::Renderer::SurfacePresentationLuminance::MaxContentLightLevelNits = 1000.0f
SnAPI::Renderer::SurfacePresentationLuminance::MaxFrameAverageLightLevelNits¶
float SnAPI::Renderer::SurfacePresentationLuminance::MaxFrameAverageLightLevelNits = 400.0f
SnAPI::Renderer::SurfacePresentationLuminance::operator==¶
bool SnAPI::Renderer::SurfacePresentationLuminance::operator==(const SurfacePresentationLuminance &) const noexcept=default
SnAPI::Renderer::SurfacePresentationProfile¶
struct SnAPI::Renderer::SurfacePresentationProfile
SnAPI::Renderer::SurfacePresentationProfile::ColorFormat¶
ETextureFormat SnAPI::Renderer::SurfacePresentationProfile::ColorFormat = ETextureFormat::RGBA8UNorm
See also SnAPI::Renderer::SurfacePresentationProfile, SnAPI::Renderer::ETextureFormat.
SnAPI::Renderer::SurfacePresentationProfile::TransferFunction¶
ESurfacePresentationTransferFunction SnAPI::Renderer::SurfacePresentationProfile::TransferFunction = ESurfacePresentationTransferFunction::SRGB
See also SnAPI::Renderer::SurfacePresentationProfile, SnAPI::Renderer::ESurfacePresentationTransferFunction.
SnAPI::Renderer::SurfacePresentationProfile::ColorPrimaries¶
ESurfacePresentationColorPrimaries SnAPI::Renderer::SurfacePresentationProfile::ColorPrimaries = ESurfacePresentationColorPrimaries::Rec709
See also SnAPI::Renderer::SurfacePresentationProfile, SnAPI::Renderer::ESurfacePresentationColorPrimaries.
SnAPI::Renderer::SurfacePresentationProfile::DynamicRange¶
ESurfacePresentationDynamicRange SnAPI::Renderer::SurfacePresentationProfile::DynamicRange = ESurfacePresentationDynamicRange::SDR
See also SnAPI::Renderer::SurfacePresentationProfile, SnAPI::Renderer::ESurfacePresentationDynamicRange.
SnAPI::Renderer::SurfacePresentationProfile::PresentMode¶
ESurfacePresentMode SnAPI::Renderer::SurfacePresentationProfile::PresentMode = ESurfacePresentMode::Auto
See also SnAPI::Renderer::SurfacePresentationProfile, SnAPI::Renderer::ESurfacePresentMode.
SnAPI::Renderer::SurfacePresentationProfile::BitsPerChannel¶
std::uint32_t SnAPI::Renderer::SurfacePresentationProfile::BitsPerChannel = 8
SnAPI::Renderer::SurfacePresentationProfile::TransferFunctionEncodedByFormat¶
bool SnAPI::Renderer::SurfacePresentationProfile::TransferFunctionEncodedByFormat = false
SnAPI::Renderer::SurfacePresentationProfile::Quantized¶
bool SnAPI::Renderer::SurfacePresentationProfile::Quantized = true
SnAPI::Renderer::SurfacePresentationProfile::Luminance¶
SurfacePresentationLuminance SnAPI::Renderer::SurfacePresentationProfile::Luminance {}
See also SnAPI::Renderer::SurfacePresentationProfile, SnAPI::Renderer::SurfacePresentationLuminance.
SnAPI::Renderer::SurfacePresentationProfile::IsHdr¶
bool SnAPI::Renderer::SurfacePresentationProfile::IsHdr() const noexcept
SnAPI::Renderer::SurfacePresentationProfile::operator==¶
bool SnAPI::Renderer::SurfacePresentationProfile::operator==(const SurfacePresentationProfile &) const noexcept=default