Class RenderParameters


  • public class RenderParameters
    extends java.lang.Object
    Describe the parameters of the render target
    • Method Summary

      Modifier and Type Method Description
      RenderParameters clone()  
      int getColorBits()
      Gets how many bits will be used by color buffer.
      int getDepthBits()
      Gets how many bits will be used by depth buffer.
      boolean getDoubleBuffering()
      Gets whether double buffer is used.
      int getStencilBits()
      Gets how many bits will be used in stencil buffer.
      void setColorBits​(int value)
      Sets how many bits will be used by color buffer.
      void setDepthBits​(int value)
      Sets how many bits will be used by depth buffer.
      void setDoubleBuffering​(boolean value)
      Sets whether double buffer is used.
      void setStencilBits​(int value)
      Sets how many bits will be used in stencil buffer.
      • Methods inherited from class java.lang.Object

        equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • RenderParameters

        public RenderParameters​(boolean doubleBuffering,
                                int colorBits,
                                int depthBits,
                                int stencilBits)
        Initialize an instance of PixelFormat
      • RenderParameters

        public RenderParameters()
        Initialize an instance of PixelFormat
      • RenderParameters

        public RenderParameters​(boolean doubleBuffering)
        Initialize an instance of PixelFormat
      • RenderParameters

        public RenderParameters​(boolean doubleBuffering,
                                int colorBits)
        Initialize an instance of PixelFormat
      • RenderParameters

        public RenderParameters​(boolean doubleBuffering,
                                int colorBits,
                                int depthBits)
        Initialize an instance of PixelFormat
    • Method Detail

      • getDoubleBuffering

        public boolean getDoubleBuffering()
        Gets whether double buffer is used.
      • setDoubleBuffering

        public void setDoubleBuffering​(boolean value)
        Sets whether double buffer is used.
        Parameters:
        value - New value
      • getColorBits

        public int getColorBits()
        Gets how many bits will be used by color buffer.
      • setColorBits

        public void setColorBits​(int value)
        Sets how many bits will be used by color buffer.
        Parameters:
        value - New value
      • getDepthBits

        public int getDepthBits()
        Gets how many bits will be used by depth buffer.
      • setDepthBits

        public void setDepthBits​(int value)
        Sets how many bits will be used by depth buffer.
        Parameters:
        value - New value
      • getStencilBits

        public int getStencilBits()
        Gets how many bits will be used in stencil buffer.
      • setStencilBits

        public void setStencilBits​(int value)
        Sets how many bits will be used in stencil buffer.
        Parameters:
        value - New value
      • clone

        public RenderParameters clone()
        Overrides:
        clone in class java.lang.Object