Skip to content

Most visited

Recently visited

navigation

ProgramRaster | Android Developers

to top
Android APIs
public class

ProgramRaster

extends BaseObj
java.lang.Object
   ↳ android.renderscript.BaseObj
     ↳ android.renderscript.ProgramRaster

This class was deprecated in API level 16.
in API 16 Program raster is primarily used to specify whether point sprites are enabled and to control the culling mode. By default, back faces are culled.

Summary

Nested Classes
class ProgramRaster.Builder This class was deprecated in API level 16. in API 16  
enum ProgramRaster.CullMode This enum was deprecated in API level 16. in API 16  
Public Methods
static ProgramRaster CULL_BACK(RenderScript rs)
This method was deprecated in API level 16. in API 16
static ProgramRaster CULL_FRONT(RenderScript rs)
This method was deprecated in API level 16. in API 16
static ProgramRaster CULL_NONE(RenderScript rs)
This method was deprecated in API level 16. in API 16
ProgramRaster.CullMode getCullMode()
This method was deprecated in API level 16. in API 16 Specifies how triangles are culled based on their orientation
boolean isPointSpriteEnabled()
This method was deprecated in API level 16. in API 16 Specifies whether vertices are rendered as screen aligned elements of a specified size
[Expand]
Inherited Methods
From class android.renderscript.BaseObj
From class java.lang.Object

Public Methods

public static ProgramRaster CULL_BACK (RenderScript rs)

Added in API level 11

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

public static ProgramRaster CULL_FRONT (RenderScript rs)

Added in API level 11

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

public static ProgramRaster CULL_NONE (RenderScript rs)

Added in API level 11

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

public ProgramRaster.CullMode getCullMode ()

Added in API level 16

This method was deprecated in API level 16.
in API 16 Specifies how triangles are culled based on their orientation

Returns
  • cull mode

public boolean isPointSpriteEnabled ()

Added in API level 16

This method was deprecated in API level 16.
in API 16 Specifies whether vertices are rendered as screen aligned elements of a specified size

Returns
  • whether point sprites are enabled
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.

Take a one-minute survey?
Help us improve Android tools and documentation.