Class RenderTarget.CppProxy

    • Method Detail

      • _djinni_private_destroy

        public void _djinni_private_destroy()
      • finalize

        protected void finalize()
                         throws java.lang.Throwable
        Overrides:
        finalize in class java.lang.Object
        Throws:
        java.lang.Throwable
      • getName

        public java.lang.String getName()
        Specified by:
        getName in interface RenderTarget
        Returns:
        render target name (string)
      • setSamplesCount

        public void setSamplesCount​(int samples)
        Specified by:
        setSamplesCount in interface RenderTarget
        Parameters:
        samples - (int) msaa samples counts
      • getSamplesCount

        public int getSamplesCount()
        Specified by:
        getSamplesCount in interface RenderTarget
        Returns:
        msaa samples counts
      • setExtent

        public void setExtent​(int width,
                              int height)
        Description copied from interface: RenderTarget
        set render target surface extent
        Specified by:
        setExtent in interface RenderTarget
        Parameters:
        width - (int): surface width
        height - (int): surface height
      • getWidth

        public int getWidth()
        Specified by:
        getWidth in interface RenderTarget
        Returns:
        render target width (int)
      • getHeight

        public int getHeight()
        Specified by:
        getHeight in interface RenderTarget
        Returns:
        render target height (int)
      • setScale

        public void setScale​(float scale)
        Description copied from interface: RenderTarget
        set render target surface extent scale
        Specified by:
        setScale in interface RenderTarget
      • getScale

        public float getScale()
        Specified by:
        getScale in interface RenderTarget
        Returns:
        render target width scale (int)
      • addAttachment

        public void addAttachment​(Image attachment)
        Description copied from interface: RenderTarget
        add color or depth attachment to render target
        Specified by:
        addAttachment in interface RenderTarget
        Parameters:
        attachment - (image): surface attachment
      • removeAttachment

        public void removeAttachment​(Image attachment)
        Description copied from interface: RenderTarget
        removes color or depth attachment from render target, if it was aded early
        Specified by:
        removeAttachment in interface RenderTarget
        Parameters:
        attachment - (image): surface attachment