MCPcopy Create free account
hub / github.com/davideberly/GeometricTools / GetViewport

Method GetViewport

GTE/Graphics/GL46/GL46Engine.cpp:894–902  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

892}
893
894void GL46Engine::GetViewport(int32_t& x, int32_t& y, int32_t& w, int32_t& h) const
895{
896 int32_t param[4];
897 glGetIntegerv(GL_VIEWPORT, param);
898 x = param[0];
899 y = param[1];
900 w = param[2];
901 h = param[3];
902}
903
904void GL46Engine::SetDepthRange(float zmin, float zmax)
905{

Callers 6

OnMouseClickMethod · 0.45
DoPickMethod · 0.45
OnMouseDownMethod · 0.45
OnMouseMoveMethod · 0.45
DoPickMethod · 0.45
OnMouseClickMethod · 0.45

Calls 1

glGetIntegervFunction · 0.85

Tested by

no test coverage detected