Class SKRuntimeEffect
Namespace: SkiaSharp
Assembly: VelloSharp.Skia.Core.dll
public sealed class SKRuntimeEffect : IDisposable
Inheritance
Implements
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
Methods
CreateShader(string, out string?)
public static SKRuntimeEffect? CreateShader(string sksl, out string? errors)
Parameters
sksl string
errors string?
Returns
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
ToShader(SKRuntimeEffectUniforms?, SKRuntimeEffectChildren?)
public SKShader ToShader(SKRuntimeEffectUniforms? uniforms, SKRuntimeEffectChildren? children)
Parameters
uniforms SKRuntimeEffectUniforms?
children SKRuntimeEffectChildren?
Returns
ToShader(SKRuntimeEffectUniforms?, SKRuntimeEffectChildren?, SKMatrix?)
public SKShader ToShader(SKRuntimeEffectUniforms? uniforms, SKRuntimeEffectChildren? children, SKMatrix? localMatrix)
Parameters
uniforms SKRuntimeEffectUniforms?
children SKRuntimeEffectChildren?
localMatrix SKMatrix?