One Logo Pool Ball
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.0

cubeMap

TypeScript
static cubeMapWithContentsOfFileOptions(path: string, options?: (Record<string, _Foundation_NSNumber>) | null): GLKTextureInfo
Swift declaration
class func cubeMap(withContentsOfFile path: String, options: [String : NSNumber]? = nil) throws -> GLKTextureInfo
static · iOS 5.0+ · Deprecated in iOS 12.0

cubeMap

TypeScript
static cubeMapWithContentsOfFilesOptions(paths: Array<unknown>, options?: (Record<string, _Foundation_NSNumber>) | null): GLKTextureInfo
Swift declaration
class func cubeMap(withContentsOfFiles paths: [Any], options: [String : NSNumber]? = nil) throws -> GLKTextureInfo
static · iOS 5.0+ · Deprecated in iOS 12.0

cubeMap

TypeScript
static cubeMapWithContentsOfOptions(url: string, options?: (Record<string, _Foundation_NSNumber>) | null): GLKTextureInfo
Swift declaration
class func cubeMap(withContentsOf url: URL, options: [String : NSNumber]? = nil) throws -> GLKTextureInfo
static · iOS 5.0+ · Deprecated in iOS 12.0

texture

TypeScript
static textureWithOptions(cgImage: _CoreGraphics_CGImage, options?: (Record<string, _Foundation_NSNumber>) | null): GLKTextureInfo
Swift declaration
class func texture(with cgImage: CGImage, options: [String : NSNumber]? = nil) throws -> GLKTextureInfo
static · iOS 5.0+ · Deprecated in iOS 12.0

texture

TypeScript
static textureWithContentsOfOptions(data: ArrayBuffer, options?: (Record<string, _Foundation_NSNumber>) | null): GLKTextureInfo
Swift declaration
class func texture(withContentsOf data: Data, options: [String : NSNumber]? = nil) throws -> GLKTextureInfo
static · iOS 5.0+ · Deprecated in iOS 12.0

texture

TypeScript
static textureWithContentsOfFileOptions(path: string, options?: (Record<string, _Foundation_NSNumber>) | null): GLKTextureInfo
Swift declaration
class func texture(withContentsOfFile path: String, options: [String : NSNumber]? = nil) throws -> GLKTextureInfo
static · iOS 5.0+ · Deprecated in iOS 12.0

texture

TypeScript
static textureWithContentsOfOptions57937(url: string, options?: (Record<string, _Foundation_NSNumber>) | null): GLKTextureInfo
Swift declaration
class func texture(withContentsOf url: URL, options: [String : NSNumber]? = nil) throws -> GLKTextureInfo
static · iOS 5.0+ · Deprecated in iOS 12.0

texture

TypeScript
static textureWithNameScaleFactorBundleOptions(name: string, scaleFactor: number, bundle?: (_Foundation_Bundle) | null, options?: (Record<string, _Foundation_NSNumber>) | null): GLKTextureInfo
Swift declaration
class func texture(withName name: String, scaleFactor: CGFloat, bundle: Bundle?, options: [String : NSNumber]? = nil) throws -> GLKTextureInfo
method · iOS 5.0+ · Deprecated in iOS 12.0

cubeMap

TypeScript
cubeMapWithContentsOfFileOptionsQueueCompletionHandler(path: string, options: (Record<string, _Foundation_NSNumber>) | null, queue: (_Dispatch_DispatchQueue) | null, block: ((arg0: (GLKTextureInfo) | null, arg1: (NativeError) | null) => void)): void
Swift declaration
func cubeMap(withContentsOfFile path: String, options: [String : NSNumber]? = nil, queue: dispatch_queue_t?) async throws -> GLKTextureInfo
method · iOS 5.0+ · Deprecated in iOS 12.0

cubeMap

TypeScript
cubeMapWithContentsOfFilesOptionsQueueCompletionHandler(paths: Array<unknown>, options: (Record<string, _Foundation_NSNumber>) | null, queue: (_Dispatch_DispatchQueue) | null, block: ((arg0: (GLKTextureInfo) | null, arg1: (NativeError) | null) => void)): void
Swift declaration
func cubeMap(withContentsOfFiles paths: [Any], options: [String : NSNumber]? = nil, queue: dispatch_queue_t?) async throws -> GLKTextureInfo
method · iOS 5.0+ · Deprecated in iOS 12.0

cubeMap

TypeScript
cubeMapWithContentsOfOptionsQueueCompletionHandler(url: string, options: (Record<string, _Foundation_NSNumber>) | null, queue: (_Dispatch_DispatchQueue) | null, block: ((arg0: (GLKTextureInfo) | null, arg1: (NativeError) | null) => void)): void
Swift declaration
func cubeMap(withContentsOf url: URL, options: [String : NSNumber]? = nil, queue: dispatch_queue_t?) async throws -> GLKTextureInfo
init · iOS 5.0+ · Deprecated in iOS 12.0

init

TypeScript
static init(sharegroup: _OpenGLES_EAGLSharegroup): GLKTextureLoader
Swift declaration
init(sharegroup: EAGLSharegroup)
method · iOS 5.0+ · Deprecated in iOS 12.0

texture

TypeScript
textureWithOptionsQueueCompletionHandler(cgImage: _CoreGraphics_CGImage, options: (Record<string, _Foundation_NSNumber>) | null, queue: (_Dispatch_DispatchQueue) | null, block: ((arg0: (GLKTextureInfo) | null, arg1: (NativeError) | null) => void)): void
Swift declaration
func texture(with cgImage: CGImage, options: [String : NSNumber]? = nil, queue: dispatch_queue_t?) async throws -> GLKTextureInfo
method · iOS 5.0+ · Deprecated in iOS 12.0

texture

TypeScript
textureWithContentsOfOptionsQueueCompletionHandler(data: ArrayBuffer, options: (Record<string, _Foundation_NSNumber>) | null, queue: (_Dispatch_DispatchQueue) | null, block: ((arg0: (GLKTextureInfo) | null, arg1: (NativeError) | null) => void)): void
Swift declaration
func texture(withContentsOf data: Data, options: [String : NSNumber]? = nil, queue: dispatch_queue_t?) async throws -> GLKTextureInfo
method · iOS 5.0+ · Deprecated in iOS 12.0

texture

TypeScript
textureWithContentsOfFileOptionsQueueCompletionHandler(path: string, options: (Record<string, _Foundation_NSNumber>) | null, queue: (_Dispatch_DispatchQueue) | null, block: ((arg0: (GLKTextureInfo) | null, arg1: (NativeError) | null) => void)): void
Swift declaration
func texture(withContentsOfFile path: String, options: [String : NSNumber]? = nil, queue: dispatch_queue_t?) async throws -> GLKTextureInfo
method · iOS 5.0+ · Deprecated in iOS 12.0

texture

TypeScript
textureWithContentsOfOptionsQueueCompletionHandler85308(url: string, options: (Record<string, _Foundation_NSNumber>) | null, queue: (_Dispatch_DispatchQueue) | null, block: ((arg0: (GLKTextureInfo) | null, arg1: (NativeError) | null) => void)): void
Swift declaration
func texture(withContentsOf url: URL, options: [String : NSNumber]? = nil, queue: dispatch_queue_t?) async throws -> GLKTextureInfo
method · iOS 5.0+ · Deprecated in iOS 12.0

texture

TypeScript
textureWithNameScaleFactorBundleOptionsQueueCompletionHandler(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 declaration
func 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 →