View Source Membrane.VideoCompositor.Scene.Object.Texture (Membrane Video Compositor plugin v0.2.2)
Texture takes a frame received from Video Compositor objects, applies all transformations and can be passed as an input to other objects.
Basically wraps multiple single-input, single-output processing graph nodes.
Link to this section Summary
Types
Defines how the output resolution of a texture can be specified.
Defines texture object, that takes frames from input Object (rendered frame), applies all transformations sequentially and can be passed as an input for other objects.
Link to this section Types
@type output_resolution() :: Membrane.VideoCompositor.Scene.Resolution.t() | Membrane.VideoCompositor.Scene.Object.name() | :transformed_input_resolution
Defines how the output resolution of a texture can be specified.
Texture resolution can be specified as:
- plain
Membrane.VideoCompositor.Resolution.t()
- resolution of another object
- transformed resolution of the object input (e.g. for corners rounding - same as input, for cropping - accordingly smaller than input)
@type t() :: %Membrane.VideoCompositor.Scene.Object.Texture{ input: Membrane.VideoCompositor.Scene.Object.name(), resolution: output_resolution(), transformations: [Membrane.VideoCompositor.Scene.Transformation.definition()] }
Defines texture object, that takes frames from input Object (rendered frame), applies all transformations sequentially and can be passed as an input for other objects.