Class MDLNoiseTexture

  • All Implemented Interfaces:
    NSObjectProtocol, MDLNamed, org.robovm.objc.ObjCProtocol

    public class MDLNoiseTexture
    extends MDLTexture
    Since:
    Available in iOS 9.0 and later.
    • Constructor Detail

      • MDLNoiseTexture

        public MDLNoiseTexture()
      • MDLNoiseTexture

        protected MDLNoiseTexture​(NSObject.Handle h,
                                  long handle)
      • MDLNoiseTexture

        public MDLNoiseTexture​(float smoothness,
                               java.lang.String name,
                               VectorInt2 textureDimensions,
                               int channelCount,
                               MDLTextureChannelEncoding channelEncoding,
                               boolean grayscale)
      • MDLNoiseTexture

        public MDLNoiseTexture​(NSData pixelData,
                               boolean topLeftOrigin,
                               java.lang.String name,
                               VectorInt2 dimensions,
                               long rowStride,
                               long channelCount,
                               MDLTextureChannelEncoding channelEncoding,
                               boolean isCube)
    • Method Detail

      • init

        protected long init​(float smoothness,
                            java.lang.String name,
                            VectorInt2 textureDimensions,
                            int channelCount,
                            MDLTextureChannelEncoding channelEncoding,
                            boolean grayscale)
      • initCellularNoise

        protected long initCellularNoise​(float frequency,
                                         java.lang.String name,
                                         VectorInt2 textureDimensions,
                                         MDLTextureChannelEncoding channelEncoding)
        Since:
        Available in iOS 11.0 and later.