RenderParameters
Contents
[
Hide
]RenderParameters class
Describe the parameters of the render target
Methods
constructor
| Name | Description |
|---|---|
| constructor(doubleBuffering, colorBits, depthBits, stencilBits) | Initialize an instance of PixelFormat |
Result:
getDoubleBuffering
| Name | Description |
|---|---|
| getDoubleBuffering() | Gets or sets whether double buffer is used. |
Result:
setDoubleBuffering
| Name | Description |
|---|---|
| setDoubleBuffering(value) | Gets or sets whether double buffer is used. |
Result:
getColorBits
| Name | Description |
|---|---|
| getColorBits() | Gets or sets how many bits will be used by color buffer. |
Result:
setColorBits
| Name | Description |
|---|---|
| setColorBits(value) | Gets or sets how many bits will be used by color buffer. |
Result:
getDepthBits
| Name | Description |
|---|---|
| getDepthBits() | Gets or sets how many bits will be used by depth buffer. |
Result:
setDepthBits
| Name | Description |
|---|---|
| setDepthBits(value) | Gets or sets how many bits will be used by depth buffer. |
Result:
getStencilBits
| Name | Description |
|---|---|
| getStencilBits() | Gets or sets how many bits will be used in stencil buffer. |
Result:
setStencilBits
| Name | Description |
|---|---|
| setStencilBits(value) | Gets or sets how many bits will be used in stencil buffer. |
Result: