Upravit

Sdílet prostřednictvím


GLKTextureLoader.FromName Method

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

Parameters

name
String
scaleFactor
nfloat
bundle
NSBundle

To be added.

This parameter can be null.

options
NSDictionary<NSString,NSNumber>

To be added.

This parameter can be null.

outError
NSError

Returns

Attributes

Applies to