class AlphaMode
Defined at line 30 of file ../../src/graphics/display/lib/api-types/cpp/alpha-mode.h
Equivalent to the FIDL type [`fuchsia.hardware.display.types/AlphaMode`].
See `::fuchsia_hardware_display_types::wire::AlphaMode` for references.
Instances are guaranteed to represent valid enum members.
This is a value type. Instances can be stored in containers. Copying, moving
and destruction are trivial.
Out-of-tree drivers must not use this interface, because it will be reworked.
Public Members
static AlphaMode kDisable
static AlphaMode kHwMultiply
static AlphaMode kPremultiplied
Public Methods
void AlphaMode (const AlphaMode & )
Defined at line 38 of file ../../src/graphics/display/lib/api-types/cpp/alpha-mode.h
void AlphaMode (AlphaMode && )
Defined at line 39 of file ../../src/graphics/display/lib/api-types/cpp/alpha-mode.h
AlphaMode & operator= (const AlphaMode & )
Defined at line 40 of file ../../src/graphics/display/lib/api-types/cpp/alpha-mode.h
AlphaMode & operator= (AlphaMode && )
Defined at line 41 of file ../../src/graphics/display/lib/api-types/cpp/alpha-mode.h
void ~AlphaMode ()
Defined at line 42 of file ../../src/graphics/display/lib/api-types/cpp/alpha-mode.h
bool IsValid (fuchsia_hardware_display_types::wire::AlphaMode fidl_alpha_mode)
True iff `fidl_alpha_mode` is convertible to a valid AlphaMode.
Defined at line 68 of file ../../src/graphics/display/lib/api-types/cpp/alpha-mode.h
void AlphaMode (fuchsia_hardware_display_types::wire::AlphaMode fidl_alpha_mode)
Defined at line 78 of file ../../src/graphics/display/lib/api-types/cpp/alpha-mode.h
fuchsia_hardware_display_types::wire::AlphaMode ToFidl ()
Defined at line 89 of file ../../src/graphics/display/lib/api-types/cpp/alpha-mode.h
uint32_t ValueForLogging ()
Raw numerical value of the equivalent FIDL value.
This is intended to be used for developer-facing output, such as logging
and Inspect. The values have the same stability guarantees as the
equivalent FIDL type.
Defined at line 93 of file ../../src/graphics/display/lib/api-types/cpp/alpha-mode.h
std::string_view ToString ()
Returns a developer-facing string representation.
Defined at line 23 of file ../../src/graphics/display/lib/api-types/cpp/alpha-mode.cc
Friends
bool AlphaMode (const AlphaMode & lhs, const AlphaMode & rhs)
bool AlphaMode (const AlphaMode & lhsconst AlphaMode & rhs)