@@ -130,6 +130,17 @@ export interface vtkAbstractImageMapper extends vtkAbstractMapper3D {
130130 * Only set this property if your opacity function range width is
131131 * larger than 1024.
132132 *
133+ * A reasonable max texture size would be either 2048 or 4096, as those
134+ * widths are supported by the vast majority of devices. Any width larger
135+ * than that will have issues with device support.
136+ *
137+ * Specifying a width that is less than or equal to 0 will use the largest
138+ * possible texture width on the device. Use this with caution! The max texture
139+ * width of one device may not be the same for another device.
140+ *
141+ * You can find more information about supported texture widths at the following link:
142+ * https://web3dsurvey.com/webgl/parameters/MAX_TEXTURE_SIZE
143+ *
133144 * @param {Number } width the texture width (defaults to 1024)
134145 */
135146 setOpacityTextureWidth ( width : number ) : boolean ;
@@ -146,6 +157,17 @@ export interface vtkAbstractImageMapper extends vtkAbstractMapper3D {
146157 * Only set this property if your color transfer function range width is
147158 * larger than 1024.
148159 *
160+ * A reasonable max texture size would be either 2048 or 4096, as those
161+ * widths are supported by the vast majority of devices. Any width larger
162+ * than that will have issues with device support.
163+ *
164+ * Specifying a width that is less than or equal to 0 will use the largest
165+ * possible texture width on the device. Use this with caution! The max texture
166+ * width of one device may not be the same for another device.
167+ *
168+ * You can find more information about supported texture widths at the following link:
169+ * https://web3dsurvey.com/webgl/parameters/MAX_TEXTURE_SIZE
170+ *
149171 * @param {Number } width the texture width (defaults to 1024)
150172 */
151173 setColorTextureWidth ( width : number ) : boolean ;
@@ -162,6 +184,17 @@ export interface vtkAbstractImageMapper extends vtkAbstractMapper3D {
162184 * Only set this property if you have more than 1024 labels
163185 * that you want to render with thickness.
164186 *
187+ * A reasonable max texture size would be either 2048 or 4096, as those
188+ * widths are supported by the vast majority of devices. Any width larger
189+ * than that will have issues with device support.
190+ *
191+ * Specifying a width that is less than or equal to 0 will use the largest
192+ * possible texture width on the device. Use this with caution! The max texture
193+ * width of one device may not be the same for another device.
194+ *
195+ * You can find more information about supported texture widths at the following link:
196+ * https://web3dsurvey.com/webgl/parameters/MAX_TEXTURE_SIZE
197+ *
165198 * @param {Number } width the texture width (defaults to 1024)
166199 */
167200 setLabelOutlineTextureWidth ( width : number ) : boolean ;
0 commit comments