Package com.aspose.threed
Class RenderParameters
- java.lang.Object
-
- com.aspose.threed.RenderParameters
-
public class RenderParameters extends java.lang.Object
Describe the parameters of the render target
-
-
Constructor Summary
Constructors Constructor Description RenderParameters()
Initialize an instance ofPixelFormat
RenderParameters(boolean doubleBuffering)
Initialize an instance ofPixelFormat
RenderParameters(boolean doubleBuffering, int colorBits)
Initialize an instance ofPixelFormat
RenderParameters(boolean doubleBuffering, int colorBits, int depthBits)
Initialize an instance ofPixelFormat
RenderParameters(boolean doubleBuffering, int colorBits, int depthBits, int stencilBits)
Initialize an instance ofPixelFormat
-
Method Summary
All Methods Instance Methods Concrete Methods 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.
-
-
-
Constructor Detail
-
RenderParameters
public RenderParameters(boolean doubleBuffering, int colorBits, int depthBits, int stencilBits)
Initialize an instance ofPixelFormat
-
RenderParameters
public RenderParameters()
Initialize an instance ofPixelFormat
-
RenderParameters
public RenderParameters(boolean doubleBuffering)
Initialize an instance ofPixelFormat
-
RenderParameters
public RenderParameters(boolean doubleBuffering, int colorBits)
Initialize an instance ofPixelFormat
-
RenderParameters
public RenderParameters(boolean doubleBuffering, int colorBits, int depthBits)
Initialize an instance ofPixelFormat
-
-
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 classjava.lang.Object
-
-