ScriptIntrinsicBlend ScriptIntrinsicBlend Class

Definition

Intrinsic kernels for blending two Allocation objects.

[Android.Runtime.Register("android/renderscript/ScriptIntrinsicBlend", ApiSince=17, DoNotGenerateAcw=true)]
public class ScriptIntrinsicBlend : Android.Renderscripts.ScriptIntrinsic
type ScriptIntrinsicBlend = class
    inherit ScriptIntrinsic
Inheritance
Attributes

Remarks

Android platform documentation

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Constructors

ScriptIntrinsicBlend(IntPtr, JniHandleOwnership) ScriptIntrinsicBlend(IntPtr, JniHandleOwnership)

A constructor used when creating managed representations of JNI objects; called by the runtime.

Properties

Class Class

Returns the unique instance of Class that represents this object's class.

(Inherited from Object)
Handle Handle

The handle to the underlying Android instance.

(Inherited from Object)
IJavaObjectEx.IsProxy IJavaObjectEx.IsProxy Inherited from Object
IJavaObjectEx.KeyHandle IJavaObjectEx.KeyHandle Inherited from Object
IJavaObjectEx.NeedsActivation IJavaObjectEx.NeedsActivation Inherited from Object
IJavaPeerable.JniManagedPeerState IJavaPeerable.JniManagedPeerState Inherited from Object
JniIdentityHashCode JniIdentityHashCode Inherited from Object
JniPeerMembers JniPeerMembers
KernelIDAdd KernelIDAdd

Get a KernelID for the Add kernel.

KernelIDClear KernelIDClear

Get a KernelID for the Clear kernel.

KernelIDDst KernelIDDst

Get a KernelID for the Dst kernel.

KernelIDDstAtop KernelIDDstAtop

Get a KernelID for the DstAtop kernel.

KernelIDDstIn KernelIDDstIn

Get a KernelID for the DstIn kernel.

KernelIDDstOut KernelIDDstOut

Get a KernelID for the DstOut kernel.

KernelIDDstOver KernelIDDstOver

Get a KernelID for the DstOver kernel.

KernelIDMultiply KernelIDMultiply

Get a KernelID for the Multiply kernel.

KernelIDSrc KernelIDSrc

Get a KernelID for the Src kernel.

KernelIDSrcAtop KernelIDSrcAtop

Get a KernelID for the SrcAtop kernel.

KernelIDSrcIn KernelIDSrcIn

Get a KernelID for the SrcIn kernel.

KernelIDSrcOut KernelIDSrcOut

Get a KernelID for the SrcOut kernel.

KernelIDSrcOver KernelIDSrcOver

Get a KernelID for the SrcOver kernel.

KernelIDSubtract KernelIDSubtract

Get a KernelID for the Subtract kernel.

KernelIDXor KernelIDXor

Get a KernelID for the Xor kernel.

Name Name Inherited from BaseObj
PeerReference PeerReference Inherited from Object
ThresholdClass ThresholdClass

This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.

ThresholdType ThresholdType

This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.

Methods

BindAllocation(Allocation, Int32) BindAllocation(Allocation, Int32)

Only intended for use by generated reflected code.

(Inherited from Script)
Clone() Clone()

Creates and returns a copy of this Object.

(Inherited from Object)
Create(RenderScript, Element) Create(RenderScript, Element)

Supported elements types are U8_4(RenderScript)

CreateFieldID(Int32, Element) CreateFieldID(Int32, Element)

Only to be used by generated reflected classes.

(Inherited from Script)
CreateInvokeID(Int32) CreateInvokeID(Int32) Inherited from Script
CreateKernelID(Int32, Int32, Element, Element) CreateKernelID(Int32, Int32, Element, Element)

Only to be used by generated reflected classes.

(Inherited from Script)
Destroy() Destroy()

Frees any native resources associated with this object.

(Inherited from BaseObj)
Dispose() Dispose() Inherited from Object
Dispose(Boolean) Dispose(Boolean) Inherited from Object
Equals(Object) Equals(Object)

Compares this instance with the specified object and indicates if they are equal.

(Inherited from Object)
ForEach(Int32, Allocation, Allocation, FieldPacker) ForEach(Int32, Allocation, Allocation, FieldPacker)

Only intended for use by generated reflected code.

(Inherited from Script)
ForEach(Int32, Allocation, Allocation, FieldPacker, Script+LaunchOptions) ForEach(Int32, Allocation, Allocation, FieldPacker, Script+LaunchOptions)

Only intended for use by generated reflected code.

(Inherited from Script)
ForEach(Int32, Allocation[], Allocation, FieldPacker) ForEach(Int32, Allocation[], Allocation, FieldPacker) Inherited from Script
ForEach(Int32, Allocation[], Allocation, FieldPacker, Script+LaunchOptions) ForEach(Int32, Allocation[], Allocation, FieldPacker, Script+LaunchOptions) Inherited from Script
ForEachAdd(Allocation, Allocation) ForEachAdd(Allocation, Allocation)

