| java.lang.Object | |
| ↳ | android.renderscript.RenderScriptGL.SurfaceConfig |
Class which is used to describe a pixel format for a graphical buffer. This is used to describe the intended format of the display surface. The configuration is described by pairs of minimum and preferred bit depths for each component within the config and additional structural information.
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Set the bit depth for alpha.
| |||||||||||
Set the per-component bit depth for color (red, green, blue).
| |||||||||||
Set the bit depth for the depth buffer.
| |||||||||||
Configure the multisample rendering.
| |||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
Set the bit depth for alpha. This configures the surface for an unsigned integer buffer type.
Set the per-component bit depth for color (red, green, blue). This configures the surface for an unsigned integer buffer type.
Set the bit depth for the depth buffer. This configures the surface for an unsigned integer buffer type. If a minimum of 0 is specified then its possible no depth buffer will be allocated.
Configure the multisample rendering.
| minimum | The required number of samples, must be at least 1. |
|---|---|
| preferred | The targe number of samples, must be at least minimum |
| Q | The quality of samples, range 0-1. Used to decide between different formats which have the same number of samples but different rendering quality. |