SKTexture
E518841
SKTexture is a SpriteKit class that represents image data used to render textured sprites and other visual elements in 2D games and animations.
Statements (53)
| Predicate | Object |
|---|---|
| instanceOf |
Apple framework API
ⓘ
SpriteKit class ⓘ texture object ⓘ |
| canBeCreatedFrom |
CGImage
NERFINISHED
ⓘ
CIImage ⓘ SKNode NERFINISHED ⓘ SKView ⓘ image files ⓘ texture atlas ⓘ |
| category | 2D graphics API ⓘ |
| definedIn | SpriteKit framework NERFINISHED ⓘ |
| frameworkOwner | Apple NERFINISHED ⓘ |
| initializer |
init(cgImage:)
ⓘ
init(image:) ⓘ init(imageNamed:) ⓘ textureWithCGImage: ⓘ textureWithImage: (Objective-C) ⓘ textureWithImageNamed: ⓘ |
| introducedIn |
OS X 10.9
ⓘ
iOS 7 NERFINISHED ⓘ |
| language |
Objective-C
NERFINISHED
ⓘ
Swift ⓘ |
| method |
cgImage()
ⓘ
preload(_:withCompletionHandler:) ⓘ preloadWithCompletionHandler: ⓘ textureByApplyingCIFilter: ⓘ textureRect() ⓘ |
| partOf | SpriteKit NERFINISHED ⓘ |
| platform |
iOS
ⓘ
macOS ⓘ tvOS NERFINISHED ⓘ watchOS NERFINISHED ⓘ |
| property |
CGImage
ⓘ
filteringMode ⓘ size ⓘ textureRect ⓘ usesMipmaps ⓘ |
| relatedTo |
SKSpriteNode
ⓘ
SKTextureAtlas NERFINISHED ⓘ SKView ⓘ |
| supports |
filtering modes
ⓘ
mipmaps ⓘ texture atlases ⓘ texture repetition ⓘ |
| threadSafety | generally not thread-safe for mutation ⓘ |
| usedBy |
SKEmitterNode
NERFINISHED
ⓘ
SKSpriteNode NERFINISHED ⓘ SKTileMapNode NERFINISHED ⓘ |
| usedFor |
rendering textured sprites
ⓘ
rendering visual elements ⓘ representing image data ⓘ |
| usedIn |
2D animations
ⓘ
2D games ⓘ |
Referenced by (1)
Full triples — surface form annotated when it differs from this entity's canonical label.