SKTextureGameplayKit

Trait SKTextureGameplayKit 

Source
pub unsafe trait SKTextureGameplayKit:
    ClassType
    + Sized
    + Sealed {
    // Provided method
    unsafe fn textureWithNoiseMap(noise_map: &GKNoiseMap) -> Retained<Self> { ... }
}
Available on crate feature SpriteKit_Additions only.
Expand description

Category “GameplayKit” on SKTexture.

Provided Methods§

Source

unsafe fn textureWithNoiseMap(noise_map: &GKNoiseMap) -> Retained<Self>

Available on crate feature GKNoiseMap only.

Create a texture from a GKNoiseMap.

Parameter noiseMap: the GKNoiseMap from which to create the texture.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementations on Foreign Types§

Source§

impl SKTextureGameplayKit for SKTexture

Available on crate feature objc2-sprite-kit only.

Implementors§