Skip to main content
Version: 0.9.0 (next)

QarRenderSenderColorEncodingExt Struct

Declares what the numbers in a render sender's colour texture mean. More...

Declaration​

struct QarRenderSenderColorEncodingExt { ... }

Included Headers​

Public Member Attributes Index​

QarColorEncodingcolor_encoding
QarStructureHeaderheader

Description​

Declares what the numbers in a render sender's colour texture mean.

Chain it on QarRenderSenderInit::header.next, in any position beside the graphics extension and QarRenderSenderAlphaModeExt. Without it the colour is read as QAR_COLOR_ENCODING_SRGB. Declare QAR_COLOR_ENCODING_LINEAR when the application renders linear light into the sender's texture without encoding it: every QAROS device shows the stream as sRGB-encoded, so linear values would look too dark.

Definition at line 2300 of file qar_streaming.h.

Public Member Attributes​

color_encoding​

QarColorEncoding QarRenderSenderColorEncodingExt::color_encoding

The declared encoding. A value this library does not know is rejected with QAR_STATUS_ARGUMENT_NOT_SUPPORTED.

Definition at line 2307 of file qar_streaming.h.

header​

QarStructureHeader QarRenderSenderColorEncodingExt::header

QAR_STRUCTURE_TYPE_RENDER_SENDER_COLOR_ENCODING_EXT. Set with qar_render_sender_color_encoding_ext_default().

Definition at line 2304 of file qar_streaming.h.


The documentation for this struct was generated from the following file:


Generated via doxygen2docusaurus 2.2.1 by Doxygen 1.9.8.