RenderParameters
Inheritance: java.lang.Object
public class RenderParameters
Describe the parameters of the render target
Constructors
Constructor | Description |
---|---|
RenderParameters(boolean doubleBuffering, int colorBits, int depthBits, int stencilBits) | Initialize an instance of PixelFormat |
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 |
Methods
Method | Description |
---|---|
clone() | |
equals(Object arg0) | |
getClass() | |
getColorBits() | Gets how many bits will be used by color buffer. |
getDepthBits() | Gets how many bits will be used by depth buffer. |
getDoubleBuffering() | Gets whether double buffer is used. |
getStencilBits() | Gets how many bits will be used in stencil buffer. |
hashCode() | |
notify() | |
notifyAll() | |
setColorBits(int value) | Sets how many bits will be used by color buffer. |
setDepthBits(int value) | Sets how many bits will be used by depth buffer. |
setDoubleBuffering(boolean value) | Sets whether double buffer is used. |
setStencilBits(int value) | Sets how many bits will be used in stencil buffer. |
toString() | |
wait() | |
wait(long arg0) | |
wait(long arg0, int arg1) |
RenderParameters(boolean doubleBuffering, int colorBits, int depthBits, int stencilBits)
public RenderParameters(boolean doubleBuffering, int colorBits, int depthBits, int stencilBits)
Initialize an instance of PixelFormat
Parameters:
Parameter | Type | Description |
---|---|---|
doubleBuffering | boolean | |
colorBits | int | |
depthBits | int | |
stencilBits | int |
RenderParameters()
public RenderParameters()
Initialize an instance of PixelFormat
RenderParameters(boolean doubleBuffering)
public RenderParameters(boolean doubleBuffering)
Initialize an instance of PixelFormat
Parameters:
Parameter | Type | Description |
---|---|---|
doubleBuffering | boolean |
RenderParameters(boolean doubleBuffering, int colorBits)
public RenderParameters(boolean doubleBuffering, int colorBits)
Initialize an instance of PixelFormat
Parameters:
Parameter | Type | Description |
---|---|---|
doubleBuffering | boolean | |
colorBits | int |
RenderParameters(boolean doubleBuffering, int colorBits, int depthBits)
public RenderParameters(boolean doubleBuffering, int colorBits, int depthBits)
Initialize an instance of PixelFormat
Parameters:
Parameter | Type | Description |
---|---|---|
doubleBuffering | boolean | |
colorBits | int | |
depthBits | int |
clone()
public RenderParameters clone()
Returns: RenderParameters
equals(Object arg0)
public boolean equals(Object arg0)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | java.lang.Object |
Returns: boolean
getClass()
public final native Class<?> getClass()
Returns: java.lang.Class
getColorBits()
public int getColorBits()
Gets how many bits will be used by color buffer.
Returns: int
getDepthBits()
public int getDepthBits()
Gets how many bits will be used by depth buffer.
Returns: int
getDoubleBuffering()
public boolean getDoubleBuffering()
Gets whether double buffer is used.
Returns: boolean
getStencilBits()
public int getStencilBits()
Gets how many bits will be used in stencil buffer.
Returns: int
hashCode()
public native int hashCode()
Returns: int
notify()
public final native void notify()
notifyAll()
public final native void notifyAll()
setColorBits(int value)
public void setColorBits(int value)
Sets how many bits will be used by color buffer.
Parameters:
Parameter | Type | Description |
---|---|---|
value | int | New value |
setDepthBits(int value)
public void setDepthBits(int value)
Sets how many bits will be used by depth buffer.
Parameters:
Parameter | Type | Description |
---|---|---|
value | int | New value |
setDoubleBuffering(boolean value)
public void setDoubleBuffering(boolean value)
Sets whether double buffer is used.
Parameters:
Parameter | Type | Description |
---|---|---|
value | boolean | New value |
setStencilBits(int value)
public void setStencilBits(int value)
Sets how many bits will be used in stencil buffer.
Parameters:
Parameter | Type | Description |
---|---|---|
value | int | New value |
toString()
public String toString()
Returns: java.lang.String
wait()
public final void wait()
wait(long arg0)
public final void wait(long arg0)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | long |
wait(long arg0, int arg1)
public final void wait(long arg0, int arg1)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | long | |
arg1 | int |