PIXELKILLREASON enumeration
An enum used to indicate why a pixel was rejected.
Syntax
enum PIXELKILLREASON { PKR_NONE = 0,
PKR_SHADERKILL,
PKR_SCISSORTEST,
PKR_ALPHATEST,
PKR_STENCILTEST,
PKR_DEPTHTEST,
PKR_NOTCOMPUTABLE,
PKR_ERROR,
PKR_NOINTERSECTION,
PKR_OCCLUDED,
PKR_DEPTHSTENCILTEST
};
Constants
- PKR_NONE
-
A value that indicates that the pixel was not rejected.
- PKR_SHADERKILL
-
A value that indicates that the pixel was rejected because the shader didn't run.
- PKR_SCISSORTEST
-
A value that indicates that the pixel was rejected because the scissor test failed.
- PKR_ALPHATEST
-
A value that indicates that the pixel was rejected because the alpha test failed.
- PKR_STENCILTEST
-
A value that indicates that the pixel was rejected because the stencil test failed.
- PKR_DEPTHTEST
-
A value that indicates that the pixel was rejected because the depth test failed.
- PKR_NOTCOMPUTABLE
-
A value that indicates that the pixel history can't be computed.
- PKR_ERROR
-
A value that indicates that the pixel was rejected because of a general error.
- PKR_NOINTERSECTION
-
A value that indicates that the pixel was rejected because the draw call does not intersect the pixel.
- PKR_OCCLUDED
-
A value that indicates that the pixel was rejected because the draw was occluded.
- PKR_DEPTHSTENCILTEST
-
A value that indicates that the pixel was rejected because the depth and stencil test failed.
Requirements
|
Header |
|
|---|