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