Class MTKView

    • Method Detail

      • setDevice

        public void setDevice​(MTLDevice v)
      • isFramebufferOnly

        public boolean isFramebufferOnly()
      • setFramebufferOnly

        public void setFramebufferOnly​(boolean v)
      • presentsWithTransaction

        public boolean presentsWithTransaction()
      • setPresentsWithTransaction

        public void setPresentsWithTransaction​(boolean v)
      • setColorPixelFormat

        public void setColorPixelFormat​(MTLPixelFormat v)
      • getDepthStencilPixelFormat

        public MTLPixelFormat getDepthStencilPixelFormat()
      • setDepthStencilPixelFormat

        public void setDepthStencilPixelFormat​(MTLPixelFormat v)
      • getSampleCount

        public long getSampleCount()
      • setSampleCount

        public void setSampleCount​(long v)
      • getClearDepth

        public double getClearDepth()
      • setClearDepth

        public void setClearDepth​(double v)
      • getClearStencil

        public int getClearStencil()
      • setClearStencil

        public void setClearStencil​(int v)
      • getDepthStencilTexture

        public MTLTexture getDepthStencilTexture()
      • getMultisampleColorTexture

        public MTLTexture getMultisampleColorTexture()
      • getPreferredFramesPerSecond

        public long getPreferredFramesPerSecond()
      • setPreferredFramesPerSecond

        public void setPreferredFramesPerSecond​(long v)
      • isNeedsDisplayEnabled

        public boolean isNeedsDisplayEnabled()
      • setNeedsDisplayEnabled

        public void setNeedsDisplayEnabled​(boolean v)
      • isAutoResizeDrawable

        public boolean isAutoResizeDrawable()
      • setAutoResizeDrawable

        public void setAutoResizeDrawable​(boolean v)
      • getDrawableSize

        public CGSize getDrawableSize()
      • setDrawableSize

        public void setDrawableSize​(CGSize v)
      • isPaused

        public boolean isPaused()
      • setPaused

        public void setPaused​(boolean v)
      • releaseDrawables

        public void releaseDrawables()
      • draw

        public void draw()