次の方法で共有


RuntimeShader Constructors

Definition

Overloads

RuntimeShader(String)

Creates a new RuntimeShader.

RuntimeShader(IntPtr, JniHandleOwnership)

RuntimeShader(String)

Creates a new RuntimeShader.

[Android.Runtime.Register(".ctor", "(Ljava/lang/String;)V", "", ApiSince=33)]
public RuntimeShader (string shader);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/String;)V", "", ApiSince=33)>]
new Android.Graphics.RuntimeShader : string -> Android.Graphics.RuntimeShader

Parameters

shader
String

The text of AGSL shader program to run.

Attributes

Remarks

Creates a new RuntimeShader.

Java documentation for android.graphics.RuntimeShader.RuntimeShader(java.lang.String).

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

RuntimeShader(IntPtr, JniHandleOwnership)

protected RuntimeShader (IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Android.Graphics.RuntimeShader : nativeint * Android.Runtime.JniHandleOwnership -> Android.Graphics.RuntimeShader

Parameters

javaReference
IntPtr

nativeint

Applies to