GPUBlendState
class GPUBlendState
Defines the blending configuration for a color attachment.
Summary
Public constructors |
|---|
GPUBlendState(color: GPUBlendComponent, alpha: GPUBlendComponent) |
Public properties |
|
|---|---|
GPUBlendComponent |
The blend component for the alpha channel. |
GPUBlendComponent |
The blend component for the RGB channels. |
Public constructors
GPUBlendState
Added in 1.0.0-alpha05
GPUBlendState(
color: GPUBlendComponent = GPUBlendComponent(),
alpha: GPUBlendComponent = GPUBlendComponent()
)
Public properties
alpha
Added in 1.0.0-alpha05
var alpha: GPUBlendComponent
The blend component for the alpha channel.