MCPcopy Create free account
hub / github.com/Tencent/tgfx / getGLFramebufferInfo

Method getGLFramebufferInfo

src/gpu/Backend.cpp:80–86  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

78}
79
80bool BackendRenderTarget::getGLFramebufferInfo(GLFrameBufferInfo* glFrameBufferInfo) const {
81 if (!isValid() || _backend != Backend::OPENGL) {
82 return false;
83 }
84 *glFrameBufferInfo = glInfo;
85 return true;
86}
87
88bool BackendRenderTarget::getMtlTextureInfo(MtlTextureInfo* mtlTextureInfo) const {
89 if (!isValid() || _backend != Backend::METAL) {

Callers 3

onDrawMethod · 0.80
importExternalTextureMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected