BlitMaterial
Inherits: Material < Resource < RefCounted < Object
Description
Section titled “Description”A material that processes blit calls to a DrawableTexture.
A material resource that can be used by DrawableTextures when processing blit calls to draw.
Properties
Section titled “Properties”| Type | Name | Default |
|---|---|---|
| BlendMode | blend_mode |
0 |
Enumerations
Section titled “Enumerations”BlendMode
enum BlendMode
BLEND_MODE_MIX = 0
Mix blending mode. Colors are assumed to be independent of the alpha (opacity) value.
BLEND_MODE_ADD = 1
Additive blending mode.
BLEND_MODE_SUB = 2
Subtractive blending mode.
BLEND_MODE_MUL = 3
Multiplicative blending mode.
BLEND_MODE_DISABLED = 4
No blending mode, direct color copy.
BLEND_MODE_PREMULTIPLIED_ALPHA = 5
Mix blending mode. Colors are assumed to be premultiplied by the alpha (opacity) value.
Property descriptions
Section titled “Property descriptions”blend_mode
BlendMode blend_mode = 0
The manner in which the newly blitted texture is blended with the original DrawableTexture.
