File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Sources/Rendering/OpenGL/Texture Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -244,8 +244,8 @@ export interface vtkOpenGLTexture extends vtkViewNode {
244
244
* @param numComps The number of components in the texture.
245
245
* @param dataType The data type of the texture.
246
246
* @param data The raw data for the texture.
247
- * @param preferSizeOverAccuracy Whether to prefer texture size over accuracy.
248
- * @param ranges The ranges of the data (optional).
247
+ * @param [ preferSizeOverAccuracy=false] Whether to prefer texture size over accuracy. Defaults to false .
248
+ * @param [ ranges] The ranges of the data (optional).
249
249
* @returns {boolean } True if the texture was successfully created, false otherwise.
250
250
*/
251
251
create2DFilterableFromRaw (
@@ -254,7 +254,7 @@ export interface vtkOpenGLTexture extends vtkViewNode {
254
254
numComps : number ,
255
255
dataType : VtkDataTypes ,
256
256
data : any ,
257
- preferSizeOverAccuracy : boolean ,
257
+ preferSizeOverAccuracy ? : boolean ,
258
258
ranges ?: vtkRange [ ]
259
259
) : boolean ;
260
260
You can’t perform that action at this time.
0 commit comments