Skip to content

Commit

Permalink
Merge pull request #54230 from Calinou/doc-image-format-r8-gles2
Browse files Browse the repository at this point in the history
  • Loading branch information
akien-mga authored Oct 25, 2021
2 parents a1b282c + 059ba23 commit 8288988
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions doc/classes/Image.xml
Original file line number Diff line number Diff line change
Expand Up @@ -434,6 +434,7 @@
</constant>
<constant name="FORMAT_R8" value="2" enum="Format">
OpenGL texture format [code]RED[/code] with a single component and a bitdepth of 8.
[b]Note:[/b] When using the GLES2 backend, this uses the alpha channel instead of the red channel for storage.
</constant>
<constant name="FORMAT_RG8" value="3" enum="Format">
OpenGL texture format [code]RG[/code] with two components and a bitdepth of 8 for each.
Expand Down

0 comments on commit 8288988

Please sign in to comment.