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.

Try in SPARQL Jump to: Statements Referenced by

Statements (60)

Predicate Object
instanceOf MetalKit utility
class
texture loader
canLoad 2D textures
cube textures
texture arrays
conformsTo NSObject NERFINISHED
definedIn MetalKit framework NERFINISHED
errorDomain MTKTextureLoaderErrorDomain
framework MetalKit NERFINISHED
hasErrorCode MTKTextureLoaderErrorCompression NERFINISHED
MTKTextureLoaderErrorFileNotFound
MTKTextureLoaderErrorInvalidData NERFINISHED
MTKTextureLoaderErrorUnsupportedTextureType NERFINISHED
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 NERFINISHED
tvOS 9.0 NERFINISHED
language Objective-C NERFINISHED
Swift NERFINISHED
platform Apple platforms NERFINISHED
iOS
macOS
tvOS NERFINISHED
visionOS NERFINISHED
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 NERFINISHED
MTKTextureLoaderOptionCubeLayout NERFINISHED
MTKTextureLoaderOptionGenerateMipmaps NERFINISHED
MTKTextureLoaderOptionOrigin
MTKTextureLoaderOptionSRGB
MTKTextureLoaderOptionSRGBCapable
MTKTextureLoaderOptionTextureStorageMode NERFINISHED
MTKTextureLoaderOptionTextureUsage NERFINISHED
MTLDevice
NSDictionary options

Referenced by (1)

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

MetalKit hasClass MTKTextureLoader