Compartir a través de


FileA3D.CreateFromResource(RenderScript, Resources, Int32) Method

Definition

Caution

deprecated

This member is deprecated.

[Android.Runtime.Register("createFromResource", "(Landroid/renderscript/RenderScript;Landroid/content/res/Resources;I)Landroid/renderscript/FileA3D;", "")]
[System.Obsolete("deprecated")]
public static Android.Renderscripts.FileA3D? CreateFromResource (Android.Renderscripts.RenderScript? rs, Android.Content.Res.Resources? res, int id);
[<Android.Runtime.Register("createFromResource", "(Landroid/renderscript/RenderScript;Landroid/content/res/Resources;I)Landroid/renderscript/FileA3D;", "")>]
[<System.Obsolete("deprecated")>]
static member CreateFromResource : Android.Renderscripts.RenderScript * Android.Content.Res.Resources * int -> Android.Renderscripts.FileA3D

Parameters

rs
RenderScript

Context to which the object will belong.

res
Resources

resource manager used for loading

id
Int32

resource to create FileA3D from

Returns

a3d file containing renderscript objects

Attributes

Remarks

This member is deprecated. in API 16 Creates a FileA3D object from an application resource

Java documentation for android.renderscript.FileA3D.createFromResource(android.renderscript.RenderScript, android.content.res.Resources, int).

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