Поделиться через


MTKTextureLoader.FromNames Метод

Определение

Перегрузки

FromNames(String[], nfloat, NSBundle, NSDictionary, MTKTextureLoaderArrayCallback)
FromNames(String[], nfloat, NSBundle, MTKTextureLoaderOptions, MTKTextureLoaderArrayCallback)
FromNames(String[], nfloat, NSDisplayGamut, NSBundle, NSDictionary, MTKTextureLoaderArrayCallback)
FromNames(String[], nfloat, NSDisplayGamut, NSBundle, MTKTextureLoaderOptions, MTKTextureLoaderArrayCallback)

FromNames(String[], nfloat, NSBundle, NSDictionary, MTKTextureLoaderArrayCallback)

[Foundation.Export("newTexturesWithNames:scaleFactor:bundle:options:completionHandler:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 10, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 12, ObjCRuntime.PlatformArchitecture.Arch64, null)]
public virtual void FromNames (string[] names, nfloat scaleFactor, Foundation.NSBundle bundle, Foundation.NSDictionary options, MetalKit.MTKTextureLoaderArrayCallback completionHandler);
abstract member FromNames : string[] * nfloat * Foundation.NSBundle * Foundation.NSDictionary * MetalKit.MTKTextureLoaderArrayCallback -> unit
override this.FromNames : string[] * nfloat * Foundation.NSBundle * Foundation.NSDictionary * MetalKit.MTKTextureLoaderArrayCallback -> unit

Параметры

names
String[]
scaleFactor
nfloat
bundle
NSBundle

Будет добавлено.

Этот параметр может иметь значение null.

options
NSDictionary

Будет добавлено.

Этот параметр может иметь значение null.

completionHandler
MTKTextureLoaderArrayCallback
Атрибуты

Применяется к

FromNames(String[], nfloat, NSBundle, MTKTextureLoaderOptions, MTKTextureLoaderArrayCallback)

[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 10, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 12, ObjCRuntime.PlatformArchitecture.Arch64, null)]
public void FromNames (string[] names, nfloat scaleFactor, Foundation.NSBundle bundle, MetalKit.MTKTextureLoaderOptions options, MetalKit.MTKTextureLoaderArrayCallback completionHandler);
member this.FromNames : string[] * nfloat * Foundation.NSBundle * MetalKit.MTKTextureLoaderOptions * MetalKit.MTKTextureLoaderArrayCallback -> unit

Параметры

names
String[]
scaleFactor
nfloat
bundle
NSBundle
completionHandler
MTKTextureLoaderArrayCallback
Атрибуты

Применяется к

FromNames(String[], nfloat, NSDisplayGamut, NSBundle, NSDictionary, MTKTextureLoaderArrayCallback)

[Foundation.Export("newTexturesWithNames:scaleFactor:displayGamut:bundle:options:completionHandler:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 12, ObjCRuntime.PlatformArchitecture.Arch64, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.iOS, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.TvOS, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual void FromNames (string[] names, nfloat scaleFactor, AppKit.NSDisplayGamut displayGamut, Foundation.NSBundle bundle, Foundation.NSDictionary options, MetalKit.MTKTextureLoaderArrayCallback completionHandler);
abstract member FromNames : string[] * nfloat * AppKit.NSDisplayGamut * Foundation.NSBundle * Foundation.NSDictionary * MetalKit.MTKTextureLoaderArrayCallback -> unit
override this.FromNames : string[] * nfloat * AppKit.NSDisplayGamut * Foundation.NSBundle * Foundation.NSDictionary * MetalKit.MTKTextureLoaderArrayCallback -> unit

Параметры

names
String[]
scaleFactor
nfloat
displayGamut
NSDisplayGamut
bundle
NSBundle
options
NSDictionary
completionHandler
MTKTextureLoaderArrayCallback
Атрибуты

Применяется к

FromNames(String[], nfloat, NSDisplayGamut, NSBundle, MTKTextureLoaderOptions, MTKTextureLoaderArrayCallback)

[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 12, ObjCRuntime.PlatformArchitecture.Arch64, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.iOS, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.TvOS, ObjCRuntime.PlatformArchitecture.All, null)]
public void FromNames (string[] names, nfloat scaleFactor, AppKit.NSDisplayGamut displayGamut, Foundation.NSBundle bundle, MetalKit.MTKTextureLoaderOptions options, MetalKit.MTKTextureLoaderArrayCallback completionHandler);
member this.FromNames : string[] * nfloat * AppKit.NSDisplayGamut * Foundation.NSBundle * MetalKit.MTKTextureLoaderOptions * MetalKit.MTKTextureLoaderArrayCallback -> unit

Параметры

names
String[]
scaleFactor
nfloat
displayGamut
NSDisplayGamut
bundle
NSBundle
completionHandler
MTKTextureLoaderArrayCallback
Атрибуты

Применяется к