MCPcopy Create free account
hub / github.com/c3d/tao3D / frameBufferObjectToTexture

Method frameBufferObjectToTexture

tao/frame.cpp:500–507  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

498
499
500unsigned int FrameInfo::frameBufferObjectToTexture(ModuleApi::fbo * obj)
501// ----------------------------------------------------------------------------
502// Make framebuffer available as a texture
503// ----------------------------------------------------------------------------
504{
505 unsigned int tex = ((FrameInfo *)obj)->bind();
506 return tex;
507}
508
509
510unsigned int FrameInfo::frameBufferAttachmentToTexture(ModuleApi::fbo * obj,

Callers

nothing calls this directly

Calls 1

bindMethod · 0.45

Tested by

no test coverage detected