Aracılığıyla paylaş


Element.VectorSize Property

Definition

Returns the number of vector components.

public virtual int VectorSize { [Android.Runtime.Register("getVectorSize", "()I", "GetGetVectorSizeHandler")] get; }
[<get: Android.Runtime.Register("getVectorSize", "()I", "GetGetVectorSizeHandler")>]
member this.VectorSize : int

Property Value

element vector size

Attributes

Remarks

Returns the number of vector components. 2 for float2, 4 for float4, etc.

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

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