共用方式為


GLKTextureLoader.FromName 方法

定義

[Foundation.Export("textureWithName: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)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.TvOS, 10, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public static GLKit.GLKTextureInfo FromName (string name, nfloat scaleFactor, Foundation.NSBundle bundle, Foundation.NSDictionary<Foundation.NSString,Foundation.NSNumber> options, out Foundation.NSError outError);
static member FromName : string * nfloat * Foundation.NSBundle * Foundation.NSDictionary<Foundation.NSString, Foundation.NSNumber> *  -> GLKit.GLKTextureInfo

參數

name
String
scaleFactor
nfloat
bundle
NSBundle

即將加入。

這個參數可以是 null

options
NSDictionary<NSString,NSNumber>

即將加入。

這個參數可以是 null

outError
NSError

傳回

屬性

適用於