to top
Android APIs
public class

ProgramRaster

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

This class is deprecated.
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 is deprecated. in API 16  
enum ProgramRaster.CullMode This enum is deprecated. in API 16  
Public Methods
static ProgramRaster CULL_BACK(RenderScript rs)
This method is deprecated. in API 16
static ProgramRaster CULL_FRONT(RenderScript rs)
This method is deprecated. in API 16
static ProgramRaster CULL_NONE(RenderScript rs)
This method is deprecated. in API 16
ProgramRaster.CullMode getCullMode()
This method is deprecated. in API 16 Specifies how triangles are culled based on their orientation
boolean isPointSpriteEnabled()
This method is deprecated. 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)

Since: API Level 11

This method is deprecated.
in API 16

public static ProgramRaster CULL_FRONT (RenderScript rs)

Since: API Level 11

This method is deprecated.
in API 16

public static ProgramRaster CULL_NONE (RenderScript rs)

Since: API Level 11

This method is deprecated.
in API 16

public ProgramRaster.CullMode getCullMode ()

Since: API Level 16

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

Returns
  • cull mode

public boolean isPointSpriteEnabled ()

Since: API Level 16

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

Returns
  • whether point sprites are enabled