MCPcopy Create free account
hub / github.com/SpartanJ/eepp / framebufferTexture2D

Method framebufferTexture2D

src/eepp/graphics/renderer/renderer.cpp:765–775  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

763}
764
765void Renderer::framebufferTexture2D( unsigned int target, unsigned int attachment,
766 unsigned int textarget, unsigned int texture, int level ) {
767 static pglFramebufferTexture2D eeglFramebufferTexture2D = NULL;
768
769 if ( NULL == eeglFramebufferTexture2D )
770 eeglFramebufferTexture2D =
771 (pglFramebufferTexture2D)getProcAddress( "glFramebufferTexture2D" );
772
773 if ( NULL != eeglFramebufferTexture2D )
774 eeglFramebufferTexture2D( target, attachment, textarget, texture, level );
775}
776
777void Renderer::genRenderbuffers( int n, unsigned int* renderbuffers ) {
778 static pglGenRenderbuffers eeglGenRenderbuffers = NULL;

Callers 2

iLockMethod · 0.80
createMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected