public class RenderParameters
extends java.lang.Object
| Constructor and Description |
|---|
RenderParameters()
Initialize an instance of
PixelFormat |
RenderParameters(boolean doubleBuffering)
Initialize an instance of
PixelFormat |
RenderParameters(boolean doubleBuffering,
int colorBits)
Initialize an instance of
PixelFormat |
RenderParameters(boolean doubleBuffering,
int colorBits,
int depthBits)
Initialize an instance of
PixelFormat |
RenderParameters(boolean doubleBuffering,
int colorBits,
int depthBits,
int stencilBits)
Initialize an instance of
PixelFormat |
| Modifier and Type | Method and 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.
|
public RenderParameters(boolean doubleBuffering,
int colorBits,
int depthBits,
int stencilBits)
PixelFormatpublic RenderParameters()
PixelFormatpublic RenderParameters(boolean doubleBuffering)
PixelFormatpublic RenderParameters(boolean doubleBuffering,
int colorBits)
PixelFormatpublic RenderParameters(boolean doubleBuffering,
int colorBits,
int depthBits)
PixelFormatpublic boolean getDoubleBuffering()
public void setDoubleBuffering(boolean value)
value - New valuepublic int getColorBits()
public void setColorBits(int value)
value - New valuepublic int getDepthBits()
public void setDepthBits(int value)
value - New valuepublic int getStencilBits()
public void setStencilBits(int value)
value - New valuepublic RenderParameters clone()
clone in class java.lang.Object