Objective-CclassSpriteKit

@interface SKTexture : NSObject <NSCopying, NSSecureCoding>

Structure

What a query’s scopes step through. Every node here can be matched — see the syntax.

inherits{}

Members 148

  1. method+ (id)_cachedTextureNames;
  2. method+ (void)_reloadTextureCacheForImageNamed:(id)arg0;
  3. method+ (id)_textureByTransferingData:(char *)arg0 size:(CGSize)arg1;
  4. method+ (id)_textureByTransferingData:(char *)arg0 size:(CGSize)arg1 rowLength:(unsigned int)arg2 alignment:(unsigned int)arg3;
  5. method+ (id)_textureWithGLTextureId:(unsigned int)arg0 size:(CGSize)arg1;
  6. method+ (id)_textureWithImageNamed:(id)arg0;
  7. method+ (id)compressedTextureWithData:(id)arg0;
  8. method+ (id)compressedTextureWithData:(id)arg0 size:(CGSize)arg1 bitsPerPixel:(unsigned int)arg2 hasAlpha:(BOOL)arg3;
  9. method+ (id)lookupTextureCacheForName:(id)arg0;
  10. method+ (id)preloadQueue;
  11. method+ (void)preloadTextures:(id)arg0 withCompletionHandler:(id /* block */)arg1;
  12. method+ (void)registerTextureCache:(id)arg0 forName:(id)arg1;
  13. method+ (BOOL)supportsSecureCoding;
  14. method+ (id)textureNoiseWithSmoothness:(double)arg0 size:(CGSize)arg1 grayscale:(BOOL)arg2;
  15. method+ (id)textureVectorNoiseWithSmoothness:(double)arg0 size:(CGSize)arg1;
  16. method+ (id)textureWithCGImage:(struct CGImage *)arg0;
  17. method+ (id)textureWithCGImage:(struct CGImage *)arg0 pointSize:(CGSize)arg1;
  18. method+ (id)textureWithData:(id)arg0 size:(CGSize)arg1;
  19. method+ (id)textureWithData:(id)arg0 size:(CGSize)arg1 flipped:(BOOL)arg2;
  20. method+ (id)textureWithData:(id)arg0 size:(CGSize)arg1 rowLength:(unsigned int)arg2 alignment:(unsigned int)arg3;
  21. method+ (id)textureWithIOSurfaceID:(unsigned int)arg0 width:(unsigned int)arg1 height:(unsigned int)arg2 format:(unsigned int)arg3;
  22. method+ (id)textureWithImage:(id)arg0;
  23. method+ (id)textureWithImageNamed:(id)arg0;
  24. method+ (id)textureWithImageNamed:(id)arg0 rect:(CGRect)arg1;
  25. method+ (id)textureWithImagePath:(id)arg0;
  26. method+ (id)textureWithMetalTexture:(id)arg0;
  27. method+ (id)textureWithRect:(CGRect)arg0 inTexture:(id)arg1;
  28. property@property(class, readonly) BOOL supportsSecureCoding;
  29. ivarint _alignment;+0x88
  30. ivarunsigned int *_alphaMap;+0xd8
  31. ivarstruct CGSize { double width; double height; } _alphaMapSize;+0xe0
  32. ivarstruct CGPoint { double x; double y; } _cropOffset;+0x78
  33. ivarstruct CGPoint { double x; double y; } _cropScale;+0x68
  34. ivarBOOL _didGenerateMipmaps;+0x9
  35. ivarBOOL _disableAlpha;+0x60
  36. ivarCIFilter *_filter;+0x90
  37. ivarNSString *_imgName;+0x10
  38. ivarBOOL _isData;+0xc
  39. ivarBOOL _isFlipped;+0x62
  40. ivarBOOL _isPath;+0xb
  41. ivarBOOL _isRepeatable;+0xc9
  42. ivarBOOL _isRotated;+0x61
  43. ivarBOOL _needsExtrusionWorkaround;+0xa
  44. ivarNSString *_originalAtlasName;+0xa8
  45. ivarSKTexture *_originalTexture;+0x98
  46. ivarBOOL _performFullCapture;+0xc8
  47. ivarSKTextureAtlas *_rootAtlas;+0xd0
  48. ivarint _rowLength;+0x8c
  49. ivarNSArray *_searchPaths;+0x18
  50. ivarBOOL _shouldGenerateMipmaps;+0x8
  51. ivarNSString *_subTextureName;+0xb0
  52. ivarstruct CGRect { struct CGPoint { double x; double y; } origin; struct CGSize { double width; double height; } size; } _textCoords;+0x40
  53. ivarstruct CGRect { struct CGPoint { double x; double y; } origin; struct CGSize { double width; double height; } size; } _textRect;+0x20
  54. ivarSKTextureCache *_textureCache;+0xb8
  55. ivarNSObject<OS_dispatch_queue> *_textureSyncQueue;+0xc0
  56. ivarunsigned int _textureTarget;+0xa0
  57. method- (void).cxx_destruct;
  58. method- (struct CGImage *)CGImage;
  59. method- (shared_ptr<jet_texture>)_backingTexture;
  60. method- (int)_convert_jet_texture_format_to_ci_format:(unsigned int)arg0;
  61. method- (id)_copyImageData;
  62. method- (struct CGImage *)_createCGImage;
  63. method- (void)_ensureImageData;
  64. method- (id)_generateNormalMap:(double)arg0 contrast:(double)arg1 multiPass:(unsigned long long)arg2;
  65. method- (id)_initWithGLTextureId:(unsigned int)arg0 size:(CGSize)arg1;
  66. method- (BOOL)_needsExtrusionWorkaround;
  67. method- (struct CGImage *)_newTextureFromGLCache;
  68. method- (void)_savePngFromGLCache:(id)arg0;
  69. method- (void)_setImageName:(id)arg0;
  70. method- (id)_textureCache;
  71. method- (unsigned int *)alphaMap;
  72. method- (CGSize)alphaMapSize;
  73. method- (void)commonInit;
  74. method- (id)copyWithZone:(struct _NSZone *)arg0;
  75. method- (CGPoint)cropOffset;
  76. method- (CGPoint)cropScale;
  77. method- (void)dealloc;
  78. method- (id)description;
  79. method- (void)encodeWithCoder:(id)arg0;
  80. method- (long long)filteringMode;
  81. method- (int)glTextureId;
  82. method- (BOOL)hasAlpha;
  83. method- (id)imageNameOrPath;
  84. method- (id)imgName;
  85. method- (id)init;
  86. method- (void)initTextureCacheWithImageData;
  87. method- (id)initWithBackingTetxure:(shared_ptr<jet_texture>)arg0;
  88. method- (id)initWithBackingTetxure:(shared_ptr<jet_texture>)arg0 logicalWidth:(float)arg1 height:(float)arg2;
  89. method- (id)initWithCoder:(id)arg0;
  90. method- (id)initWithImageNamed:(id)arg0;
  91. method- (id)initWithImagePath:(id)arg0;
  92. method- (BOOL)isEqualToTexture:(id)arg0;
  93. method- (BOOL)isFlipped;
  94. method- (BOOL)isRepeatable;
  95. method- (BOOL)isRotated;
  96. method- (void)loadImageData;
  97. method- (void)loadImageDataFromCGImage:(struct CGImage *)arg0 pointsSize:(CGSize)arg1;
  98. method- (BOOL)loadImageDataFromPVRData:(id)arg0;
  99. method- (BOOL)loadImageDataFromPVRGZData:(id)arg0;
  100. method- (id)metalTexture;
  101. method- (id)originalAtlasName;
  102. method- (BOOL)performFullCapture;
  103. method- (CGSize)pixelSize;
  104. method- (void)preloadWithCompletionHandler:(id /* block */)arg0;
  105. method- (id)rootAtlas;
  106. method- (void)setCropOffset:(CGPoint)arg0;
  107. method- (void)setCropScale:(CGPoint)arg0;
  108. method- (void)setFilteringMode:(long long)arg0;
  109. method- (void)setIsData:(BOOL)arg0;
  110. method- (void)setIsFlipped:(BOOL)arg0;
  111. method- (void)setIsRotated:(BOOL)arg0;
  112. method- (void)setNeedsExtrusionWorkaround:(BOOL)arg0;
  113. method- (void)setOriginalAtlasName:(id)arg0;
  114. method- (void)setPerformFullCapture:(BOOL)arg0;
  115. method- (void)setRootAtlas:(id)arg0;
  116. method- (void)setSubTextureName:(id)arg0;
  117. method- (void)setTextureDimension:(const struct CGSize { double x0; double x1; } *)arg0 withPixelSize:(const struct CGSize { double x0; double x1; } *)arg1;
  118. method- (void)setTextureTarget:(unsigned int)arg0;
  119. method- (void)setUsesMipmaps:(BOOL)arg0;
  120. method- (void)setWrapMode:(int)arg0;
  121. method- (CGSize)size;
  122. method- (id)subTextureName;
  123. method- (id)textureByApplyingCIFilter:(id)arg0;
  124. method- (id)textureByGeneratingNormalMap;
  125. method- (id)textureByGeneratingNormalMapWithSmoothness:(double)arg0 contrast:(double)arg1;
  126. method- (CGRect)textureRect;
  127. method- (unsigned int)textureTarget;
  128. method- (BOOL)usesMipmaps;
  129. method- (int)wrapMode;
  130. property@property(readonly, nonatomic) unsigned int *alphaMap;
  131. property@property(readonly, nonatomic) CGSize alphaMapSize;
  132. property@property(nonatomic) CGPoint cropOffset;
  133. property@property(nonatomic) CGPoint cropScale;
  134. property@property(nonatomic) long long filteringMode;
  135. property@property(readonly, nonatomic) BOOL hasAlpha;
  136. property@property(readonly, nonatomic) NSString *imageNameOrPath;
  137. property@property(nonatomic) BOOL isFlipped;
  138. property@property(readonly, nonatomic) BOOL isRepeatable;
  139. property@property(nonatomic) BOOL isRotated;
  140. property@property(getter=_needsExtrusionWorkaround, nonatomic) BOOL needsExtrusionWorkaround;
  141. property@property(copy, nonatomic) NSString *originalAtlasName;
  142. property@property BOOL performFullCapture;
  143. property@property(readonly, nonatomic) CGSize pixelSize;
  144. property@property(retain, nonatomic) SKTextureAtlas *rootAtlas;
  145. property@property(copy, nonatomic) NSString *subTextureName;
  146. property@property(nonatomic) unsigned int textureTarget;
  147. property@property(nonatomic) BOOL usesMipmaps;
  148. property@property(nonatomic) int wrapMode;
@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