Skip to main content

Class SKRuntimeEffect

Namespace: SkiaSharp
Assembly: VelloSharp.Skia.Core.dll

public sealed class SKRuntimeEffect : IDisposable

Inheritance​

object ← SKRuntimeEffect

Implements​

IDisposable

Inherited Members​

object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.ReferenceEquals(object?, object?), object.ToString()

Properties​

Sksl​

public string Sksl { get; }

Property Value​

string

Methods​

CreateShader(string, out string?)​

public static SKRuntimeEffect? CreateShader(string sksl, out string? errors)

Parameters​

sksl string

errors string?

Returns​

SKRuntimeEffect?

Dispose()​

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

public void Dispose()

ToShader(SKRuntimeEffectUniforms?)​

public SKShader ToShader(SKRuntimeEffectUniforms? uniforms)

Parameters​

uniforms SKRuntimeEffectUniforms?

Returns​

SKShader

ToShader(SKRuntimeEffectUniforms?, SKRuntimeEffectChildren?)​

public SKShader ToShader(SKRuntimeEffectUniforms? uniforms, SKRuntimeEffectChildren? children)

Parameters​

uniforms SKRuntimeEffectUniforms?

children SKRuntimeEffectChildren?

Returns​

SKShader

ToShader(SKRuntimeEffectUniforms?, SKRuntimeEffectChildren?, SKMatrix?)​

public SKShader ToShader(SKRuntimeEffectUniforms? uniforms, SKRuntimeEffectChildren? children, SKMatrix? localMatrix)

Parameters​

uniforms SKRuntimeEffectUniforms?

children SKRuntimeEffectChildren?

localMatrix SKMatrix?

Returns​

SKShader