Represents a buffer mask used to mask depth and color buffer outputs.
More...
#include <context.h>
|
bool | depth_flag = true |
| whether to write to the depth buffer if the depth test is enabled
|
|
bool | red_flag = true |
| whether to write to the red channel of the color buffer
|
|
bool | green_flag = true |
| whether to write to the green channel of the color buffer
|
|
bool | blue_flag = true |
| whether to write to the blue channel of the color buffer
|
|
bool | alpha_flag = true |
| whether to write to the alpha channel of the color buffer
|
|
Represents a buffer mask used to mask depth and color buffer outputs.
Definition at line 660 of file context.h.
◆ alpha_flag
bool cgv::render::context::BufferMask::alpha_flag = true |
whether to write to the alpha channel of the color buffer
Definition at line 670 of file context.h.
◆ blue_flag
bool cgv::render::context::BufferMask::blue_flag = true |
whether to write to the blue channel of the color buffer
Definition at line 668 of file context.h.
◆ depth_flag
bool cgv::render::context::BufferMask::depth_flag = true |
whether to write to the depth buffer if the depth test is enabled
Definition at line 662 of file context.h.
◆ green_flag
bool cgv::render::context::BufferMask::green_flag = true |
whether to write to the green channel of the color buffer
Definition at line 666 of file context.h.
◆ red_flag
bool cgv::render::context::BufferMask::red_flag = true |
whether to write to the red channel of the color buffer
Definition at line 664 of file context.h.
The documentation for this struct was generated from the following file: