RDPipelineColorBlendState
Pipeline color blend state (used by RenderingDevice).
Pipeline color blend state (used by RenderingDevice).
This object is used by RenderingDevice.
Declarations checked against C# SDK 1.0.0. Expand a name to see declarations and documentation.
Constructors1
RDPipelineColorBlendStateConstructor
public RDPipelineColorBlendState();Properties4
AttachmentsProperty
public Reckfell.Collections.Array<RDPipelineColorBlendStateAttachment> Attachments { get; set; }The attachments that are blended together.
BlendConstantProperty
public Color BlendConstant { get; set; }The constant color to blend with. See also RenderingDevice.DrawListSetBlendConstants.
EnableLogicOpProperty
public bool EnableLogicOp { get; set; }If true, performs the logic operation defined in RDPipelineColorBlendState.LogicOp.
LogicOpProperty
public RenderingDevice.LogicOperation LogicOp { get; set; }The logic operation to perform for blending. Only effective if RDPipelineColorBlendState.EnableLogicOp is true.
Methods8
GetAttachmentsReckfell.Collections.Array<RDPipelineColorBlendStateAttachment>
public Reckfell.Collections.Array<RDPipelineColorBlendStateAttachment> GetAttachments();Returns
Reckfell.Collections.Array<RDPipelineColorBlendStateAttachment>GetBlendConstantColor
public Color GetBlendConstant();Returns
ColorGetEnableLogicOpbool
public bool GetEnableLogicOp();Returns
boolGetLogicOpRenderingDevice.LogicOperation
public RenderingDevice.LogicOperation GetLogicOp();Returns
RenderingDevice.LogicOperationSetAttachmentsvoid
public void SetAttachments(Reckfell.Collections.Array<RDPipelineColorBlendStateAttachment> attachments);| Name | Type | Default |
|---|---|---|
attachments | Reckfell.Collections.Array<RDPipelineColorBlendStateAttachment> | — |
SetBlendConstantvoid
public void SetBlendConstant(Color pMember);| Name | Type | Default |
|---|---|---|
pMember | Color | — |
SetEnableLogicOpvoid
public void SetEnableLogicOp(bool pMember);| Name | Type | Default |
|---|---|---|
pMember | bool | — |
SetLogicOpvoid
public void SetLogicOp(RenderingDevice.LogicOperation pMember);| Name | Type | Default |
|---|---|---|
pMember | RenderingDevice.LogicOperation | — |
Reckfell Engine documentationBack to top ↑