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

Function Clear

engine/graphics/src/graphics.cpp:2073–2076  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2071 g_functions.m_Flip(context);
2072 }
2073 void Clear(HContext context, uint32_t flags, uint8_t red, uint8_t green, uint8_t blue, uint8_t alpha, float depth, uint32_t stencil)
2074 {
2075 g_functions.m_Clear(context, flags, red, green, blue, alpha, depth, stencil);
2076 }
2077 HVertexBuffer NewVertexBuffer(HContext context, uint32_t size, const void* data, BufferUsage buffer_usage)
2078 {
2079 return g_functions.m_NewVertexBuffer(context, size, data, buffer_usage);

Callers 12

ConnectionMethod · 0.85
engine.cppFile · 0.85
StepFrameFunction · 0.85
BufferMethod · 0.85
ParseCommandsFunction · 0.85
ApplyRenderStateFunction · 0.85
SetUpMethod · 0.85
RunFunction · 0.85
TEST_FFunction · 0.85
ExecuteMethod · 0.85
ExecuteMethod · 0.85
ExecuteMethod · 0.85

Calls

no outgoing calls

Tested by 6

SetUpMethod · 0.68
RunFunction · 0.68
TEST_FFunction · 0.68
ExecuteMethod · 0.68
ExecuteMethod · 0.68
ExecuteMethod · 0.68