MCPcopy Create free account
hub / github.com/MBU-Team/OpenMBU / updateStates

Method updateStates

engine/source/gfx/gfxDevice.cpp:313–576  ·  view source on GitHub ↗

NOTE: I changed the ordering of state setting in this function because OpenGL is going to store texture filtering etc along with the texture object itself so if the texture got set *after* the sampler states, it would ice the sampler states it just set. If this causes problems, talk to patw

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 5

beginRectUpdatesMethod · 0.80
doRectUpdateMethod · 0.80
finishRectUpdatesMethod · 0.80
setVideoModeMethod · 0.80
renderMethod · 0.80

Calls 4

setMatrixFunction · 0.85
setToTexUnitMethod · 0.80
isValidMethod · 0.45
prepareMethod · 0.45

Tested by

no test coverage detected