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

? Examples
static ProgramRaster CULL_BACK( RenderScript rs)
This method was deprecated in API level 16. in API 16

? Examples
static ProgramRaster CULL_FRONT( RenderScript rs)
This method was deprecated in API level 16. in API 16

? Examples
static ProgramRaster CULL_NONE( RenderScript rs)
This method was deprecated in API level 16. in API 16

? Examples
ProgramRaster.CullMode getCullMode()
This method was deprecated in API level 16. in API 16 Specifies how triangles are culled based on their orientation

? Examples
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
No examples for this method.
Frequently called with: [Clear]
Portions of this page are reproduced from work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License. The original page is available here.