public static class RenderScriptGL.SurfaceConfig extends Object
Constructor and Description |
---|
RenderScriptGL.SurfaceConfig()
Deprecated.
in API 16
|
RenderScriptGL.SurfaceConfig(RenderScriptGL.SurfaceConfig sc)
Deprecated.
in API 16
|
Modifier and Type | Method and Description |
---|---|
void |
setAlpha(int minimum,
int preferred)
Deprecated.
in API 16
Set the bit depth for alpha. This configures the surface for
an unsigned integer buffer type.
|
void |
setColor(int minimum,
int preferred)
Deprecated.
in API 16
Set the per-component bit depth for color (red, green, blue). This
configures the surface for an unsigned integer buffer type.
|
void |
setDepth(int minimum,
int preferred)
Deprecated.
in API 16
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.
|
void |
setSamples(int minimum,
int preferred,
float Q)
Deprecated.
in API 16
Configure the multisample rendering.
|
public RenderScriptGL.SurfaceConfig()
public RenderScriptGL.SurfaceConfig(RenderScriptGL.SurfaceConfig sc)
public void setColor(int minimum, int preferred)
minimum
- preferred
- public void setAlpha(int minimum, int preferred)
minimum
- preferred
- public void setDepth(int minimum, int preferred)
minimum
- preferred
- public void setSamples(int minimum, int preferred, float Q)
minimum
- The required number of samples, must be at least 1.preferred
- The targe number of samples, must be at least
minimumQ
- The quality of samples, range 0-1. Used to decide between
different formats which have the same number of samples but
different rendering quality.