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

Method GetMaximumTextureSize

Rendering/OpenGL2/vtkTextureObject.cxx:2195–2204  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

2193
2194//------------------------------------------------------------------------------
2195int vtkTextureObject::GetMaximumTextureSize(vtkOpenGLRenderWindow* context)
2196{
2197 int maxSize = -1;
2198 if (context)
2199 {
2200 context->GetState()->vtkglGetIntegerv(GL_MAX_TEXTURE_SIZE, &maxSize);
2201 }
2202
2203 return maxSize;
2204}
2205
2206//------------------------------------------------------------------------------
2207int vtkTextureObject::GetMaximumTextureSize3D(vtkOpenGLRenderWindow* context)

Callers

nothing calls this directly

Calls 2

vtkglGetIntegervMethod · 0.80
GetStateMethod · 0.45

Tested by

no test coverage detected