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

Method Download

Rendering/OpenGL2/vtkOpenGLFramebufferObject.cxx:1439–1448  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

1437
1438//------------------------------------------------------------------------------
1439vtkPixelBufferObject* vtkOpenGLFramebufferObject::Download(
1440 int extent[4], int vtkType, int nComps, int oglType, int oglFormat)
1441{
1442 vtkPixelBufferObject* pbo = vtkPixelBufferObject::New();
1443 pbo->SetContext(this->Context);
1444
1445 vtkOpenGLFramebufferObject::Download(extent, vtkType, nComps, oglType, oglFormat, pbo);
1446
1447 return pbo;
1448}
1449//------------------------------------------------------------------------------
1450void vtkOpenGLFramebufferObject::Download(
1451 int extent[4], int vtkType, int nComps, int oglType, int oglFormat, vtkPixelBufferObject* pbo)

Callers 4

DownloadDepthMethod · 0.95
DownloadColor4Method · 0.95
DownloadColor3Method · 0.95
DownloadColor1Method · 0.95

Calls 8

vtkglPixelStoreiMethod · 0.80
NewFunction · 0.50
SetContextMethod · 0.45
AllocateMethod · 0.45
BindMethod · 0.45
GetStateMethod · 0.45
GetContextMethod · 0.45
UnBindMethod · 0.45

Tested by

no test coverage detected