StreamingComponent streams content from a 2D node that it is attached to.
More...
#include <streaming_component.hpp>
|
void | attachOverride () final |
| kanzi::NodeComponent::attachOverride() implementation.
|
|
void | detachOverride () final |
| kanzi::NodeComponent::detachOverride() implementation.
|
|
void | onPropertyChanged (kanzi::AbstractPropertyType propertyType, kanzi::PropertyNotificationReason reason) override |
| kanzi::NodeComponent::onPropertyChanged() implementation.
|
|
| StreamingComponent (Domain *domain, string_view name) |
|
StreamingComponent streams content from a 2D node that it is attached to.
StreamingComponents can only be attached to 2D nodes, and attaching a StreamingComponent will override the nodes Node2D::RenderTargetProperty.
StreamingComponent can only be accessed from the signaling thread unless otherwise noted.
◆ StreamingComponent()
kanzi::connect::StreamingComponent::StreamingComponent |
( |
Domain * | domain, |
|
|
string_view | name ) |
|
explicitprotected |
◆ attachOverride()
void kanzi::connect::StreamingComponent::attachOverride |
( |
| ) |
|
|
finalprotected |
kanzi::NodeComponent::attachOverride() implementation.
◆ create()
◆ detachOverride()
void kanzi::connect::StreamingComponent::detachOverride |
( |
| ) |
|
|
finalprotected |
kanzi::NodeComponent::detachOverride() implementation.
◆ getRegisteredId()
const string & kanzi::connect::StreamingComponent::getRegisteredId |
( |
| ) |
const |
◆ makeEditorInfo()
static PropertyTypeEditorInfoSharedPtr kanzi::connect::StreamingComponent::makeEditorInfo |
( |
| ) |
|
|
static |
◆ onPropertyChanged()
void kanzi::connect::StreamingComponent::onPropertyChanged |
( |
kanzi::AbstractPropertyType | propertyType, |
|
|
kanzi::PropertyNotificationReason | reason ) |
|
overrideprotected |
kanzi::NodeComponent::onPropertyChanged() implementation.
◆ IsInputLinearProperty
PropertyType<bool> kanzi::connect::StreamingComponent::IsInputLinearProperty |
|
static |
Indicates whether the input of the RGB to YUV shader is linear.
This property is only used with the StreamingComponent materials.
◆ StreamIdProperty
PropertyType<string> kanzi::connect::StreamingComponent::StreamIdProperty |
|
static |
User defined ID for the stream that the StreamingComponent will produce.
A system chosen ID will be used when user defined ID is empty.
◆ StreamTypeProperty
PropertyType<string> kanzi::connect::StreamingComponent::StreamTypeProperty |
|
static |
User defined type for the stream that the StreamingComponent will produce.
"zstd" will be used when user defined type is empty.
The documentation for this class was generated from the following file:
- connect/kanzi_adaptation/viewport/streaming_component.hpp