Skip to content

Commit c65bbf6

Browse files
sedghifinetjul
authored andcommitted
feat(OpenGLTexture): add setUseHalfFloat method
1 parent 59fb322 commit c65bbf6

File tree

1 file changed

+5
-0
lines changed
  • Sources/Rendering/OpenGL/Texture

1 file changed

+5
-0
lines changed

Sources/Rendering/OpenGL/Texture/index.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1846,6 +1846,11 @@ function vtkOpenGLTexture(publicAPI, model) {
18461846

18471847
return -1;
18481848
};
1849+
1850+
// set use half float
1851+
publicAPI.setUseHalfFloat = (use) => {
1852+
model.useHalfFloat = use;
1853+
};
18491854
}
18501855

18511856
// ----------------------------------------------------------------------------

0 commit comments

Comments
 (0)