MCPcopy Create free account
hub / github.com/cginternals/globjects / getImage

Method getImage

source/globjects/source/Texture.cpp:168–173  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

166}
167
168void Texture::getImage(const GLint level, const GLenum format, const GLenum type, GLvoid * image) const
169{
170 bind();
171
172 glGetTexImage(m_target, level, format, type, image);
173}
174
175std::vector<unsigned char> Texture::getImage(const GLint level, const GLenum format, const GLenum type) const
176{

Callers

nothing calls this directly

Calls 2

imageSizeInBytesFunction · 0.85
dataMethod · 0.80

Tested by

no test coverage detected