Attention: Here be dragons
This is the latest
(unstable) version of this documentation, which may document features
not available in or compatible with released stable versions of Godot.
Checking the stable version of the documentation...
BlitMaterial
继承: Material < Resource < RefCounted < Object
一种用于处理向 DrawableTexture 执行位块传输调用的材质。
描述
一种可供 DrawableTextures 在处理位块传输调用时使用的材质资源。
属性
|
枚举
enum BlendMode: 🔗
BlendMode BLEND_MODE_MIX = 0
混合混合模式。假设颜色与 Alpha 值(不透明度)无关。
BlendMode BLEND_MODE_ADD = 1
添加混合模式。
BlendMode BLEND_MODE_SUB = 2
减去混合模式。
BlendMode BLEND_MODE_MUL = 3
正片叠底混合模式。
BlendMode BLEND_MODE_DISABLED = 4
无混合模式,直接进行颜色复制。
属性说明
新执行位块传输的纹理与原始 DrawableTexture 进行混合的方式。