Objective-CclassSpriteKit
SKTexture
@interface SKTexture : NSObject <NSCopying, NSSecureCoding>
Structure
What a query’s scopes step through. Every node here can be matched — see the syntax.
inherits{}
- classNSObject
- protocolNSCopying
- protocolNSSecureCoding
Members 148
- method
+ (id)_cachedTextureNames; - method
+ (void)_reloadTextureCacheForImageNamed:(id)arg0; - method
+ (id)_textureByTransferingData:(char *)arg0 size:(CGSize)arg1; - method
+ (id)_textureByTransferingData:(char *)arg0 size:(CGSize)arg1 rowLength:(unsigned int)arg2 alignment:(unsigned int)arg3; - method
+ (id)_textureWithGLTextureId:(unsigned int)arg0 size:(CGSize)arg1; - method
+ (id)_textureWithImageNamed:(id)arg0; - method
+ (id)compressedTextureWithData:(id)arg0; - method
+ (id)compressedTextureWithData:(id)arg0 size:(CGSize)arg1 bitsPerPixel:(unsigned int)arg2 hasAlpha:(BOOL)arg3; - method
+ (id)lookupTextureCacheForName:(id)arg0; - method
+ (id)preloadQueue; - method
+ (void)preloadTextures:(id)arg0 withCompletionHandler:(id /* block */)arg1; - method
+ (void)registerTextureCache:(id)arg0 forName:(id)arg1; - method
+ (BOOL)supportsSecureCoding; - method
+ (id)textureNoiseWithSmoothness:(double)arg0 size:(CGSize)arg1 grayscale:(BOOL)arg2; - method
+ (id)textureVectorNoiseWithSmoothness:(double)arg0 size:(CGSize)arg1; - method
+ (id)textureWithCGImage:(struct CGImage *)arg0; - method
+ (id)textureWithCGImage:(struct CGImage *)arg0 pointSize:(CGSize)arg1; - method
+ (id)textureWithData:(id)arg0 size:(CGSize)arg1; - method
+ (id)textureWithData:(id)arg0 size:(CGSize)arg1 flipped:(BOOL)arg2; - method
+ (id)textureWithData:(id)arg0 size:(CGSize)arg1 rowLength:(unsigned int)arg2 alignment:(unsigned int)arg3; - method
+ (id)textureWithIOSurfaceID:(unsigned int)arg0 width:(unsigned int)arg1 height:(unsigned int)arg2 format:(unsigned int)arg3; - method
+ (id)textureWithImage:(id)arg0; - method
+ (id)textureWithImageNamed:(id)arg0; - method
+ (id)textureWithImageNamed:(id)arg0 rect:(CGRect)arg1; - method
+ (id)textureWithImagePath:(id)arg0; - method
+ (id)textureWithMetalTexture:(id)arg0; - method
+ (id)textureWithRect:(CGRect)arg0 inTexture:(id)arg1; - property
@property(class, readonly) BOOL supportsSecureCoding; - ivar
int _alignment;+0x88 - ivar
unsigned int *_alphaMap;+0xd8 - ivar
struct CGSize { double width; double height; } _alphaMapSize;+0xe0 - ivar
struct CGPoint { double x; double y; } _cropOffset;+0x78 - ivar
struct CGPoint { double x; double y; } _cropScale;+0x68 - ivar
BOOL _didGenerateMipmaps;+0x9 - ivar
BOOL _disableAlpha;+0x60 - ivar
CIFilter *_filter;+0x90 - ivar
NSString *_imgName;+0x10 - ivar
BOOL _isData;+0xc - ivar
BOOL _isFlipped;+0x62 - ivar
BOOL _isPath;+0xb - ivar
BOOL _isRepeatable;+0xc9 - ivar
BOOL _isRotated;+0x61 - ivar
BOOL _needsExtrusionWorkaround;+0xa - ivar
NSString *_originalAtlasName;+0xa8 - ivar
SKTexture *_originalTexture;+0x98 - ivar
BOOL _performFullCapture;+0xc8 - ivar
SKTextureAtlas *_rootAtlas;+0xd0 - ivar
int _rowLength;+0x8c - ivar
NSArray *_searchPaths;+0x18 - ivar
BOOL _shouldGenerateMipmaps;+0x8 - ivar
NSString *_subTextureName;+0xb0 - ivar
struct CGRect { struct CGPoint { double x; double y; } origin; struct CGSize { double width; double height; } size; } _textCoords;+0x40 - ivar
struct CGRect { struct CGPoint { double x; double y; } origin; struct CGSize { double width; double height; } size; } _textRect;+0x20 - ivar
SKTextureCache *_textureCache;+0xb8 - ivar
NSObject<OS_dispatch_queue> *_textureSyncQueue;+0xc0 - ivar
unsigned int _textureTarget;+0xa0 - method
- (void).cxx_destruct; - method
- (struct CGImage *)CGImage; - method
- (shared_ptr<jet_texture>)_backingTexture; - method
- (int)_convert_jet_texture_format_to_ci_format:(unsigned int)arg0; - method
- (id)_copyImageData; - method
- (struct CGImage *)_createCGImage; - method
- (void)_ensureImageData; - method
- (id)_generateNormalMap:(double)arg0 contrast:(double)arg1 multiPass:(unsigned long long)arg2; - method
- (id)_initWithGLTextureId:(unsigned int)arg0 size:(CGSize)arg1; - method
- (BOOL)_needsExtrusionWorkaround; - method
- (struct CGImage *)_newTextureFromGLCache; - method
- (void)_savePngFromGLCache:(id)arg0; - method
- (void)_setImageName:(id)arg0; - method
- (id)_textureCache; - method
- (unsigned int *)alphaMap; - method
- (CGSize)alphaMapSize; - method
- (void)commonInit; - method
- (id)copyWithZone:(struct _NSZone *)arg0; - method
- (CGPoint)cropOffset; - method
- (CGPoint)cropScale; - method
- (void)dealloc; - method
- (id)description; - method
- (void)encodeWithCoder:(id)arg0; - method
- (long long)filteringMode; - method
- (int)glTextureId; - method
- (BOOL)hasAlpha; - method
- (id)imageNameOrPath; - method
- (id)imgName; - method
- (id)init; - method
- (void)initTextureCacheWithImageData; - method
- (id)initWithBackingTetxure:(shared_ptr<jet_texture>)arg0; - method
- (id)initWithBackingTetxure:(shared_ptr<jet_texture>)arg0 logicalWidth:(float)arg1 height:(float)arg2; - method
- (id)initWithCoder:(id)arg0; - method
- (id)initWithImageNamed:(id)arg0; - method
- (id)initWithImagePath:(id)arg0; - method
- (BOOL)isEqualToTexture:(id)arg0; - method
- (BOOL)isFlipped; - method
- (BOOL)isRepeatable; - method
- (BOOL)isRotated; - method
- (void)loadImageData; - method
- (void)loadImageDataFromCGImage:(struct CGImage *)arg0 pointsSize:(CGSize)arg1; - method
- (BOOL)loadImageDataFromPVRData:(id)arg0; - method
- (BOOL)loadImageDataFromPVRGZData:(id)arg0; - method
- (id)metalTexture; - method
- (id)originalAtlasName; - method
- (BOOL)performFullCapture; - method
- (CGSize)pixelSize; - method
- (void)preloadWithCompletionHandler:(id /* block */)arg0; - method
- (id)rootAtlas; - method
- (void)setCropOffset:(CGPoint)arg0; - method
- (void)setCropScale:(CGPoint)arg0; - method
- (void)setFilteringMode:(long long)arg0; - method
- (void)setIsData:(BOOL)arg0; - method
- (void)setIsFlipped:(BOOL)arg0; - method
- (void)setIsRotated:(BOOL)arg0; - method
- (void)setNeedsExtrusionWorkaround:(BOOL)arg0; - method
- (void)setOriginalAtlasName:(id)arg0; - method
- (void)setPerformFullCapture:(BOOL)arg0; - method
- (void)setRootAtlas:(id)arg0; - method
- (void)setSubTextureName:(id)arg0; - method
- (void)setTextureDimension:(const struct CGSize { double x0; double x1; } *)arg0 withPixelSize:(const struct CGSize { double x0; double x1; } *)arg1; - method
- (void)setTextureTarget:(unsigned int)arg0; - method
- (void)setUsesMipmaps:(BOOL)arg0; - method
- (void)setWrapMode:(int)arg0; - method
- (CGSize)size; - method
- (id)subTextureName; - method
- (id)textureByApplyingCIFilter:(id)arg0; - method
- (id)textureByGeneratingNormalMap; - method
- (id)textureByGeneratingNormalMapWithSmoothness:(double)arg0 contrast:(double)arg1; - method
- (CGRect)textureRect; - method
- (unsigned int)textureTarget; - method
- (BOOL)usesMipmaps; - method
- (int)wrapMode; - property
@property(readonly, nonatomic) unsigned int *alphaMap; - property
@property(readonly, nonatomic) CGSize alphaMapSize; - property
@property(nonatomic) CGPoint cropOffset; - property
@property(nonatomic) CGPoint cropScale; - property
@property(nonatomic) long long filteringMode; - property
@property(readonly, nonatomic) BOOL hasAlpha; - property
@property(readonly, nonatomic) NSString *imageNameOrPath; - property
@property(nonatomic) BOOL isFlipped; - property
@property(readonly, nonatomic) BOOL isRepeatable; - property
@property(nonatomic) BOOL isRotated; - property
@property(getter=_needsExtrusionWorkaround, nonatomic) BOOL needsExtrusionWorkaround; - property
@property(copy, nonatomic) NSString *originalAtlasName; - property
@property BOOL performFullCapture; - property
@property(readonly, nonatomic) CGSize pixelSize; - property
@property(retain, nonatomic) SKTextureAtlas *rootAtlas; - property
@property(copy, nonatomic) NSString *subTextureName; - property
@property(nonatomic) unsigned int textureTarget; - property
@property(nonatomic) BOOL usesMipmaps; - property
@property(nonatomic) int wrapMode;
Header
@interface SKTexture : NSObject <NSCopying, NSSecureCoding> { BOOL _shouldGenerateMipmaps; BOOL _didGenerateMipmaps; BOOL _needsExtrusionWorkaround; BOOL _isPath; BOOL _isData; NSString *_imgName; NSArray *_searchPaths; struct CGRect _textRect; struct CGRect _textCoords; BOOL _disableAlpha; BOOL _isRotated; BOOL _isFlipped; struct CGPoint _cropScale; struct CGPoint _cropOffset; int _alignment; int _rowLength; CIFilter *_filter; SKTexture *_originalTexture; unsigned int _textureTarget; NSString *_originalAtlasName; NSString *_subTextureName; SKTextureCache *_textureCache; NSObject<OS_dispatch_queue> *_textureSyncQueue; BOOL _performFullCapture; BOOL _isRepeatable; SKTextureAtlas *_rootAtlas; unsigned int *_alphaMap; struct CGSize _alphaMapSize; } @property (class, readonly) BOOL supportsSecureCoding; @property (nonatomic, readonly) struct CGSize pixelSize; @property (nonatomic) unsigned int textureTarget; @property (nonatomic) BOOL isRotated; @property (nonatomic) BOOL isFlipped; @property (nonatomic, readonly) BOOL hasAlpha; @property (nonatomic) int wrapMode; @property (nonatomic, readonly) NSString *imageNameOrPath; @property BOOL performFullCapture; @property (nonatomic, readonly) BOOL isRepeatable; @property (nonatomic) struct CGPoint cropScale; @property (nonatomic) struct CGPoint cropOffset; @property (nonatomic, copy) NSString *originalAtlasName; @property (nonatomic, strong) SKTextureAtlas *rootAtlas; @property (nonatomic, copy) NSString *subTextureName; @property (nonatomic, readonly) unsigned int *alphaMap; @property (nonatomic, readonly) struct CGSize alphaMapSize; @property (nonatomic, getter=_needsExtrusionWorkaround) BOOL needsExtrusionWorkaround; @property (nonatomic) long long filteringMode; @property (nonatomic) BOOL usesMipmaps; + (BOOL)supportsSecureCoding; + (void)preloadTextures:(id)preloadTextures withCompletionHandler:(id /* block */)withCompletionHandler; + (id)textureWithData:(id)data size:(struct CGSize)size; + (id)_textureByTransferingData:(char *)transferingData size:(struct CGSize)size; + (id)_cachedTextureNames; + (void)_reloadTextureCacheForImageNamed:(id)imageNamed; + (id)_textureByTransferingData:(char *)transferingData size:(struct CGSize)size rowLength:(unsigned int)rowLength alignment:(unsigned int)alignment; + (id)_textureWithGLTextureId:(unsigned int)gLTextureId size:(struct CGSize)size; + (id)_textureWithImageNamed:(id)imageNamed; + (id)compressedTextureWithData:(id)data; + (id)compressedTextureWithData:(id)data size:(struct CGSize)size bitsPerPixel:(unsigned int)pixel hasAlpha:(BOOL)hasAlpha; + (id)lookupTextureCacheForName:(id)name; + (id)preloadQueue; + (void)registerTextureCache:(id)registerTextureCache forName:(id)forName; + (id)textureNoiseWithSmoothness:(double)smoothness size:(struct CGSize)size grayscale:(BOOL)grayscale; + (id)textureVectorNoiseWithSmoothness:(double)smoothness size:(struct CGSize)size; + (id)textureWithCGImage:(struct CGImage *)cGImage; + (id)textureWithCGImage:(struct CGImage *)cGImage pointSize:(struct CGSize)pointSize; + (id)textureWithData:(id)data size:(struct CGSize)size flipped:(BOOL)flipped; + (id)textureWithData:(id)data size:(struct CGSize)size rowLength:(unsigned int)rowLength alignment:(unsigned int)alignment; + (id)textureWithIOSurfaceID:(unsigned int)iOSurfaceID width:(unsigned int)width height:(unsigned int)height format:(unsigned int)format; + (id)textureWithImage:(id)image; + (id)textureWithImageNamed:(id)imageNamed; + (id)textureWithImageNamed:(id)imageNamed rect:(struct CGRect)rect; + (id)textureWithImagePath:(id)imagePath; + (id)textureWithMetalTexture:(id)metalTexture; + (id)textureWithRect:(struct CGRect)rect inTexture:(id)inTexture; - (struct CGSize)pixelSize; - (struct CGImage *)CGImage; - (unsigned int)textureTarget; - (id)copyWithZone:(struct _NSZone *)zone; - (void)commonInit; - (void).cxx_destruct; - (void)dealloc; - (struct CGSize)size; - (id)init; - (id)metalTexture; - (void)encodeWithCoder:(id)coder; - (BOOL)isFlipped; - (BOOL)isRepeatable; - (id)description; - (id)initWithCoder:(id)coder; - (BOOL)isRotated; - (id)initWithImageNamed:(id)imageNamed; - (id)initWithImagePath:(id)imagePath; - (int)wrapMode; - (BOOL)hasAlpha; - (id)_textureCache; - (void)setIsFlipped:(BOOL)isFlipped; - (struct CGRect)textureRect; - (void)setTextureTarget:(unsigned int)textureTarget; - (long long)filteringMode; - (int)glTextureId; - (BOOL)usesMipmaps; - (struct shared_ptr<jet_texture>)_backingTexture; - (void)setUsesMipmaps:(BOOL)usesMipmaps; - (id)imageNameOrPath; - (id)imgName; - (int)_convert_jet_texture_format_to_ci_format:(unsigned int)_convert_jet_texture_format_to_ci_format; - (id)_copyImageData; - (struct CGImage *)_createCGImage; - (void)_ensureImageData; - (id)_generateNormalMap:(double)_generateNormalMap contrast:(double)contrast multiPass:(unsigned long long)multiPass; - (id)_initWithGLTextureId:(unsigned int)gLTextureId size:(struct CGSize)size; - (BOOL)_needsExtrusionWorkaround; - (struct CGImage *)_newTextureFromGLCache; - (void)_savePngFromGLCache:(id)gLCache; - (void)_setImageName:(id)imageName; - (unsigned int *)alphaMap; - (struct CGSize)alphaMapSize; - (struct CGPoint)cropOffset; - (struct CGPoint)cropScale; - (void)initTextureCacheWithImageData; - (id)initWithBackingTetxure:(struct shared_ptr<jet_texture>)backingTetxure; - (id)initWithBackingTetxure:(struct shared_ptr<jet_texture>)backingTetxure logicalWidth:(float)logicalWidth height:(float)height; - (BOOL)isEqualToTexture:(id)texture; - (void)loadImageData; - (void)loadImageDataFromCGImage:(struct CGImage *)cGImage pointsSize:(struct CGSize)pointsSize; - (BOOL)loadImageDataFromPVRData:(id)pVRData; - (BOOL)loadImageDataFromPVRGZData:(id)pVRGZData; - (id)originalAtlasName; - (BOOL)performFullCapture; - (void)preloadWithCompletionHandler:(id /* block */)completionHandler; - (id)rootAtlas; - (void)setCropOffset:(struct CGPoint)cropOffset; - (void)setCropScale:(struct CGPoint)cropScale; - (void)setFilteringMode:(long long)filteringMode; - (void)setIsData:(BOOL)isData; - (void)setIsRotated:(BOOL)isRotated; - (void)setNeedsExtrusionWorkaround:(BOOL)needsExtrusionWorkaround; - (void)setOriginalAtlasName:(id)originalAtlasName; - (void)setPerformFullCapture:(BOOL)performFullCapture; - (void)setRootAtlas:(id)rootAtlas; - (void)setSubTextureName:(id)subTextureName; - (void)setTextureDimension:(const struct CGSize *)textureDimension withPixelSize:(const struct CGSize *)withPixelSize; - (void)setWrapMode:(int)wrapMode; - (id)subTextureName; - (id)textureByApplyingCIFilter:(id)applyingCIFilter; - (id)textureByGeneratingNormalMap; - (id)textureByGeneratingNormalMapWithSmoothness:(double)smoothness contrast:(double)contrast; @end