MCPcopy Index your code
hub / github.com/ad-si/LuaCAD / find

Method find

OpenCSG/src/channelManager.cpp:257–275  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

255 }
256
257 Channel ChannelManager::find() const {
258
259 Channel channel = NoChannel;
260
261 // find free channel
262 if ((mOccupiedChannels & Alpha) == 0) {
263 channel = Alpha;
264 } else if (OPENCSG_HAS_EXT(ARB_texture_env_dot3) || GLAD_GL_VERSION_1_3) {
265 if ((mOccupiedChannels & Red) == 0) {
266 channel = Red;
267 } else if ((mOccupiedChannels & Green) == 0) {
268 channel = Green;
269 } else if ((mOccupiedChannels & Blue) == 0) {
270 channel = Blue;
271 }
272 }
273
274 return channel;
275 }
276
277 Channel ChannelManager::request() {
278 if (!mInOffscreenBuffer) {

Callers 10

getARBProgramFunction · 0.80
getGLSLProgramFunction · 0.80
freeResourcesFunction · 0.80
getRenderDataFunction · 0.80
getChannelManagerFunction · 0.80
mainFunction · 0.80
render_uiFunction · 0.80
apply_editor_actionFunction · 0.80
yFunction · 0.80
highlight.min.jsFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected