zui docs v0.0.5
GitHub ↗
Drawing and interaction Container Native Qt

Shader Effect Source

Shader Effect Source is a native Zui container in the drawing and interaction catalog, with 15 component-specific properties.

Usage

Ruby example

Paste this complete Builder example inside the app surface from the Quickstart. Replace illustrative asset paths with files from your project.

Ruby
shader_effect_source width: 420, height: 240, live: true, recursive: false do
  image "assets/source.png", width: 420, height: 240
end
API

Component properties

15 component-specific values, plus shared item and layout properties.

widthWidth configuration for Shader Effect Source.property
heightHeight configuration for Shader Effect Source.property
source_rectSource rect configuration for Shader Effect Source.property
texture_widthTexture width configuration for Shader Effect Source.property
texture_heightTexture height configuration for Shader Effect Source.property
formatFormat configuration for Shader Effect Source.property
samplesSamples configuration for Shader Effect Source.property
wrap_modeWrap mode configuration for Shader Effect Source.property
texture_mirroringTexture mirroring configuration for Shader Effect Source.property
mipmapMipmap configuration for Shader Effect Source.property
liveLive configuration for Shader Effect Source.property
recursiveRecursive configuration for Shader Effect Source.property
hide_sourceHide source configuration for Shader Effect Source.property
smoothSmooth configuration for Shader Effect Source.property
visibleVisible configuration for Shader Effect Source.property
Show 14 shared item properties
enabledopacityscalerotationzfill_widthfill_heightpreferred_widthpreferred_heightminimum_widthminimum_heightmaximum_widthmaximum_heightlayout_alignment
Interaction

Events

Subscribe with on widget, :event and keep behavior in Ruby.

updateNative event payload