Skip to content

Commit

Permalink
Correction to docs regarding RenderTarget.mipLevel (#7158)
Browse files Browse the repository at this point in the history
Co-authored-by: Martin Valigursky <[email protected]>
  • Loading branch information
mvaligursky and Martin Valigursky authored Dec 2, 2024
1 parent 6377a9b commit a04f4e7
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/platform/graphics/render-target.js
Original file line number Diff line number Diff line change
Expand Up @@ -122,8 +122,7 @@ class RenderTarget {
* ignored. Texture must have {@link PIXELFORMAT_DEPTH} or {@link PIXELFORMAT_DEPTHSTENCIL}
* format.
* @param {number} [options.mipLevel] - If set to a number greater than 0, the render target
* will render to the specified mip level of the color buffer. Defaults to 0. Currently only
* supported on WebGPU.
* will render to the specified mip level of the color buffer. Defaults to 0.
* @param {number} [options.face] - If the colorBuffer parameter is a cubemap, use this option
* to specify the face of the cubemap to render to. Can be:
*
Expand Down

0 comments on commit a04f4e7

Please sign in to comment.