Changeset View
Changeset View
Standalone View
Standalone View
source/blender/gpu/GPU_state.h
| Show All 23 Lines | |||||
| typedef enum eGPUWriteMask { | typedef enum eGPUWriteMask { | ||||
| GPU_WRITE_NONE = 0, | GPU_WRITE_NONE = 0, | ||||
| GPU_WRITE_RED = (1 << 0), | GPU_WRITE_RED = (1 << 0), | ||||
| GPU_WRITE_GREEN = (1 << 1), | GPU_WRITE_GREEN = (1 << 1), | ||||
| GPU_WRITE_BLUE = (1 << 2), | GPU_WRITE_BLUE = (1 << 2), | ||||
| GPU_WRITE_ALPHA = (1 << 3), | GPU_WRITE_ALPHA = (1 << 3), | ||||
| GPU_WRITE_DEPTH = (1 << 4), | GPU_WRITE_DEPTH = (1 << 4), | ||||
| GPU_WRITE_STENCIL = (1 << 5), | |||||
| GPU_WRITE_COLOR = (GPU_WRITE_RED | GPU_WRITE_GREEN | GPU_WRITE_BLUE | GPU_WRITE_ALPHA), | GPU_WRITE_COLOR = (GPU_WRITE_RED | GPU_WRITE_GREEN | GPU_WRITE_BLUE | GPU_WRITE_ALPHA), | ||||
| } eGPUWriteMask; | } eGPUWriteMask; | ||||
| ENUM_OPERATORS(eGPUWriteMask) | ENUM_OPERATORS(eGPUWriteMask) | ||||
| /** | /** | ||||
| * Defines the fixed pipeline blending equation. | * Defines the fixed pipeline blending equation. | ||||
| * SRC is the output color from the shader. | * SRC is the output color from the shader. | ||||
| ▲ Show 20 Lines • Show All 118 Lines • Show Last 20 Lines | |||||