Udostępnij za pośrednictwem


RenderScript.SetPriority(RenderScript+Priority) Method

Definition

Change the priority of the worker threads for this context.

[Android.Runtime.Register("setPriority", "(Landroid/renderscript/RenderScript$Priority;)V", "GetSetPriority_Landroid_renderscript_RenderScript_Priority_Handler")]
public virtual void SetPriority (Android.Renderscripts.RenderScript.Priority? p);
[<Android.Runtime.Register("setPriority", "(Landroid/renderscript/RenderScript$Priority;)V", "GetSetPriority_Landroid_renderscript_RenderScript_Priority_Handler")>]
abstract member SetPriority : Android.Renderscripts.RenderScript.Priority -> unit
override this.SetPriority : Android.Renderscripts.RenderScript.Priority -> unit

Parameters

p
RenderScript.Priority

New priority to be set.

Attributes

Remarks

Java documentation for android.renderscript.RenderScript.setPriority(android.renderscript.Priority).

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