reckfellENGINE

RDPipelineColorBlendStateAttachment

Pipeline color blend state attachment (used by RenderingDevice).

On this page
class RDPipelineColorBlendStateAttachmentReckfellSharpInherits RefCounted

Pipeline color blend state attachment (used by RenderingDevice).

Controls how blending between source and destination fragments is performed when using RenderingDevice. For reference, this is how common user-facing blend modes are implemented in Reckfell's 2D renderer: Mix:

Add:

Subtract:

Multiply:

Pre-multiplied alpha:

Declarations checked against C# SDK 1.0.0. Expand a name to see declarations and documentation.

Constructors1

RDPipelineColorBlendStateAttachmentConstructor
# RDPipelineColorBlendStateAttachment
C#
public RDPipelineColorBlendStateAttachment();

Properties11

AlphaBlendOpProperty
# AlphaBlendOp
C#
public RenderingDevice.BlendOperation AlphaBlendOp { get; set; }

The blend mode to use for the alpha channel.

ColorBlendOpProperty
# ColorBlendOp
C#
public RenderingDevice.BlendOperation ColorBlendOp { get; set; }

The blend mode to use for the red/green/blue color channels.

DstAlphaBlendFactorProperty
# DstAlphaBlendFactor
C#
public RenderingDevice.BlendFactor DstAlphaBlendFactor { get; set; }

Controls how the blend factor for the alpha channel is determined based on the destination's fragments.

DstColorBlendFactorProperty
# DstColorBlendFactor
C#
public RenderingDevice.BlendFactor DstColorBlendFactor { get; set; }

Controls how the blend factor for the color channels is determined based on the destination's fragments.

EnableBlendProperty
SrcAlphaBlendFactorProperty
# SrcAlphaBlendFactor
C#
public RenderingDevice.BlendFactor SrcAlphaBlendFactor { get; set; }

Controls how the blend factor for the alpha channel is determined based on the source's fragments.

SrcColorBlendFactorProperty
# SrcColorBlendFactor
C#
public RenderingDevice.BlendFactor SrcColorBlendFactor { get; set; }

Controls how the blend factor for the color channels is determined based on the source's fragments.

WriteAProperty
# WriteA
C#
public bool WriteA { get; set; }

If true, writes the new alpha channel to the final result.

WriteBProperty
# WriteB
C#
public bool WriteB { get; set; }

If true, writes the new blue color channel to the final result.

WriteGProperty
# WriteG
C#
public bool WriteG { get; set; }

If true, writes the new green color channel to the final result.

WriteRProperty
# WriteR
C#
public bool WriteR { get; set; }

If true, writes the new red color channel to the final result.

Methods23

GetAlphaBlendOpRenderingDevice.BlendOperation
# GetAlphaBlendOp
C#
public RenderingDevice.BlendOperation GetAlphaBlendOp();
Returns RenderingDevice.BlendOperation
GetColorBlendOpRenderingDevice.BlendOperation
# GetColorBlendOp
C#
public RenderingDevice.BlendOperation GetColorBlendOp();
Returns RenderingDevice.BlendOperation
GetDstAlphaBlendFactorRenderingDevice.BlendFactor
# GetDstAlphaBlendFactor
C#
public RenderingDevice.BlendFactor GetDstAlphaBlendFactor();
Returns RenderingDevice.BlendFactor
GetDstColorBlendFactorRenderingDevice.BlendFactor
# GetDstColorBlendFactor
C#
public RenderingDevice.BlendFactor GetDstColorBlendFactor();
Returns RenderingDevice.BlendFactor
GetEnableBlendbool
# GetEnableBlend
C#
public bool GetEnableBlend();
Returns bool
GetSrcAlphaBlendFactorRenderingDevice.BlendFactor
# GetSrcAlphaBlendFactor
C#
public RenderingDevice.BlendFactor GetSrcAlphaBlendFactor();
Returns RenderingDevice.BlendFactor
GetSrcColorBlendFactorRenderingDevice.BlendFactor
# GetSrcColorBlendFactor
C#
public RenderingDevice.BlendFactor GetSrcColorBlendFactor();
Returns RenderingDevice.BlendFactor
GetWriteAbool
# GetWriteA
C#
public bool GetWriteA();
Returns bool
GetWriteBbool
# GetWriteB
C#
public bool GetWriteB();
Returns bool
GetWriteGbool
# GetWriteG
C#
public bool GetWriteG();
Returns bool
GetWriteRbool
# GetWriteR
C#
public bool GetWriteR();
Returns bool
SetAlphaBlendOpvoid
# SetAlphaBlendOp
C#
public void SetAlphaBlendOp(RenderingDevice.BlendOperation pMember);
Parameters
NameTypeDefault
pMemberRenderingDevice.BlendOperation—
SetAsMixvoid
SetColorBlendOpvoid
# SetColorBlendOp
C#
public void SetColorBlendOp(RenderingDevice.BlendOperation pMember);
Parameters
NameTypeDefault
pMemberRenderingDevice.BlendOperation—
SetDstAlphaBlendFactorvoid
# SetDstAlphaBlendFactor
C#
public void SetDstAlphaBlendFactor(RenderingDevice.BlendFactor pMember);
Parameters
NameTypeDefault
pMemberRenderingDevice.BlendFactor—
SetDstColorBlendFactorvoid
# SetDstColorBlendFactor
C#
public void SetDstColorBlendFactor(RenderingDevice.BlendFactor pMember);
Parameters
NameTypeDefault
pMemberRenderingDevice.BlendFactor—
SetEnableBlendvoid
# SetEnableBlend
C#
public void SetEnableBlend(bool pMember);
Parameters
NameTypeDefault
pMemberbool—
SetSrcAlphaBlendFactorvoid
# SetSrcAlphaBlendFactor
C#
public void SetSrcAlphaBlendFactor(RenderingDevice.BlendFactor pMember);
Parameters
NameTypeDefault
pMemberRenderingDevice.BlendFactor—
SetSrcColorBlendFactorvoid
# SetSrcColorBlendFactor
C#
public void SetSrcColorBlendFactor(RenderingDevice.BlendFactor pMember);
Parameters
NameTypeDefault
pMemberRenderingDevice.BlendFactor—
SetWriteAvoid
# SetWriteA
C#
public void SetWriteA(bool pMember);
Parameters
NameTypeDefault
pMemberbool—
SetWriteBvoid
# SetWriteB
C#
public void SetWriteB(bool pMember);
Parameters
NameTypeDefault
pMemberbool—
SetWriteGvoid
# SetWriteG
C#
public void SetWriteG(bool pMember);
Parameters
NameTypeDefault
pMemberbool—
SetWriteRvoid
# SetWriteR
C#
public void SetWriteR(bool pMember);
Parameters
NameTypeDefault
pMemberbool—
Reckfell Engine documentationBack to top ↑
QUICK LINKSGetting startedEntity hierarchyC# & .NET 10Scenes and prefabs
Reckfell guides and full API K
reckfellENGINE
RECKFELL ACCOUNT

Sign in

Sign in to your Reckfell account.

One account for the entire Reckfell platform.