class SetDisplayColorConversionCmdHack

Defined at line 2692 of file fidling/gen/sdk/fidl/fuchsia.ui.gfx/fuchsia.ui.gfx/cpp/fidl/fuchsia.ui.gfx/cpp/natural_types.h

Set the color conversion applied to the compositor's display.

The conversion is applied to to each pixel according to the formula:

(matrix * (pixel + preoffsets)) + postoffsets

where pixel is a column vector consisting of the pixel's 3 components.

`matrix` is passed in row-major order. Clients will be responsible

for passing default values, when needed.

Default values are not currently supported in fidl.

Default Values:

preoffsets = [0 0 0]

matrix = [1 0 0 0 1 0 0 0 1]

postoffsets = [0 0 0]

Public Methods

void SetDisplayColorConversionCmdHack (Storage_ storage)
void SetDisplayColorConversionCmdHack (uint32_t compositor_id, ::std::array<float, 3> preoffsets, ::std::array<float, 9> matrix, ::std::array<float, 3> postoffsets)
void SetDisplayColorConversionCmdHack ()

Default constructs a |SetDisplayColorConversionCmdHack| only if all of its members are default constructible.

Defined at line 2702 of file fidling/gen/sdk/fidl/fuchsia.ui.gfx/fuchsia.ui.gfx/cpp/fidl/fuchsia.ui.gfx/cpp/natural_types.h

void SetDisplayColorConversionCmdHack (SetDisplayColorConversionCmdHack && )

Defined at line 2705 of file fidling/gen/sdk/fidl/fuchsia.ui.gfx/fuchsia.ui.gfx/cpp/fidl/fuchsia.ui.gfx/cpp/natural_types.h

void SetDisplayColorConversionCmdHack (const SetDisplayColorConversionCmdHack & other)
SetDisplayColorConversionCmdHack & operator= (SetDisplayColorConversionCmdHack && )

Defined at line 2706 of file fidling/gen/sdk/fidl/fuchsia.ui.gfx/fuchsia.ui.gfx/cpp/fidl/fuchsia.ui.gfx/cpp/natural_types.h

SetDisplayColorConversionCmdHack & operator= (const SetDisplayColorConversionCmdHack & other)
bool operator== (const SetDisplayColorConversionCmdHack & other)
bool operator!= (const SetDisplayColorConversionCmdHack & other)
uint32_t compositor_id ()
uint32_t & compositor_id ()
SetDisplayColorConversionCmdHack & compositor_id (uint32_t value)

Setter for compositor_id.

const ::std::array<float, 3> & preoffsets ()
::std::array<float, 3> & preoffsets ()
SetDisplayColorConversionCmdHack & preoffsets (::std::array<float, 3> value)

Setter for preoffsets.

const ::std::array<float, 9> & matrix ()
::std::array<float, 9> & matrix ()
SetDisplayColorConversionCmdHack & matrix (::std::array<float, 9> value)

Setter for matrix.

const ::std::array<float, 3> & postoffsets ()
::std::array<float, 3> & postoffsets ()
SetDisplayColorConversionCmdHack & postoffsets (::std::array<float, 3> value)

Setter for postoffsets.

void SetDisplayColorConversionCmdHack (::fidl::internal::DefaultConstructPossiblyInvalidObjectTag )

Friends

class MemberVisitor
class NaturalStructCodingTraits