SKGraphiteBackendTexture.CreateMetal(Int32, Int32, IntPtr) Metoda

Definicja

Opakowuje istniejącą teksturę metalową jako teksturę zaplecza Graphite.

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

Parametry

width
Int32

Szerokość tekstury w pikselach.

height
Int32

Wysokość tekstury w pikselach.

mtlTexture
IntPtr

Uchwyt do tekstury Metal do opakowania.

Zwraca

Nowy SKGraphiteBackendTextureelement lub null jeśli nie można go utworzyć.

Dotyczy