Update RenderTargetConfig.js

This commit is contained in:
Richard Davey 2021-10-11 17:04:20 +01:00
parent d32badabf5
commit e26eb49769

View file

@ -3,6 +3,8 @@
* @since 3.50.0
*
* @property {number} [scale=1] - A value between 0 and 1. Controls the size of this Render Target in relation to the Renderer. A value of 1 matches it. 0.5 makes the Render Target half the size of the renderer, etc.
* @property {number} [minFilter=0] -The minFilter mode of the texture. 0 is `LINEAR`, 1 is `NEAREST`.
* @property {number} [minFilter=0] - The minFilter mode of the texture. 0 is `LINEAR`, 1 is `NEAREST`.
* @property {boolean} [autoClear=true] - Controls if this Render Target is automatically cleared (via `gl.COLOR_BUFFER_BIT`) during the bind.
* @property {number} [width] - The width of the Render Target. This is optional, but if given along with `height` it overrides the `scale` property.
* @property {number} [height] - The height of the Render Target. This is optional, but if given along with `width` it overrides the `scale` property.
*/