API reference
API reference
Select your platform
No SDKs available
No versions available

MediaPanelRenderOptions Class

Modifiers: final
Used for Panels meant to display high quality media. They are highly performant and will enable you to play the highest quality media but have limitations.
This option is also required for direct-to-surface rendering in VideoSurfacePanelRegistration.
If you need access to the panel's displayed image, then use ReadableMediaPanelRenderOptions. This option is used to support transparent media and custom shader effects based on panel image.

Signature

data class MediaPanelRenderOptions(val isDRM: Boolean = false, val stereoMode: StereoMode = StereoMode.None, val samplerConfig: SamplerConfig = PanelConfigOptions.DEFAULT_PANEL_SAMPLER, val layerFilters: Int = 0, val zIndex: Int = 0) : PanelConfigOptionsModifier

Constructors

MediaPanelRenderOptions ( isDRM , stereoMode , samplerConfig , layerFilters , zIndex )
Signature
constructor(isDRM: Boolean = false, stereoMode: StereoMode = StereoMode.None, samplerConfig: SamplerConfig = PanelConfigOptions.DEFAULT_PANEL_SAMPLER, layerFilters: Int = 0, zIndex: Int = 0)
Parameters
isDRM: Boolean
stereoMode: StereoMode
samplerConfig: SamplerConfig
layerFilters: Int
zIndex: Int

Properties

isDRM : Boolean
[Get]
Signature
val isDRM: Boolean = false
layerFilters : Int
[Get]
Signature
val layerFilters: Int = 0
samplerConfig : SamplerConfig
[Get]
Signature
val samplerConfig: SamplerConfig
stereoMode : StereoMode
[Get]
Signature
val stereoMode: StereoMode
zIndex : Int
[Get]
Signature
val zIndex: Int = 0

Functions

applyTo ( options )
Signature
open override fun applyTo(options: PanelConfigOptions)
Parameters
Did you find this page helpful?