MCPcopy Create free account
hub / github.com/defold/defold / SetBlendFunc

Function SetBlendFunc

engine/graphics/src/graphics.cpp:2249–2252  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2247 g_functions.m_DisableState(context, state);
2248 }
2249 void SetBlendFunc(HContext context, BlendFactor source_factor, BlendFactor destinaton_factor)
2250 {
2251 g_functions.m_SetBlendFunc(context, source_factor, destinaton_factor);
2252 }
2253 void SetBlendFuncSeparate(HContext context, BlendFactor src_factor_color, BlendFactor dst_factor_color, BlendFactor src_factor_alpha, BlendFactor dst_factor_alpha)
2254 {
2255 g_functions.m_SetBlendFuncSeparate(context, src_factor_color, dst_factor_color, src_factor_alpha, dst_factor_alpha);

Callers 4

RenderProfilerFunction · 0.85
TEST_FFunction · 0.85
ParseCommandsFunction · 0.85
RunFunction · 0.85

Calls

no outgoing calls

Tested by 2

TEST_FFunction · 0.68
RunFunction · 0.68