MTKTextureLoader

E849974

MTKTextureLoader is a MetalKit utility class that simplifies creating and loading GPU textures from image files and data for use with Apple’s Metal graphics framework.

All labels observed (7)

How this entity was disambiguated

Statements (60)

Predicate Object
instanceOf MetalKit utility ⓘ
class ⓘ
texture loader ⓘ
canLoad 2D textures ⓘ
cube textures ⓘ
texture arrays ⓘ
conformsTo NSObject ⓘ
definedIn MetalKit framework ⓘ
linked to: MetalKit
errorDomain MTKTextureLoaderErrorDomain ⓘ
framework MetalKit ⓘ
hasErrorCode MTKTextureLoaderErrorCompression ⓘ
linked to: MTKTextureLoader

MTKTextureLoaderErrorFileNotFound ⓘ
MTKTextureLoaderErrorInvalidData ⓘ
linked to: MTKTextureLoader

MTKTextureLoaderErrorUnsupportedTextureType ⓘ
hasInitializer initWithDevice: ⓘ
hasMethod newTextureWithCGImage:options:completionHandler: ⓘ
newTextureWithCGImage:options:error: ⓘ
newTextureWithContentsOfURL:options:completionHandler: ⓘ
newTextureWithContentsOfURL:options:error: ⓘ
newTextureWithData:options:completionHandler: ⓘ
newTextureWithData:options:error: ⓘ
newTextureWithName:scaleFactor:bundle:options:completionHandler: ⓘ
newTextureWithName:scaleFactor:bundle:options:error: ⓘ
newTexturesWithContentsOfURLs:options:completionHandler: ⓘ
newTexturesWithNames:scaleFactor:bundle:options:completionHandler: ⓘ
hasProperty device ⓘ
introducedIn iOS 9.0 ⓘ
macOS 10.11 ⓘ
linked to: OS X El Capitan

tvOS 9.0 ⓘ
linked to: tvOS
language Objective-C ⓘ
Swift ⓘ
platform Apple platforms ⓘ
iOS ⓘ
macOS ⓘ
tvOS ⓘ
visionOS ⓘ
relatedTo Metal ⓘ
returns id<MTLTexture> ⓘ
supports asynchronous loading ⓘ
mipmapped textures ⓘ
sRGB textures ⓘ
texture storage modes ⓘ
texture usage options ⓘ
targetAPI Metal ⓘ
usedFor creating GPU textures ⓘ
loading GPU textures ⓘ
loading textures from Core Graphics images ⓘ
loading textures from data ⓘ
loading textures from image files ⓘ
loading textures from texture files on disk ⓘ
uses MTKTextureLoaderOptionAllocateMipmaps ⓘ
MTKTextureLoaderOptionCubeLayout ⓘ
linked to: MTKTextureLoader

MTKTextureLoaderOptionGenerateMipmaps ⓘ
linked to: MTKTextureLoader

MTKTextureLoaderOptionOrigin ⓘ
MTKTextureLoaderOptionSRGB ⓘ
MTKTextureLoaderOptionSRGBCapable ⓘ
MTKTextureLoaderOptionTextureStorageMode ⓘ
linked to: MTKTextureLoader

MTKTextureLoaderOptionTextureUsage ⓘ
linked to: MTKTextureLoader

MTLDevice ⓘ
NSDictionary options ⓘ

How these facts were elicited

Referenced by (7)

Full triples — surface form annotated when it differs from this entity's canonical label.

MetalKit → hasClass → MTKTextureLoader ⓘ
MTKTextureLoader → uses → MTKTextureLoaderOptionGenerateMipmaps ⓘ
linked to: MTKTextureLoader
MTKTextureLoader → uses → MTKTextureLoaderOptionTextureUsage ⓘ
linked to: MTKTextureLoader
MTKTextureLoader → uses → MTKTextureLoaderOptionTextureStorageMode ⓘ
linked to: MTKTextureLoader
MTKTextureLoader → uses → MTKTextureLoaderOptionCubeLayout ⓘ
linked to: MTKTextureLoader
MTKTextureLoader → hasErrorCode → MTKTextureLoaderErrorInvalidData ⓘ
linked to: MTKTextureLoader
MTKTextureLoader → hasErrorCode → MTKTextureLoaderErrorCompression ⓘ
linked to: MTKTextureLoader