MCPcopy Create free account
hub / github.com/Kitware/VTK / DownloadColor4

Method DownloadColor4

Rendering/OpenGL2/vtkOpenGLFramebufferObject.cxx:1398–1403  ·  view source on GitHub ↗

------------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

1396
1397//------------------------------------------------------------------------------
1398vtkPixelBufferObject* vtkOpenGLFramebufferObject::DownloadColor4(int extent[4], int vtkType)
1399{
1400 assert(this->Context);
1401
1402 return this->Download(extent, vtkType, 4, this->GetOpenGLType(vtkType), GL_RGBA);
1403}
1404
1405//------------------------------------------------------------------------------
1406vtkPixelBufferObject* vtkOpenGLFramebufferObject::DownloadColor3(int extent[4], int vtkType)

Callers

nothing calls this directly

Calls 3

DownloadMethod · 0.95
GetOpenGLTypeMethod · 0.95
assertFunction · 0.50

Tested by

no test coverage detected