RuntimeEffect

class RuntimeEffect

Methods

MakeForBlender

Overloaded function.

MakeForColorFilter

Overloaded function.

MakeForShader

Overloaded function.

__init__

makeBlender

Overloaded function.

makeColorFilter

Overloaded function.

makeShader

Overloaded function.

ref

Increment the reference count.

unique

May return true if the caller is the only owner.

unref

Decrement the reference count.

Methods

static RuntimeEffect.MakeForBlender(*args, **kwargs)

Overloaded function.

  1. MakeForBlender(sksl: skia.String, options: SkRuntimeEffect::Options) -> skia.RuntimeEffect

  2. MakeForBlender(sksl: skia.String) -> skia.RuntimeEffect

static RuntimeEffect.MakeForColorFilter(*args, **kwargs)

Overloaded function.

  1. MakeForColorFilter(sksl: skia.String, options: SkRuntimeEffect::Options) -> skia.RuntimeEffect

  2. MakeForColorFilter(sksl: skia.String) -> skia.RuntimeEffect

static RuntimeEffect.MakeForShader(*args, **kwargs)

Overloaded function.

  1. MakeForShader(sksl: skia.String, options: SkRuntimeEffect::Options) -> skia.RuntimeEffect

  2. MakeForShader(sksl: skia.String) -> skia.RuntimeEffect

RuntimeEffect.__init__(*args, **kwargs)
RuntimeEffect.makeBlender(*args, **kwargs)

Overloaded function.

  1. makeBlender(self: skia.RuntimeEffect, uniforms: skia.Data) -> SkBlender

  2. makeBlender(self: skia.RuntimeEffect, uniforms: skia.Data, children: skia.SpanRuntimeEffectChildPtr = <skia.SpanRuntimeEffectChildPtr object at 0x7fa0baa2d270>) -> SkBlender

RuntimeEffect.makeColorFilter(*args, **kwargs)

Overloaded function.

  1. makeColorFilter(self: skia.RuntimeEffect, uniforms: skia.Data) -> skia.ColorFilter

  2. makeColorFilter(self: skia.RuntimeEffect, uniforms: skia.Data, children: skia.ColorFilter, childCount: int) -> skia.ColorFilter

  3. makeColorFilter(self: skia.RuntimeEffect, uniforms: skia.Data, children: skia.SpanRuntimeEffectChildPtr) -> skia.ColorFilter

RuntimeEffect.makeShader(*args, **kwargs)

Overloaded function.

  1. makeShader(self: skia.RuntimeEffect, uniforms: skia.Data) -> skia.Shader

  2. makeShader(self: skia.RuntimeEffect, uniforms: skia.Data, children: skia.Shader, childCount: int, localMatrix: skia.Matrix = None) -> skia.Shader

  3. makeShader(self: skia.RuntimeEffect, uniforms: skia.Data, children: skia.SpanRuntimeEffectChildPtr, localMatrix: skia.Matrix = None) -> skia.Shader

RuntimeEffect.ref(self: skia.RefCntBase) None

Increment the reference count.

Must be balanced by a call to unref().

RuntimeEffect.unique(self: skia.RefCntBase) bool

May return true if the caller is the only owner.

Ensures that all previous owner’s actions are complete.

RuntimeEffect.unref(self: skia.RefCntBase) None

Decrement the reference count.

If the reference count is 1 before the decrement, then delete the object. Note that if this is the case, then the object needs to have been allocated via new, and not on the stack.