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

Method SetFormat

Rendering/OpenGL2/vtkTextureObject.cxx:840–847  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

838
839//------------------------------------------------------------------------------
840void vtkTextureObject::SetFormat(unsigned int glFormat)
841{
842 if (this->Format != glFormat)
843 {
844 this->Format = glFormat;
845 this->Modified();
846 }
847}
848
849//------------------------------------------------------------------------------
850void vtkTextureObject::ResetFormatAndType()

Callers 15

InitColorTextureMethod · 0.45
InitDepthTextureMethod · 0.45
CreateGLObjectsMethod · 0.45
RenderMethod · 0.45
LoadMethod · 0.45
LoadMethod · 0.45
LoadMethod · 0.45
SetupBuffersMethod · 0.45
LoadMethod · 0.45
CreateBlocksMethod · 0.45
UpdateFunction · 0.45

Calls 1

ModifiedMethod · 0.45

Tested by 1

TestComputeTextureFunction · 0.36