View Source Membrane.VideoCompositor.Scene.Object (Membrane Video Compositor plugin v0.2.2)
This module holds common types for different kinds of Objects available.
Link to this section Summary
Types
Defines how an object can be referenced in Scene.
Defines how the output resolution of an object can be specified.
Objects are renderable entities in VC, that can serve as input for other objects or as an output of the video.
Link to this section Types
Defines how an object can be referenced in Scene.
Objects can be assigned to names and identified at other objects as inputs based on assigned names
@type object_output_resolution() :: Membrane.VideoCompositor.Scene.Object.Texture.output_resolution() | Membrane.VideoCompositor.Scene.Object.Layout.output_resolution()
Defines how the output resolution of an object can be specified.
Additionally, in Textures resolution can be specified as 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.Layout.t() | Membrane.VideoCompositor.Scene.Object.Texture.t() | Membrane.VideoCompositor.Scene.Object.InputVideo.t()
Objects are renderable entities in VC, that can serve as input for other objects or as an output of the video.
They are either Texture structs, structs defining Layouts following Layout.t() definition or InputVideo structs.