次の方法で共有


Element.SubElementCount Property

Definition

Elements could be simple, such as an int or a float, or a structure with multiple sub elements, such as a collection of floats, float2, float4.

public virtual int SubElementCount { [Android.Runtime.Register("getSubElementCount", "()I", "GetGetSubElementCountHandler")] get; }
[<get: Android.Runtime.Register("getSubElementCount", "()I", "GetGetSubElementCountHandler")>]
member this.SubElementCount : int

Property Value

number of sub-elements in this element

Attributes

Remarks

Elements could be simple, such as an int or a float, or a structure with multiple sub elements, such as a collection of floats, float2, float4. This function returns zero for simple elements or the number of sub-elements otherwise.

Java documentation for android.renderscript.Element.getSubElementCount().

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.

Applies to