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

Method getResource

source/globjects/source/Program.cpp:300–305  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

298}
299
300void Program::getResource(gl::GLenum programInterface, gl::GLuint index, gl::GLsizei propCount, const gl::GLenum * props, gl::GLsizei bufSize, gl::GLsizei * length, gl::GLint * params) const
301{
302 checkDirty();
303
304 glGetProgramResourceiv(id(), programInterface, index, propCount, props, bufSize, length, params);
305}
306
307gl::GLint Program::getResourceLocation(gl::GLenum programInterface, const std::string & name) const
308{

Callers

nothing calls this directly

Calls 3

resizeMethod · 0.80
dataMethod · 0.80
sizeMethod · 0.45

Tested by

no test coverage detected