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 (1)
| Label | Occurrences |
|---|---|
| MTKTextureLoader canonical | 1 |
How this entity was disambiguated
This entity first appeared as the object of triple T10214083 — resolving that mention is where its identity was fixed. The disambiguator weighed these candidate entities and picked the highlighted one (or “None”, minting a new entity). This is how homonymy is resolved: the same surface form can point to different entities.
Target entity: MTKTextureLoader Context triple: [MetalKit, hasClass, MTKTextureLoader]
-
A.
SKTexture
SKTexture is a SpriteKit class that represents image data used to render textured sprites and other visual elements in 2D games and animations.
-
B.
MTL
MTL is the standard three-letter abbreviation used for the National Hockey League team the Montreal Canadiens.
-
C.
MTL
MTL was the ISO 4217 currency code for the Maltese lira, the former national currency of Malta before adoption of the euro.
-
D.
MTL
MTL is a research and teaching facility at MIT focused on micro- and nanotechnology, including microelectronics, MEMS, and related advanced fabrication.
-
E.
MTK
MTK is the vehicle registration code for the Main-Taunus-Kreis district in the German state of Hesse.
- F. None of above. chosen
- G. Unsure - the case is ambiguous/there is not enough information to decide.
Target entity: MTKTextureLoader Target entity description: 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.
-
A.
SKTexture
SKTexture is a SpriteKit class that represents image data used to render textured sprites and other visual elements in 2D games and animations.
-
B.
MTL
MTL is the standard three-letter abbreviation used for the National Hockey League team the Montreal Canadiens.
-
C.
MTL
MTL was the ISO 4217 currency code for the Maltese lira, the former national currency of Malta before adoption of the euro.
-
D.
MTL
MTL is a research and teaching facility at MIT focused on micro- and nanotechnology, including microelectronics, MEMS, and related advanced fabrication.
-
E.
MTK
MTK is the vehicle registration code for the Main-Taunus-Kreis district in the German state of Hesse.
- F. None of above. chosen
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 ⓘ |
How these facts were elicited
The pipeline generated the facts above by prompting gpt-5.1 with this entity's name + description and the instruction below.
You are a knowledge base construction expert. Given a subject entity and a description of it, return factual statements that you know for the subject as a JSON list of dictionaries(triples), where keys must be "subject", "predicate" and "object". The number of facts may be very high, between 25 to 50 or more, for very popular subjects. For less popular subjects, the number of facts can be very low, like 5 or 10. # Requirements - If you don't know the subject at all, return an empty list. - If the subject is not a named entity, return an empty list. - Include at least one triple where predicate is "instanceOf". - Do not get too wordy. - Separate several objects into multiple triples with one object.
Subject: MTKTextureLoader Description of subject: 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.
Referenced by (1)
Full triples — surface form annotated when it differs from this entity's canonical label.