|
cgv
|
Represents a blend state used to configure fragment blending. More...
#include <context.h>
Public Attributes | |
| bool | enabled = false |
| whether blending is enabled | |
| BlendFunction | src_color = BF_ZERO |
| the source color (rgb) factor | |
| BlendFunction | dst_color = BF_ZERO |
| the destination color (rgb) factor | |
| BlendFunction | src_alpha = BF_ZERO |
| the source alpha factor | |
| BlendFunction | dst_alpha = BF_ZERO |
| the destination alpha factor | |
Represents a blend state used to configure fragment blending.
| BlendFunction cgv::render::context::BlendState::dst_alpha = BF_ZERO |
the destination alpha factor
Definition at line 706 of file context.h.
Referenced by cgv::render::context::set_blend_func(), cgv::render::context::set_blend_func_separate(), and cgv::render::gl::gl_context::set_blend_state().
| BlendFunction cgv::render::context::BlendState::dst_color = BF_ZERO |
the destination color (rgb) factor
Definition at line 702 of file context.h.
Referenced by cgv::render::context::set_blend_func(), cgv::render::context::set_blend_func_separate(), and cgv::render::gl::gl_context::set_blend_state().
| bool cgv::render::context::BlendState::enabled = false |
whether blending is enabled
Definition at line 698 of file context.h.
Referenced by cgv::render::gl::gl_context::set_blend_state().
| BlendFunction cgv::render::context::BlendState::src_alpha = BF_ZERO |
the source alpha factor
Definition at line 704 of file context.h.
Referenced by cgv::render::context::set_blend_func(), cgv::render::context::set_blend_func_separate(), and cgv::render::gl::gl_context::set_blend_state().
| BlendFunction cgv::render::context::BlendState::src_color = BF_ZERO |
the source color (rgb) factor
Definition at line 700 of file context.h.
Referenced by cgv::render::context::set_blend_func(), cgv::render::context::set_blend_func_separate(), and cgv::render::gl::gl_context::set_blend_state().