Class MTLTextureDescriptor

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

    public class MTLTextureDescriptor
    extends NSObject
    Since:
    Available in iOS 8.0 and later.
    • Constructor Detail

      • MTLTextureDescriptor

        public MTLTextureDescriptor()
      • MTLTextureDescriptor

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

        protected MTLTextureDescriptor​(NSObject.SkipInit skipInit)
    • Method Detail

      • getWidth

        public long getWidth()
      • setWidth

        public void setWidth​(long v)
      • getHeight

        public long getHeight()
      • setHeight

        public void setHeight​(long v)
      • getDepth

        public long getDepth()
      • setDepth

        public void setDepth​(long v)
      • getMipmapLevelCount

        public long getMipmapLevelCount()
      • setMipmapLevelCount

        public void setMipmapLevelCount​(long v)
      • getSampleCount

        public long getSampleCount()
      • setSampleCount

        public void setSampleCount​(long v)
      • getArrayLength

        public long getArrayLength()
      • setArrayLength

        public void setArrayLength​(long v)
      • getCpuCacheMode

        public MTLCPUCacheMode getCpuCacheMode()
        Since:
        Available in iOS 9.0 and later.
      • setCpuCacheMode

        public void setCpuCacheMode​(MTLCPUCacheMode v)
        Since:
        Available in iOS 9.0 and later.
      • getStorageMode

        public MTLStorageMode getStorageMode()
        Since:
        Available in iOS 9.0 and later.
      • setStorageMode

        public void setStorageMode​(MTLStorageMode v)
        Since:
        Available in iOS 9.0 and later.
      • getUsage

        public MTLTextureUsage getUsage()
        Since:
        Available in iOS 9.0 and later.
      • setUsage

        public void setUsage​(MTLTextureUsage v)
        Since:
        Available in iOS 9.0 and later.
      • isAllowGPUOptimizedContents

        public boolean isAllowGPUOptimizedContents()
        Since:
        Available in iOS 12.0 and later.
      • setAllowGPUOptimizedContents

        public void setAllowGPUOptimizedContents​(boolean v)
        Since:
        Available in iOS 12.0 and later.