Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/defold/defold
/ GetGraphicsContext
Function
GetGraphicsContext
engine/render/src/render/render.cpp:338–341 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
336
}
337
338
dmGraphics::HContext GetGraphicsContext(HRenderContext render_context)
339
{
340
return render_context->m_GraphicsContext;
341
}
342
343
const Matrix4& GetViewProjectionMatrix(HRenderContext render_context)
344
{
Callers
15
Draw
Function · 0.85
TEST_F
Function · 0.85
ApplyProgramSampler
Function · 0.85
NewMaterial
Function · 0.85
ApplyMaterialConstants
Function · 0.85
SetMaterialProgramAttributes
Function · 0.85
ParseCommands
Function · 0.85
ApplyNamedConstantBuffer
Function · 0.85
ApplyComputeProgramConstants
Function · 0.85
GetRenderCameraEffectiveAspectRatio
Function · 0.85
UpdateRenderCamera
Function · 0.85
CameraScreenToWorld
Function · 0.85
Calls
no outgoing calls
Tested by
1
TEST_F
Function · 0.68