Allocation.CreateFromString(RenderScript, String, AllocationUsage) メソッド
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
UTF-8 形式でエンコードされた文字列データを含む Allocation を作成します。
[Android.Runtime.Register("createFromString", "(Landroid/renderscript/RenderScript;Ljava/lang/String;I)Landroid/renderscript/Allocation;", "")]
public static Android.Renderscripts.Allocation? CreateFromString (Android.Renderscripts.RenderScript? rs, string? str, Android.Renderscripts.AllocationUsage usage);
[<Android.Runtime.Register("createFromString", "(Landroid/renderscript/RenderScript;Ljava/lang/String;I)Landroid/renderscript/Allocation;", "")>]
static member CreateFromString : Android.Renderscripts.RenderScript * string * Android.Renderscripts.AllocationUsage -> Android.Renderscripts.Allocation
パラメーター
- rs
- RenderScript
割り当てが属するコンテキスト。
- str
- String
から割り当てを作成する文字列
- usage
- AllocationUsage
allocaiton の使用方法を指定するビット フィールド
戻り値
- 属性
注釈
UTF-8 形式でエンコードされた文字列データを含む Allocation を作成します。
このページの一部は、によって作成および共有された作業に基づく変更であり、に記載されている条件に従って使用されます。