mirror of
https://github.com/godotengine/godot.git
synced 2025-10-19 16:03:29 +00:00
Merge pull request #110213 from BlueCube3310/image-alpha-doc
Image: Improve `AlphaMode` documentation
This commit is contained in:
commit
5f82f131d4
1 changed files with 3 additions and 3 deletions
|
@ -783,13 +783,13 @@
|
|||
Performs Lanczos interpolation. This is the slowest image resizing mode, but it typically gives the best results, especially when downscaling images.
|
||||
</constant>
|
||||
<constant name="ALPHA_NONE" value="0" enum="AlphaMode">
|
||||
Image does not have alpha.
|
||||
Image is fully opaque. It does not store alpha data.
|
||||
</constant>
|
||||
<constant name="ALPHA_BIT" value="1" enum="AlphaMode">
|
||||
Image stores alpha in a single bit.
|
||||
Image stores either fully opaque or fully transparent pixels. Also known as punchthrough alpha.
|
||||
</constant>
|
||||
<constant name="ALPHA_BLEND" value="2" enum="AlphaMode">
|
||||
Image uses alpha.
|
||||
Image stores alpha data with values varying between [code]0.0[/code] and [code]1.0[/code].
|
||||
</constant>
|
||||
<constant name="COMPRESS_S3TC" value="0" enum="CompressMode">
|
||||
Use S3TC compression.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue