to top
Android APIs
public static final enum

ProgramStore.DepthFunc

extends Enum<E extends Enum<E>>
java.lang.Object
   ↳ java.lang.Enum<E extends java.lang.Enum<E>>
     ↳ android.renderscript.ProgramStore.DepthFunc

Class Overview

Specifies the function used to determine whether a fragment will be drawn during the depth testing stage in the rendering pipeline by comparing its value with that already in the depth buffer. DepthFunc is only valid when depth buffer is present and depth testing is enabled

Summary

Enum Values
ProgramStore.DepthFunc  ALWAYS  Always drawn  
ProgramStore.DepthFunc  EQUAL  Drawn if the incoming depth value is equal to that in the depth buffer  
ProgramStore.DepthFunc  GREATER  Drawn if the incoming depth value is greater than that in the depth buffer  
ProgramStore.DepthFunc  GREATER_OR_EQUAL  Drawn if the incoming depth value is greater or equal to that in the depth buffer  
ProgramStore.DepthFunc  LESS  Drawn if the incoming depth value is less than that in the depth buffer  
ProgramStore.DepthFunc  LESS_OR_EQUAL  Drawn if the incoming depth value is less or equal to that in the depth buffer  
ProgramStore.DepthFunc  NOT_EQUAL  Drawn if the incoming depth value is not equal to that in the depth buffer  
Public Methods
static ProgramStore.DepthFunc valueOf(String name)
final static DepthFunc[] values()
[Expand]
Inherited Methods
From class java.lang.Enum
From class java.lang.Object
From interface java.lang.Comparable

Enum Values

public static final ProgramStore.DepthFunc ALWAYS

Always drawn

public static final ProgramStore.DepthFunc EQUAL

Drawn if the incoming depth value is equal to that in the depth buffer

public static final ProgramStore.DepthFunc GREATER

Drawn if the incoming depth value is greater than that in the depth buffer

public static final ProgramStore.DepthFunc GREATER_OR_EQUAL

Drawn if the incoming depth value is greater or equal to that in the depth buffer

public static final ProgramStore.DepthFunc LESS

Drawn if the incoming depth value is less than that in the depth buffer

public static final ProgramStore.DepthFunc LESS_OR_EQUAL

Drawn if the incoming depth value is less or equal to that in the depth buffer

public static final ProgramStore.DepthFunc NOT_EQUAL

Drawn if the incoming depth value is not equal to that in the depth buffer

Public Methods

public static ProgramStore.DepthFunc valueOf (String name)

Since: API Level 11

public static final DepthFunc[] values ()

Since: API Level 11