Android.Renderscripts.Element.IsCompatible Method
Check if the current Element is compatible with another Element.

Syntax

[Android.Runtime.Register("isCompatible", "(Landroid/renderscript/Element;)Z", "GetIsCompatible_Landroid_renderscript_Element_Handler")]
public virtual bool IsCompatible (Element e)

Parameters

e
The Element to check compatibility with.

Returns

Documentation for this section has not yet been entered.

Remarks

Check if the current Element is compatible with another Element. Primitive Elements are compatible if they share the same underlying size and type (i.e. U8 is compatible with A_8). User-defined Elements must be equal in order to be compatible. This requires strict name equivalence for all sub-Elements (in addition to structural equivalence).

[Android Documentation]

Requirements

Namespace: Android.Renderscripts
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 14