SKGraphiteBackendTexture.CreateMetal(Int32, Int32, IntPtr) メソッド

定義

既存のメタル テクスチャを Graphite バックエンド テクスチャとしてラップします。

public static SkiaSharp.SKGraphiteBackendTexture CreateMetal(int width, int height, IntPtr mtlTexture);

パラメーター

width
Int32

テクスチャの幅 (ピクセル単位)。

height
Int32

テクスチャの高さ (ピクセル単位)。

mtlTexture
IntPtr

ラップするメタル テクスチャのハンドル。

戻り値

新しい SKGraphiteBackendTexture。作成できなかった場合は null 。

適用対象