Sets dst = min(src + dst, 1.

ForEachAdd(Allocation, Allocation, Script+LaunchOptions) ForEachAdd(Allocation, Allocation, Script+LaunchOptions)

Sets dst = min(src + dst, 1.

ForEachClear(Allocation, Allocation) ForEachClear(Allocation, Allocation)

Sets dst = {0, 0, 0, 0}

ForEachClear(Allocation, Allocation, Script+LaunchOptions) ForEachClear(Allocation, Allocation, Script+LaunchOptions)

Sets dst = {0, 0, 0, 0}

ForEachDst(Allocation, Allocation) ForEachDst(Allocation, Allocation)

Sets dst = dst

This is a NOP.

ForEachDst(Allocation, Allocation, Script+LaunchOptions) ForEachDst(Allocation, Allocation, Script+LaunchOptions)

Sets dst = dst

This is a NOP.

ForEachDstAtop(Allocation, Allocation) ForEachDstAtop(Allocation, Allocation)

dst = dst.rgb * src.a + (1.0 - dst.a) * src.rgb dst.a = src.a Note: Before API 23, the alpha channel was not correctly set.

ForEachDstAtop(Allocation, Allocation, Script+LaunchOptions) ForEachDstAtop(Allocation, Allocation, Script+LaunchOptions)

dst = dst.rgb * src.a + (1.0 - dst.a) * src.rgb dst.a = src.a Note: Before API 23, the alpha channel was not correctly set.

ForEachDstIn(Allocation, Allocation) ForEachDstIn(Allocation, Allocation)

Sets dst = dst * src.a

ForEachDstIn(Allocation, Allocation, Script+LaunchOptions) ForEachDstIn(Allocation, Allocation, Script+LaunchOptions)

Sets dst = dst * src.a

ForEachDstOut(Allocation, Allocation) ForEachDstOut(Allocation, Allocation)

Sets dst = dst * (1.0 - src.a)

ForEachDstOut(Allocation, Allocation, Script+LaunchOptions) ForEachDstOut(Allocation, Allocation, Script+LaunchOptions)

Sets dst = dst * (1.0 - src.a)

ForEachDstOver(Allocation, Allocation) ForEachDstOver(Allocation, Allocation)

Sets dst = dst + src * (1.0 - dst.a)

ForEachDstOver(Allocation, Allocation, Script+LaunchOptions) ForEachDstOver(Allocation, Allocation, Script+LaunchOptions)

Sets dst = dst + src * (1.0 - dst.a)

ForEachMultiply(Allocation, Allocation) ForEachMultiply(Allocation, Allocation)

Sets dst = src * dst

ForEachMultiply(Allocation, Allocation, Script+LaunchOptions) ForEachMultiply(Allocation, Allocation, Script+LaunchOptions)

Sets dst = src * dst

ForEachSrc(Allocation, Allocation) ForEachSrc(Allocation, Allocation)

Sets dst = src

ForEachSrc(Allocation, Allocation, Script+LaunchOptions) ForEachSrc(Allocation, Allocation, Script+LaunchOptions)

Sets dst = src

ForEachSrcAtop(Allocation, Allocation) ForEachSrcAtop(Allocation, Allocation)

dst.rgb = src.rgb * dst.a + (1.0 - src.a) * dst.rgb dst.a = dst.a

ForEachSrcAtop(Allocation, Allocation, Script+LaunchOptions) ForEachSrcAtop(Allocation, Allocation, Script+LaunchOptions)

dst.rgb = src.rgb * dst.a + (1.0 - src.a) * dst.rgb dst.a = dst.a

ForEachSrcIn(Allocation, Allocation) ForEachSrcIn(Allocation, Allocation)

Sets dst = src * dst.a

ForEachSrcIn(Allocation, Allocation, Script+LaunchOptions) ForEachSrcIn(Allocation, Allocation, Script+LaunchOptions)

Sets dst = src * dst.a

ForEachSrcOut(Allocation, Allocation) ForEachSrcOut(Allocation, Allocation)

Sets dst = src * (1.0 - dst.a)

ForEachSrcOut(Allocation, Allocation, Script+LaunchOptions) ForEachSrcOut(Allocation, Allocation, Script+LaunchOptions)

Sets dst = src * (1.0 - dst.a)

ForEachSrcOver(Allocation, Allocation) ForEachSrcOver(Allocation, Allocation)

Sets dst = src + dst * (1.0 - src.a)

ForEachSrcOver(Allocation, Allocation, Script+LaunchOptions) ForEachSrcOver(Allocation, Allocation, Script+LaunchOptions)

Sets dst = src + dst * (1.0 - src.a)

ForEachSubtract(Allocation, Allocation) ForEachSubtract(Allocation, Allocation)

Sets dst = max(dst - src, 0.

ForEachSubtract(Allocation, Allocation, Script+LaunchOptions) ForEachSubtract(Allocation, Allocation, Script+LaunchOptions)

Sets dst = max(dst - src, 0.

ForEachXor(Allocation, Allocation) ForEachXor(Allocation, Allocation)

Sets dst = {src.r ^ dst.r, src.g ^ dst.g, src.b ^ dst.b, src.a ^ dst.a}

ForEachXor(Allocation, Allocation, Script+LaunchOptions) ForEachXor(Allocation, Allocation, Script+LaunchOptions)

Sets dst = {src.r ^ dst.r, src.g ^ dst.g, src.b ^ dst.b, src.a ^ dst.a}

GetHashCode() GetHashCode()

Returns an integer hash code for this object.

(Inherited from Object)
GetVarB(Int32) GetVarB(Int32) Inherited from Script
GetVarD(Int32) GetVarD(Int32) Inherited from Script
GetVarF(Int32) GetVarF(Int32) Inherited from Script
GetVarI(Int32) GetVarI(Int32) Inherited from Script
GetVarJ(Int32) GetVarJ(Int32) Inherited from Script
GetVarV(Int32, FieldPacker) GetVarV(Int32, FieldPacker)

Only intended for use by generated reflected code.

(Inherited from Script)
Invoke(Int32) Invoke(Int32)

Only intended for use by generated reflected code.

(Inherited from Script)
Invoke(Int32, FieldPacker) Invoke(Int32, FieldPacker)

Only intended for use by generated reflected code.

(Inherited from Script)
JavaFinalize() JavaFinalize()

Invoked when the garbage collector has detected that this instance is no longer reachable.

(Inherited from Object)
Notify() Notify()

Causes a thread which is waiting on this object's monitor (by means of calling one of the wait() methods) to be woken up.

(Inherited from Object)
NotifyAll() NotifyAll()

Causes all threads which are waiting on this object's monitor (by means of calling one of the wait() methods) to be woken up.

(Inherited from Object)
Reduce(Int32, Allocation[], Allocation, Script+LaunchOptions) Reduce(Int32, Allocation[], Allocation, Script+LaunchOptions) Inherited from Script
SetHandle(IntPtr, JniHandleOwnership) SetHandle(IntPtr, JniHandleOwnership)

Sets the Handle property.

(Inherited from Object)
SetTimeZone(String) SetTimeZone(String) Inherited from Script
SetVar(Int32, BaseObj) SetVar(Int32, BaseObj)

Only intended for use by generated reflected code.

(Inherited from Script)
SetVar(Int32, Boolean) SetVar(Int32, Boolean)

Only intended for use by generated reflected code.

(Inherited from Script)
SetVar(Int32, Double) SetVar(Int32, Double)

Only intended for use by generated reflected code.

(Inherited from Script)
SetVar(Int32, FieldPacker) SetVar(Int32, FieldPacker)

Only intended for use by generated reflected code.

(Inherited from Script)
SetVar(Int32, FieldPacker, Element, Int32[]) SetVar(Int32, FieldPacker, Element, Int32[])

Only intended for use by generated reflected code.

(Inherited from Script)
SetVar(Int32, Int32) SetVar(Int32, Int32)

Only intended for use by generated reflected code.

(Inherited from Script)
SetVar(Int32, Int64) SetVar(Int32, Int64)

Only intended for use by generated reflected code.

(Inherited from Script)
SetVar(Int32, Single) SetVar(Int32, Single)

Only intended for use by generated reflected code.

(Inherited from Script)
ToArray<T>() ToArray<T>() Inherited from Object
ToString() ToString()

Returns a string containing a concise, human-readable description of this object.

(Inherited from Object)
UnregisterFromRuntime() UnregisterFromRuntime() Inherited from Object
Wait() Wait()

Causes the calling thread to wait until another thread calls the notify() or notifyAll() method of this object.

(Inherited from Object)
Wait(Int64) Wait(Int64)

Causes the calling thread to wait until another thread calls the notify() or notifyAll() method of this object or until the specified timeout expires.

(Inherited from Object)
Wait(Int64, Int32) Wait(Int64, Int32)

Causes the calling thread to wait until another thread calls the notify() or notifyAll() method of this object or until the specified timeout expires.

(Inherited from Object)

Explicit Interface Implementations

IJavaObjectEx.ToLocalJniHandle() IJavaObjectEx.ToLocalJniHandle() Inherited from Object
IJavaPeerable.Disposed() IJavaPeerable.Disposed() Inherited from Object
IJavaPeerable.DisposeUnlessReferenced() IJavaPeerable.DisposeUnlessReferenced() Inherited from Object
IJavaPeerable.Finalized() IJavaPeerable.Finalized() Inherited from Object
IJavaPeerable.SetJniIdentityHashCode(Int32) IJavaPeerable.SetJniIdentityHashCode(Int32) Inherited from Object
IJavaPeerable.SetJniManagedPeerState(JniManagedPeerStates) IJavaPeerable.SetJniManagedPeerState(JniManagedPeerStates) Inherited from Object
IJavaPeerable.SetPeerReference(JniObjectReference) IJavaPeerable.SetPeerReference(JniObjectReference) Inherited from Object

Extension Methods

JavaCast<TResult>(IJavaObject) JavaCast<TResult>(IJavaObject)

Performs an Android runtime-checked type conversion.

JavaCast<TResult>(IJavaObject) JavaCast<TResult>(IJavaObject)
GetJniTypeName(IJavaPeerable) GetJniTypeName(IJavaPeerable)

Applies to