MCPcopy Create free account
hub / github.com/MeshInspector/MeshLib / bindTexture

Method bindTexture

source/MRViewer/MRRenderGLHelpers.cpp:234–240  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

232}
233
234void FramebufferData::bindTexture( bool color, bool depth )
235{
236 if ( color )
237 resColorTexture_.bind();
238 if ( depth && resDepthTexture_.valid() )
239 resDepthTexture_.bind();
240}
241
242void FramebufferData::copyTextureBindDef()
243{

Callers 2

renderToImageFunction · 0.80

Calls 2

bindMethod · 0.45
validMethod · 0.45

Tested by

no test coverage detected