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

Method GetDataType

Rendering/OpenGL2/vtkTextureObject.cxx:895–903  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

893
894//------------------------------------------------------------------------------
895int vtkTextureObject::GetDataType(int vtk_scalar_type)
896{
897 if (!this->Type)
898 {
899 this->Type = this->GetDefaultDataType(vtk_scalar_type);
900 }
901
902 return this->Type;
903}
904
905//------------------------------------------------------------------------------
906void vtkTextureObject::SetDataType(unsigned int glType)

Callers 15

Create1DFromRawMethod · 0.95
CreateTextureBufferMethod · 0.95
Create3DFromRawMethod · 0.95
Create2DFromRawMethod · 0.95
Create2DArrayFromRawMethod · 0.95
CreateCubeFromRawMethod · 0.95
CreateDepthFromRawMethod · 0.95
Allocate1DMethod · 0.95
Allocate2DMethod · 0.95
Allocate3DMethod · 0.95

Calls 1

GetDefaultDataTypeMethod · 0.95

Tested by 2

MagnitudeFunction · 0.36
ImageDataLIC2DFunction · 0.36