QarRenderSenderAlphaModeExt Struct
Declares what a render sender's colour alpha means. More...
Declaration
Included Headers
Public Member Attributes Index
| QarColorAlphaMode | alpha_mode |
| QarStructureHeader | header |
Description
Declares what a render sender's colour alpha means.
Chain it on QarRenderSenderInit::header.next, in any position beside the graphics extension. The stream publishes the mode, and a receiver composites by it: the QAROS mixer draws a QAR_COLOR_ALPHA_MODE_PREMULTIPLIED stream with its alpha as coverage, and a QAR_COLOR_ALPHA_MODE_OPAQUE one fully covered, whatever its alpha channel holds. A QAR_COLOR_ALPHA_MODE_STRAIGHT colour is premultiplied by the sender and published as PREMULTIPLIED. Without this extension the stream declares QAR_COLOR_ALPHA_MODE_UNSPECIFIED and the receiver keeps its own default.
A B8G8R8X8 colour has no alpha; declare nothing, or OPAQUE.
Definition at line 2280 of file qar_streaming.h.
Public Member Attributes
alpha_mode
|
The declared mode. A value this library does not know is rejected with QAR_STATUS_ARGUMENT_NOT_SUPPORTED.
Definition at line 2287 of file qar_streaming.h.
header
|
QAR_STRUCTURE_TYPE_RENDER_SENDER_ALPHA_MODE_EXT. Set with qar_render_sender_alpha_mode_ext_default().
Definition at line 2284 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.