public FadeInEffect() { PixelShader = new PixelShader { UriSource = new Uri("FadeInEffect.ps", UriKind.Relative) }; UpdateShaderValue(InputProperty); UpdateShaderValue(DeltaProperty); }
public BlueRange() { PixelShader = new PixelShader(); PixelShader.UriSource = new Uri("pack://application:,,,/Resources/BlueRange.ps"); UpdateShaderValue(GreenProperty); UpdateShaderValue(RedProperty); }
public CustomEffect () { PixelShader ps = new PixelShader (); ps.UriSource = new Uri ("file:///data/tmp/local/invert.ps", UriKind.Absolute); this.PixelShader = ps; }
/// <summary> /// Creates an instance of the shader. /// </summary> public DropFadeTransitionEffect() { PixelShader shader = new PixelShader(); shader.UriSource = Global.MakePackUri("ShaderSource/DropFadeTransitionEffect.ps"); PixelShader = shader; UpdateShaderValue(CloudImageProperty); }
/// <summary> /// Creates an instance of the shader. /// </summary> public RandomCircleRevealTransitionEffect() { PixelShader shader = new PixelShader(); shader.UriSource = Global.MakePackUri("ShaderSource/RandomCircleRevealTransitionEffect.ps"); PixelShader = shader; UpdateShaderValue(CloudImageProperty); }
protected void loadShader(String name) { PixelShader = new PixelShader(); PixelShader.UriSource = new Uri("pack://application:,,,/MediaViewer;component/Resources/CompiledShaders/" + name); }
public ChangableEffect(PixelShader shader) : base(shader) { IsChanged = 0f; UpdateShaderValue(IsChangedProperty); }
public CustomEffect () { PixelShader ps = new PixelShader (); ps.UriSource = new Uri ("CustomEffect.ps", UriKind.Relative); this.PixelShader = ps; }
/// <summary> /// Creates an instance and updates the shader's variables to the default values. /// </summary> public SmoothSwirlGridTransitionEffect() { UpdateShaderValue(TwistAmountProperty); var shader = new PixelShader(); shader.UriSource = Helper.MakePackUri("Transitions/ShaderSource/SmoothSwirlGridTransitionEffect.ps"); PixelShader = shader; }
public HHEffect() { PixelShader pixelShader = new PixelShader(); pixelShader.UriSource = new Uri("/bing;component/HH.ps", UriKind.Relative); this.PixelShader = pixelShader; this.UpdateShaderValue(ScalingProperty); this.UpdateShaderValue(ScaleProperty); }
public HeatColorizer() { PixelShader pixelShader = new PixelShader(); pixelShader.UriSource = new Uri("/FM4CC;component/Util/Effects/HeatColorizer.ps", UriKind.Relative); this.PixelShader = pixelShader; this.UpdateShaderValue(InputProperty); this.UpdateShaderValue(PaletteProperty); }
public ColorMappingEffect() { PixelShader pixelShader = new PixelShader(); pixelShader.UriSource = new Uri(@"/L3.Cargo.Workstation.Plugins.XRayImageBase;component/Effects/ColorMapping.ps", UriKind.Relative); this.PixelShader = pixelShader; this.UpdateShaderValue(InputProperty); this.UpdateShaderValue(MappingTextureSamplerProperty); }
public AddativeBlendClear() { PixelShader pixelShader = new PixelShader(); pixelShader.UriSource = new Uri("/FM4CC;component/Util/Effects/AddativeBlendClear.ps", UriKind.Relative); this.PixelShader = pixelShader; this.UpdateShaderValue(ClearColorProperty); this.UpdateShaderValue(InputProperty); }
public Shader(string uri) { shader = new PixelShader (); shader.UriSource = new Uri (Driver.MakePath (uri)); PixelShader = shader; UpdateShaderValue (InputProperty); }
public LineGrid() { PixelShader pixelShader = new PixelShader(); pixelShader.UriSource = new Uri("pack://application:,,,/UIControls;component/Effects/LineGrid.ps", UriKind.Absolute); this.PixelShader = pixelShader; this.UpdateShaderValue(InputProperty); this.DdxUvDdyUvRegisterIndex = -1; }
/// <summary> /// Creates an instance and updates the shader's variables to the default values. /// </summary> public CircleRevealTransitionEffect() { UpdateShaderValue(FuzzyAmountProperty); var shader = new PixelShader(); shader.UriSource = Global.MakePackUri("ShaderSource/CircleRevealTransitionEffect.ps"); PixelShader = shader; }
/// <summary> /// Creates an instance and updates the shader's variables to the default values. /// </summary> public SlideInTransitionEffect() { PixelShader shader = new PixelShader(); shader.UriSource = Global.MakePackUri("ShaderSource/SlideInTransitionEffect.ps"); PixelShader = shader; UpdateShaderValue(SlideAmountProperty); }
public InvertColorEffect() { PixelShader pixelShader = new PixelShader(); pixelShader.UriSource = new Uri("/Soft64.Toolkits.WPF;component/InvertColorEffect.ps", UriKind.Relative); this.PixelShader = pixelShader; this.UpdateShaderValue(InputProperty); }
public InvertColorEffect() { PixelShader pixelShader = new PixelShader(); pixelShader.UriSource = new Uri("/Pichur;component/Shaders/InvertColor.ps", UriKind.Relative); this.PixelShader = pixelShader; this.UpdateShaderValue(InputProperty); }
/// <summary> /// Creates an instance and updates the shader's variables to the default values. /// </summary> public SwirlGridTransitionEffect() { UpdateShaderValue(TwistAmountProperty); PixelShader shader = new PixelShader(); shader.UriSource = Global.MakePackUri("ShaderSource/SwirlGridTransitionEffect.ps"); PixelShader = shader; }
public SaturationEffect() { PixelShader pixelShader = new PixelShader(); pixelShader.UriSource = new Uri("pack://application:,,,/Resources/Shaders/Saturation.ps", UriKind.Absolute); this.PixelShader = pixelShader; this.UpdateShaderValue(InputProperty); this.UpdateShaderValue(RatioProperty); }
public Ripple() { PixelShader = new PixelShader() { UriSource = GetShaderUri("Ripple.ps") }; this.UpdateShaderValue(InputProperty); this.UpdateShaderValue(CenterProperty); this.UpdateShaderValue(AmplitudeProperty); this.UpdateShaderValue(FrequencyProperty); this.UpdateShaderValue(PhaseProperty); }
public FadeToMonochrome() { PixelShader pixelShader = new PixelShader(); pixelShader.UriSource = new Uri("/So.Wpf;component/Effects/FadeToMonochrome.ps", UriKind.Relative); this.PixelShader = pixelShader; this.UpdateShaderValue(InputProperty); this.UpdateShaderValue(StrengthProperty); }
/// <summary> /// Creates an instance and updates the shader's variables to the default values. /// </summary> public ZoomBlurEffect() { var pixelShader = new PixelShader(); pixelShader.UriSource = Global.MakePackUri("ShaderSource/ZoomBlur.ps"); this.PixelShader = pixelShader; UpdateShaderValue(InputProperty); UpdateShaderValue(CenterProperty); UpdateShaderValue(BlurAmountProperty); }
public HeatColorizer() { PixelShader pixelShader = new PixelShader(); pixelShader.UriSource = new Uri("/B3;component/Effects/HeatColorizer.ps", UriKind.Relative); this.PixelShader = pixelShader; this.UpdateShaderValue(InputProperty); this.UpdateShaderValue(PaletteProperty); this.DdxUvDdyUvRegisterIndex = -1; }
public SharpenEffect() { PixelShader pixelShader = new PixelShader(); pixelShader.UriSource = new Uri(@"/L3Filter-Sharpen;component/sharpenA.ps", UriKind.Relative); this.PixelShader = pixelShader; this.UpdateShaderValue(InputProperty); this.UpdateShaderValue(AmountProperty); this.UpdateShaderValue(InputSizeProperty); }
public DensityAlarmEffect() { PixelShader pixelShader = new PixelShader(); pixelShader.UriSource = new Uri(@"/L3Filter-DensityAlarm;component/DensityAlarm.ps", UriKind.Relative); this.PixelShader = pixelShader; this.UpdateShaderValue(InputProperty); this.UpdateShaderValue(SampleIProperty); }
protected internal SkyEffect(PixelShader pixShader) : base(pixShader) { Alpha = 1f; Invert = 0f; UpdateShaderValue(AlphaProperty); UpdateShaderValue(InvertProperty); }
/// <summary> /// Creates an instance and updates the shader's variables to the default values. /// </summary> public BandedSwirlTransitionEffect() { UpdateShaderValue(TwistAmountProperty); UpdateShaderValue(FrequencyProperty); PixelShader shader = new PixelShader(); shader.UriSource = Global.MakePackUri("ShaderSource/BandedSwirlTransitionEffect.ps"); PixelShader = shader; }
public GrayscaleEffect() { PixelShader pixelShader = new PixelShader(); pixelShader.UriSource = new Uri("/TraceLab.UI.WPF;component/Resources/grayscale.ps", UriKind.Relative); this.PixelShader = pixelShader; this.UpdateShaderValue(InputProperty); this.UpdateShaderValue(FactorProperty); }