GLKit · IOS API REFERENCE
GLKTextureLoader
class · iOS 5.0+ · Deprecated in iOS 12.0 · SDK 27.1
class GLKTextureLoader
Members (17)
static · iOS 5.0+ · Deprecated in iOS 12.0cubeMap
TypeScriptstatic cubeMapWithContentsOfFileOptions(path: string, options?: (Record<string, _Foundation_NSNumber>) | null): GLKTextureInfo
Swift declarationclass func cubeMap(withContentsOfFile path: String, options: [String : NSNumber]? = nil) throws -> GLKTextureInfo
static · iOS 5.0+ · Deprecated in iOS 12.0cubeMap
TypeScriptstatic cubeMapWithContentsOfFilesOptions(paths: Array<unknown>, options?: (Record<string, _Foundation_NSNumber>) | null): GLKTextureInfo
Swift declarationclass func cubeMap(withContentsOfFiles paths: [Any], options: [String : NSNumber]? = nil) throws -> GLKTextureInfo
static · iOS 5.0+ · Deprecated in iOS 12.0cubeMap
TypeScriptstatic cubeMapWithContentsOfOptions(url: string, options?: (Record<string, _Foundation_NSNumber>) | null): GLKTextureInfo
Swift declarationclass func cubeMap(withContentsOf url: URL, options: [String : NSNumber]? = nil) throws -> GLKTextureInfo
static · iOS 5.0+ · Deprecated in iOS 12.0texture
TypeScriptstatic textureWithOptions(cgImage: _CoreGraphics_CGImage, options?: (Record<string, _Foundation_NSNumber>) | null): GLKTextureInfo
Swift declarationclass func texture(with cgImage: CGImage, options: [String : NSNumber]? = nil) throws -> GLKTextureInfo
static · iOS 5.0+ · Deprecated in iOS 12.0texture
TypeScriptstatic textureWithContentsOfOptions(data: ArrayBuffer, options?: (Record<string, _Foundation_NSNumber>) | null): GLKTextureInfo
Swift declarationclass func texture(withContentsOf data: Data, options: [String : NSNumber]? = nil) throws -> GLKTextureInfo
static · iOS 5.0+ · Deprecated in iOS 12.0texture
TypeScriptstatic textureWithContentsOfFileOptions(path: string, options?: (Record<string, _Foundation_NSNumber>) | null): GLKTextureInfo
Swift declarationclass func texture(withContentsOfFile path: String, options: [String : NSNumber]? = nil) throws -> GLKTextureInfo
static · iOS 5.0+ · Deprecated in iOS 12.0texture
TypeScriptstatic textureWithContentsOfOptions57937(url: string, options?: (Record<string, _Foundation_NSNumber>) | null): GLKTextureInfo
Swift declarationclass func texture(withContentsOf url: URL, options: [String : NSNumber]? = nil) throws -> GLKTextureInfo
static · iOS 5.0+ · Deprecated in iOS 12.0texture
TypeScriptstatic textureWithNameScaleFactorBundleOptions(name: string, scaleFactor: number, bundle?: (_Foundation_Bundle) | null, options?: (Record<string, _Foundation_NSNumber>) | null): GLKTextureInfo
Swift declarationclass func texture(withName name: String, scaleFactor: CGFloat, bundle: Bundle?, options: [String : NSNumber]? = nil) throws -> GLKTextureInfo
method · iOS 5.0+ · Deprecated in iOS 12.0cubeMap
TypeScriptcubeMapWithContentsOfFileOptionsQueueCompletionHandler(path: string, options: (Record<string, _Foundation_NSNumber>) | null, queue: (_Dispatch_DispatchQueue) | null, block: ((arg0: (GLKTextureInfo) | null, arg1: (NativeError) | null) => void)): void
Swift declarationfunc cubeMap(withContentsOfFile path: String, options: [String : NSNumber]? = nil, queue: dispatch_queue_t?) async throws -> GLKTextureInfo
method · iOS 5.0+ · Deprecated in iOS 12.0cubeMap
TypeScriptcubeMapWithContentsOfFilesOptionsQueueCompletionHandler(paths: Array<unknown>, options: (Record<string, _Foundation_NSNumber>) | null, queue: (_Dispatch_DispatchQueue) | null, block: ((arg0: (GLKTextureInfo) | null, arg1: (NativeError) | null) => void)): void
Swift declarationfunc cubeMap(withContentsOfFiles paths: [Any], options: [String : NSNumber]? = nil, queue: dispatch_queue_t?) async throws -> GLKTextureInfo
method · iOS 5.0+ · Deprecated in iOS 12.0cubeMap
TypeScriptcubeMapWithContentsOfOptionsQueueCompletionHandler(url: string, options: (Record<string, _Foundation_NSNumber>) | null, queue: (_Dispatch_DispatchQueue) | null, block: ((arg0: (GLKTextureInfo) | null, arg1: (NativeError) | null) => void)): void
Swift declarationfunc cubeMap(withContentsOf url: URL, options: [String : NSNumber]? = nil, queue: dispatch_queue_t?) async throws -> GLKTextureInfo
init · iOS 5.0+ · Deprecated in iOS 12.0init
TypeScriptstatic init(sharegroup: _OpenGLES_EAGLSharegroup): GLKTextureLoader
Swift declarationinit(sharegroup: EAGLSharegroup)
method · iOS 5.0+ · Deprecated in iOS 12.0texture
TypeScripttextureWithOptionsQueueCompletionHandler(cgImage: _CoreGraphics_CGImage, options: (Record<string, _Foundation_NSNumber>) | null, queue: (_Dispatch_DispatchQueue) | null, block: ((arg0: (GLKTextureInfo) | null, arg1: (NativeError) | null) => void)): void
Swift declarationfunc texture(with cgImage: CGImage, options: [String : NSNumber]? = nil, queue: dispatch_queue_t?) async throws -> GLKTextureInfo
method · iOS 5.0+ · Deprecated in iOS 12.0texture
TypeScripttextureWithContentsOfOptionsQueueCompletionHandler(data: ArrayBuffer, options: (Record<string, _Foundation_NSNumber>) | null, queue: (_Dispatch_DispatchQueue) | null, block: ((arg0: (GLKTextureInfo) | null, arg1: (NativeError) | null) => void)): void
Swift declarationfunc texture(withContentsOf data: Data, options: [String : NSNumber]? = nil, queue: dispatch_queue_t?) async throws -> GLKTextureInfo
method · iOS 5.0+ · Deprecated in iOS 12.0texture
TypeScripttextureWithContentsOfFileOptionsQueueCompletionHandler(path: string, options: (Record<string, _Foundation_NSNumber>) | null, queue: (_Dispatch_DispatchQueue) | null, block: ((arg0: (GLKTextureInfo) | null, arg1: (NativeError) | null) => void)): void
Swift declarationfunc texture(withContentsOfFile path: String, options: [String : NSNumber]? = nil, queue: dispatch_queue_t?) async throws -> GLKTextureInfo
method · iOS 5.0+ · Deprecated in iOS 12.0texture
TypeScripttextureWithContentsOfOptionsQueueCompletionHandler85308(url: string, options: (Record<string, _Foundation_NSNumber>) | null, queue: (_Dispatch_DispatchQueue) | null, block: ((arg0: (GLKTextureInfo) | null, arg1: (NativeError) | null) => void)): void
Swift declarationfunc texture(withContentsOf url: URL, options: [String : NSNumber]? = nil, queue: dispatch_queue_t?) async throws -> GLKTextureInfo
method · iOS 5.0+ · Deprecated in iOS 12.0texture
TypeScripttextureWithNameScaleFactorBundleOptionsQueueCompletionHandler(name: string, scaleFactor: number, bundle: (_Foundation_Bundle) | null, options: (Record<string, _Foundation_NSNumber>) | null, queue: (_Dispatch_DispatchQueue) | null, block: ((arg0: (GLKTextureInfo) | null, arg1: (NativeError) | null) => void)): void
Swift declarationfunc texture(withName name: String, scaleFactor: CGFloat, bundle: Bundle?, options: [String : NSNumber]? = nil, queue: dispatch_queue_t?) async throws -> GLKTextureInfo
Skipped declarations
1 declarations were excluded from these bindings. Each reason comes from the generator or the iOS SDK compiler.
GLKTextureLoader.init()
inherited init: cannot prove legal (class declares 1 custom initializer)
All GLKit types →