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

Method ClearBuffers

GTE/Graphics/GL46/GL46Engine.cpp:945–951  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

943}
944
945void GL46Engine::ClearBuffers()
946{
947 glClearColor(mClearColor[0], mClearColor[1], mClearColor[2], mClearColor[3]);
948 glClearDepth(mClearDepth);
949 glClearStencil(static_cast<GLint>(mClearStencil));
950 glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT | GL_STENCIL_BUFFER_BIT);
951}
952
953void GL46Engine::SetBlendState(std::shared_ptr<BlendState> const& state)
954{

Callers 15

UpdateFacesMethod · 0.45
OnIdleMethod · 0.45
OnIdleMethod · 0.45
OnIdleMethod · 0.45
OnIdleMethod · 0.45
OnIdleMethod · 0.45
OnIdleMethod · 0.45
OnIdleMethod · 0.45
OnIdleMethod · 0.45
OnIdleMethod · 0.45
OnIdleMethod · 0.45
OnIdleMethod · 0.45

Calls 4

glClearColorFunction · 0.85
glClearDepthFunction · 0.85
glClearStencilFunction · 0.85
glClearFunction · 0.85

Tested by

no test coverage detected