java.lang.Object | ||
↳ | java.lang.Enum<E extends java.lang.Enum<E>> | |
↳ | android.renderscript.ProgramStore.DepthFunc |
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
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 | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() | |||||||||||
![]() | |||||||||||
![]() |
Drawn if the incoming depth value is equal to that in the depth buffer
Drawn if the incoming depth value is greater than that in the depth buffer
Drawn if the incoming depth value is greater or equal to that in the depth buffer
Drawn if the incoming depth value is less than that in the depth buffer
Drawn if the incoming depth value is less or equal to that in the depth buffer
Drawn if the incoming depth value is not equal to that in the depth buffer