MTKTextureLoader.FromName Метод

Определение

Перегрузки

FromName(String, nfloat, NSDisplayGamut, NSBundle, MTKTextureLoaderOptions, MTKTextureLoaderCallback)
FromName(String, nfloat, NSBundle, NSDictionary, NSError)
FromName(String, nfloat, NSBundle, NSDictionary, MTKTextureLoaderCallback)
FromName(String, nfloat, NSBundle, MTKTextureLoaderOptions, NSError)
FromName(String, nfloat, NSBundle, MTKTextureLoaderOptions, MTKTextureLoaderCallback)
FromName(String, nfloat, NSDisplayGamut, NSBundle, NSDictionary, NSError)
FromName(String, nfloat, NSDisplayGamut, NSBundle, NSDictionary, MTKTextureLoaderCallback)
FromName(String, nfloat, NSDisplayGamut, NSBundle, MTKTextureLoaderOptions, NSError)

FromName(String, nfloat, NSDisplayGamut, NSBundle, MTKTextureLoaderOptions, MTKTextureLoaderCallback)

[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 FromName (string name, nfloat scaleFactor, AppKit.NSDisplayGamut displayGamut, Foundation.NSBundle bundle, MetalKit.MTKTextureLoaderOptions options, MetalKit.MTKTextureLoaderCallback completionHandler);
member this.FromName : string * nfloat * AppKit.NSDisplayGamut * Foundation.NSBundle * MetalKit.MTKTextureLoaderOptions * MetalKit.MTKTextureLoaderCallback -> unit

Параметры

name
String
scaleFactor
nfloat
displayGamut
NSDisplayGamut
bundle
NSBundle
completionHandler
MTKTextureLoaderCallback
Атрибуты

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

FromName(String, nfloat, NSBundle, NSDictionary, NSError)

[Foundation.Export("newTextureWithName:scaleFactor:bundle:options:error:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 10, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 12, ObjCRuntime.PlatformArchitecture.Arch64, null)]
public virtual Metal.IMTLTexture FromName (string name, nfloat scaleFactor, Foundation.NSBundle bundle, Foundation.NSDictionary options, out Foundation.NSError error);
abstract member FromName : string * nfloat * Foundation.NSBundle * Foundation.NSDictionary *  -> Metal.IMTLTexture
override this.FromName : string * nfloat * Foundation.NSBundle * Foundation.NSDictionary *  -> Metal.IMTLTexture

Параметры

name
String
scaleFactor
nfloat
bundle
NSBundle

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

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

options
NSDictionary

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

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

error
NSError

Возвращаемое значение

Атрибуты

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

FromName(String, nfloat, NSBundle, NSDictionary, MTKTextureLoaderCallback)

[Foundation.Export("newTextureWithName: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 FromName (string name, nfloat scaleFactor, Foundation.NSBundle bundle, Foundation.NSDictionary options, MetalKit.MTKTextureLoaderCallback completionHandler);
abstract member FromName : string * nfloat * Foundation.NSBundle * Foundation.NSDictionary * MetalKit.MTKTextureLoaderCallback -> unit
override this.FromName : string * nfloat * Foundation.NSBundle * Foundation.NSDictionary * MetalKit.MTKTextureLoaderCallback -> unit

Параметры

name
String
scaleFactor
nfloat
bundle
NSBundle

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

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

options
NSDictionary

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

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

completionHandler
MTKTextureLoaderCallback
Атрибуты

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

FromName(String, nfloat, NSBundle, MTKTextureLoaderOptions, NSError)

[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 10, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 12, ObjCRuntime.PlatformArchitecture.Arch64, null)]
public Metal.IMTLTexture FromName (string name, nfloat scaleFactor, Foundation.NSBundle bundle, MetalKit.MTKTextureLoaderOptions options, out Foundation.NSError error);
member this.FromName : string * nfloat * Foundation.NSBundle * MetalKit.MTKTextureLoaderOptions *  -> Metal.IMTLTexture

Параметры

name
String
scaleFactor
nfloat
bundle
NSBundle
error
NSError

Возвращаемое значение

Атрибуты

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

FromName(String, nfloat, NSBundle, MTKTextureLoaderOptions, MTKTextureLoaderCallback)

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

Параметры

name
String
scaleFactor
nfloat
bundle
NSBundle
completionHandler
MTKTextureLoaderCallback
Атрибуты

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

FromName(String, nfloat, NSDisplayGamut, NSBundle, NSDictionary, NSError)

[Foundation.Export("newTextureWithName:scaleFactor:displayGamut:bundle:options:error:")]
[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 Metal.IMTLTexture FromName (string name, nfloat scaleFactor, AppKit.NSDisplayGamut displayGamut, Foundation.NSBundle bundle, Foundation.NSDictionary options, out Foundation.NSError error);
abstract member FromName : string * nfloat * AppKit.NSDisplayGamut * Foundation.NSBundle * Foundation.NSDictionary *  -> Metal.IMTLTexture
override this.FromName : string * nfloat * AppKit.NSDisplayGamut * Foundation.NSBundle * Foundation.NSDictionary *  -> Metal.IMTLTexture

Параметры

name
String
scaleFactor
nfloat
displayGamut
NSDisplayGamut
bundle
NSBundle
options
NSDictionary
error
NSError

Возвращаемое значение

Атрибуты

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

FromName(String, nfloat, NSDisplayGamut, NSBundle, NSDictionary, MTKTextureLoaderCallback)

[Foundation.Export("newTextureWithName: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 FromName (string name, nfloat scaleFactor, AppKit.NSDisplayGamut displayGamut, Foundation.NSBundle bundle, Foundation.NSDictionary options, MetalKit.MTKTextureLoaderCallback completionHandler);
abstract member FromName : string * nfloat * AppKit.NSDisplayGamut * Foundation.NSBundle * Foundation.NSDictionary * MetalKit.MTKTextureLoaderCallback -> unit
override this.FromName : string * nfloat * AppKit.NSDisplayGamut * Foundation.NSBundle * Foundation.NSDictionary * MetalKit.MTKTextureLoaderCallback -> unit

Параметры

name
String
scaleFactor
nfloat
displayGamut
NSDisplayGamut
bundle
NSBundle
options
NSDictionary
completionHandler
MTKTextureLoaderCallback
Атрибуты

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

FromName(String, nfloat, NSDisplayGamut, NSBundle, MTKTextureLoaderOptions, NSError)

[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 Metal.IMTLTexture FromName (string name, nfloat scaleFactor, AppKit.NSDisplayGamut displayGamut, Foundation.NSBundle bundle, MetalKit.MTKTextureLoaderOptions options, out Foundation.NSError error);
member this.FromName : string * nfloat * AppKit.NSDisplayGamut * Foundation.NSBundle * MetalKit.MTKTextureLoaderOptions *  -> Metal.IMTLTexture

Параметры

name
String
scaleFactor
nfloat
displayGamut
NSDisplayGamut
bundle
NSBundle
error
NSError

Возвращаемое значение

Атрибуты

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