preload
TypeScriptstatic preloadWithCompletionHandler(textures: Array<SKTexture>, completionHandler: (() => void)): voidSwift declarationclass func preload(_ textures: [SKTexture]) asyncclass · SDK 27.1
class SKTexturestatic preloadWithCompletionHandler(textures: Array<SKTexture>, completionHandler: (() => void)): voidSwift declarationclass func preload(_ textures: [SKTexture]) asyncstatic initNoiseWithSmoothnessSizeGrayscale(smoothness: number, size: { width: number; height: number }, grayscale: boolean): SKTextureSwift declarationconvenience init(noiseWithSmoothness smoothness: CGFloat, size: CGSize, grayscale: Bool)static initVectorNoiseWithSmoothnessSize(smoothness: number, size: { width: number; height: number }): SKTextureSwift declarationconvenience init(vectorNoiseWithSmoothness smoothness: CGFloat, size: CGSize)static initCgImage(image: _CoreGraphics_CGImage): SKTextureSwift declarationconvenience init(cgImage image: CGImage)static initDataSize(pixelData: ArrayBuffer, size: { width: number; height: number }): SKTextureSwift declarationconvenience init(data pixelData: Data, size: CGSize)static initDataSizeFlipped(pixelData: ArrayBuffer, size: { width: number; height: number }, flipped: boolean): SKTextureSwift declarationconvenience init(data pixelData: Data, size: CGSize, flipped: Bool)static initDataSizeRowLengthAlignment(pixelData: ArrayBuffer, size: { width: number; height: number }, rowLength: number, alignment: number): SKTextureSwift declarationconvenience init(data pixelData: Data, size: CGSize, rowLength: UInt32, alignment: UInt32)static initImage(image: _UIKit_UIImage): SKTextureSwift declarationconvenience init(image: UIImage)static initImageNamed(name: string): SKTextureSwift declarationconvenience init(imageNamed name: String)static initRectIn(rect: { x: number; y: number; width: number; height: number }, texture: SKTexture): SKTextureSwift declarationconvenience init(rect: CGRect, in texture: SKTexture)cgImage(): _CoreGraphics_CGImageSwift declarationfunc cgImage() -> CGImagepreloadCompletionHandler(completionHandler: (() => void)): voidSwift declarationfunc preload() asyncsize(): { width: number; height: number }Swift declarationfunc size() -> CGSizeapplying(filter: _CoreImage_CIFilter): SKTextureSwift declarationfunc applying(_ filter: CIFilter) -> SelfgeneratingNormalMap(): SKTextureSwift declarationfunc generatingNormalMap() -> SelfgeneratingNormalMapWithSmoothnessContrast(smoothness: number, contrast: number): SKTextureSwift declarationfunc generatingNormalMap(withSmoothness smoothness: CGFloat, contrast: CGFloat) -> SelftextureRect(): { x: number; y: number; width: number; height: number }Swift declarationfunc textureRect() -> CGRectget filteringMode(): SKTextureFilteringModeSwift declarationvar filteringMode: SKTextureFilteringMode { get set }set filteringMode(value: SKTextureFilteringMode)Swift declarationvar filteringMode: SKTextureFilteringMode { get set }get usesMipmaps(): booleanSwift declarationvar usesMipmaps: Bool { get set }set usesMipmaps(value: boolean)Swift declarationvar usesMipmaps: Bool { get set }get customPlaygroundQuickLook(): SDKHandleSwift declarationvar customPlaygroundQuickLook: PlaygroundQuickLook { get }A custom playground Quick Look for this instance. If this type has value semantics, the `PlaygroundQuickLook` instance should be unaffected by subsequent mutations.
1 declarations were excluded from these bindings. Each reason comes from the generator or the iOS SDK compiler.
SKTexture.init()
inherited init: cannot prove legal (class declares 11 custom initializers)