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

Method GetMultiSamples

Rendering/OpenGL2/vtkOpenGLFramebufferObject.cxx:1472–1483  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1470}
1471
1472int vtkOpenGLFramebufferObject::GetMultiSamples()
1473{
1474 int abuff = this->ActiveBuffers[0];
1475 foIter colorBufferIt = this->ColorBuffers.find(abuff);
1476 if (colorBufferIt == this->ColorBuffers.end())
1477 {
1478 // vtkFOInfo::GetSamples() returns 0 if no Texture and Renderbuffer is set,
1479 // therefore we return the same value if no active framebuffer object is found
1480 return 0;
1481 }
1482 return colorBufferIt->second->GetSamples();
1483}
1484
1485bool vtkOpenGLFramebufferObject::PopulateFramebuffer(int width, int height)
1486{

Callers 13

RenderMethod · 0.80
RenderMethod · 0.80
CopyFromFrameBufferMethod · 0.80
BeginSelectionMethod · 0.80
RenderMethod · 0.80
RenderMethod · 0.80
StartFrameMethod · 0.80
RenderMethod · 0.80
PreRenderProcessingMethod · 0.80
BeginMethod · 0.80

Calls 2

findMethod · 0.45
endMethod · 0.45

Tested by 1