Auf Englisch lesen

Freigeben über


GLKTextureLoader.FromName Methode

Definition

[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

Parameter

name
String
scaleFactor
nfloat
bundle
NSBundle

Muss hinzugefügt werden.

Dieser Parameter kann null sein.

options
NSDictionary<NSString,NSNumber>

Muss hinzugefügt werden.

Dieser Parameter kann null sein.

outError
NSError

Gibt zurück

Attribute

Gilt für: