Skip to content

Most visited

Recently visited

navigation

RenderScriptGL.SurfaceConfig | Android Developers

to top
Android APIs
Added in API level 11
Deprecated since API level 16
public static class

RenderScriptGL.SurfaceConfig

extends Object
java.lang.Object
   ↳ android.renderscript.RenderScriptGL.SurfaceConfig

This class was deprecated in API level 16.
in API 16 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.

Summary

Public Constructors
RenderScriptGL.SurfaceConfig()
This constructor was deprecated in API level 16. in API 16
RenderScriptGL.SurfaceConfig(RenderScriptGL.SurfaceConfig sc)
This constructor was deprecated in API level 16. in API 16
Public Methods
void setAlpha(int minimum, int preferred)
This method was deprecated in API level 16. 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)
This method was deprecated in API level 16. 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)
This method was deprecated in API level 16. 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)
This method was deprecated in API level 16. in API 16 Configure the multisample rendering.
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public RenderScriptGL.SurfaceConfig ()

Added in API level 11

This constructor was deprecated in API level 16.
in API 16

public RenderScriptGL.SurfaceConfig (RenderScriptGL.SurfaceConfig sc)

Added in API level 11

This constructor was deprecated in API level 16.
in API 16

Public Methods

public void setAlpha (int minimum, int preferred)

Added in API level 11

This method was deprecated in API level 16.
in API 16 Set the bit depth for alpha. This configures the surface for an unsigned integer buffer type.

public void setColor (int minimum, int preferred)

Added in API level 11

This method was deprecated in API level 16.
in API 16 Set the per-component bit depth for color (red, green, blue). This configures the surface for an unsigned integer buffer type.

public void setDepth (int minimum, int preferred)

Added in API level 11

This method was deprecated in API level 16.
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.

public void setSamples (int minimum, int preferred, float Q)

Added in API level 11

This method was deprecated in API level 16.
in API 16 Configure the multisample rendering.

Parameters
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.
This site uses cookies to store your preferences for site-specific language and display options.

Hooray!

This class requires API level or higher

This doc is hidden because your selected API level for the documentation is . You can change the documentation API level with the selector above the left navigation.

For more information about specifying the API level your app requires, read Supporting Different Platform Versions.