RuntimeEffect
- class RuntimeEffect
Methods
Overloaded function.
Overloaded function.
Overloaded function.
Overloaded function.
Overloaded function.
Overloaded function.
Increment the reference count.
May return true if the caller is the only owner.
Decrement the reference count.
Methods
- static RuntimeEffect.MakeForBlender(*args, **kwargs)
Overloaded function.
MakeForBlender(sksl: skia.String, options: SkRuntimeEffect::Options) -> skia.RuntimeEffect
MakeForBlender(sksl: skia.String) -> skia.RuntimeEffect
- static RuntimeEffect.MakeForColorFilter(*args, **kwargs)
Overloaded function.
MakeForColorFilter(sksl: skia.String, options: SkRuntimeEffect::Options) -> skia.RuntimeEffect
MakeForColorFilter(sksl: skia.String) -> skia.RuntimeEffect
- static RuntimeEffect.MakeForShader(*args, **kwargs)
Overloaded function.
MakeForShader(sksl: skia.String, options: SkRuntimeEffect::Options) -> skia.RuntimeEffect
MakeForShader(sksl: skia.String) -> skia.RuntimeEffect
- RuntimeEffect.__init__(*args, **kwargs)
- RuntimeEffect.makeBlender(*args, **kwargs)
Overloaded function.
makeBlender(self: skia.RuntimeEffect, uniforms: skia.Data) -> SkBlender
makeBlender(self: skia.RuntimeEffect, uniforms: skia.Data, children: skia.SpanRuntimeEffectChildPtr = <skia.SpanRuntimeEffectChildPtr object at 0x7fa0baa2d270>) -> SkBlender
- RuntimeEffect.makeColorFilter(*args, **kwargs)
Overloaded function.
makeColorFilter(self: skia.RuntimeEffect, uniforms: skia.Data) -> skia.ColorFilter
makeColorFilter(self: skia.RuntimeEffect, uniforms: skia.Data, children: skia.ColorFilter, childCount: int) -> skia.ColorFilter
makeColorFilter(self: skia.RuntimeEffect, uniforms: skia.Data, children: skia.SpanRuntimeEffectChildPtr) -> skia.ColorFilter
- RuntimeEffect.makeShader(*args, **kwargs)
Overloaded function.
makeShader(self: skia.RuntimeEffect, uniforms: skia.Data) -> skia.Shader
makeShader(self: skia.RuntimeEffect, uniforms: skia.Data, children: skia.Shader, childCount: int, localMatrix: skia.Matrix = None) -> skia.Shader
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.