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

Function EnableProgram

engine/graphics/src/graphics.cpp:2182–2185  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2180 return g_functions.m_IsShaderLanguageSupported(context, language, shader_type);
2181 }
2182 void EnableProgram(HContext context, HProgram program)
2183 {
2184 g_functions.m_EnableProgram(context, program);
2185 }
2186 void DisableProgram(HContext context)
2187 {
2188 g_functions.m_DisableProgram(context);

Callers 9

TEST_FFunction · 0.85
TEST_FFunction · 0.85
DispatchComputeFunction · 0.85
DrawFunction · 0.85
TEST_FFunction · 0.85
ExecuteMethod · 0.85
ExecuteMethod · 0.85
ExecuteMethod · 0.85
ExecuteMethod · 0.85

Calls

no outgoing calls

Tested by 7

TEST_FFunction · 0.68
TEST_FFunction · 0.68
TEST_FFunction · 0.68
ExecuteMethod · 0.68
ExecuteMethod · 0.68
ExecuteMethod · 0.68
ExecuteMethod · 0.68