Vireo  0.0
Vireo 3D Rendering Hardware Interface
ColorBlendDesc Struct Reference

Detailed Description

Color blend state for a single render-target color attachment.

Lua full name: vireo.ColorBlendDesc

Properties

boolean blend_enable
 True to enable alpha/color blending on this attachment.
 
BlendFactor src_color_blend_factor
 Blend factor applied to the source (incoming) color.
 
BlendFactor dst_color_blend_factor
 Blend factor applied to the destination (existing) color.
 
BlendOp color_blend_op
 Blend arithmetic operation for the color channels.
 
BlendFactor src_alpha_blend_factor
 Blend factor applied to the source alpha.
 
BlendFactor dst_alpha_blend_factor
 Blend factor applied to the destination alpha.
 
BlendOp alpha_blend_op
 Blend arithmetic operation for the alpha channel.
 
ColorWriteMask color_write_mask
 Bitmask of color channels that receive writes (see vireo.ColorWriteMask).
 

Property Documentation

boolean blend_enable

True to enable alpha/color blending on this attachment.

BlendFactor src_color_blend_factor

Blend factor applied to the source (incoming) color.

BlendFactor dst_color_blend_factor

Blend factor applied to the destination (existing) color.

BlendOp color_blend_op

Blend arithmetic operation for the color channels.

BlendFactor src_alpha_blend_factor

Blend factor applied to the source alpha.

BlendFactor dst_alpha_blend_factor

Blend factor applied to the destination alpha.

BlendOp alpha_blend_op

Blend arithmetic operation for the alpha channel.

ColorWriteMask color_write_mask

Bitmask of color channels that receive writes (see vireo.ColorWriteMask).