MCPcopy Create free account
hub / github.com/deathkiller/jazz2-native / DetachTexture

Method DetachTexture

Sources/nCine/Graphics/GL/GLFramebuffer.cpp:111–116  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

109 }
110
111 void GLFramebuffer::DetachTexture(GLenum attachment)
112 {
113 Bind(GL_FRAMEBUFFER);
114 glFramebufferTexture2D(GL_FRAMEBUFFER, attachment, GL_TEXTURE_2D, 0, 0);
115 GL_LOG_ERRORS();
116 }
117
118#if !(defined(DEATH_TARGET_APPLE) && defined(DEATH_TARGET_ARM))
119 void GLFramebuffer::Invalidate(GLsizei numAttachments, const GLenum* attachments)

Callers 2

SetTextureMethod · 0.80
RemoveAllTexturesMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected