RDPipelineColorBlendState
Состояние смешивания цветов конвейера (используется RenderingDevice).
Состояние смешивания цветов конвейера (используется RenderingDevice).
Этот объект используется RenderingDevice.
Объявления сверены с C# SDK 1.0.0. Раскройте имя, чтобы увидеть сигнатуры и описание.
Конструкторы1
RDPipelineColorBlendStateКонструктор
public RDPipelineColorBlendState();Свойства4
AttachmentsСвойство
public Reckfell.Collections.Array<RDPipelineColorBlendStateAttachment> Attachments { get; set; }Вложения, которые смешаны вместе.
BlendConstantСвойство
public Color BlendConstant { get; set; }Константа цвета для смешивания. См. также RenderingDevice.DrawListSetBlendConstants.
EnableLogicOpСвойство
public bool EnableLogicOp { get; set; }Если true, выполняет логическую операцию, определенную в RDPipelineColorBlendState.LogicOp.
LogicOpСвойство
public RenderingDevice.LogicOperation LogicOp { get; set; }Логическая операция для выполнения смешивания. Действует только если RDPipelineColorBlendState.EnableLogicOp равен true.
Методы8
GetAttachmentsReckfell.Collections.Array<RDPipelineColorBlendStateAttachment>
public Reckfell.Collections.Array<RDPipelineColorBlendStateAttachment> GetAttachments();Возвращает
Reckfell.Collections.Array<RDPipelineColorBlendStateAttachment>GetBlendConstantColor
public Color GetBlendConstant();Возвращает
ColorGetEnableLogicOpbool
public bool GetEnableLogicOp();Возвращает
boolGetLogicOpRenderingDevice.LogicOperation
public RenderingDevice.LogicOperation GetLogicOp();Возвращает
RenderingDevice.LogicOperationSetAttachmentsvoid
public void SetAttachments(Reckfell.Collections.Array<RDPipelineColorBlendStateAttachment> attachments);| Имя | Тип | По умолчанию |
|---|---|---|
attachments | Reckfell.Collections.Array<RDPipelineColorBlendStateAttachment> | — |
SetBlendConstantvoid
public void SetBlendConstant(Color pMember);| Имя | Тип | По умолчанию |
|---|---|---|
pMember | Color | — |
SetEnableLogicOpvoid
public void SetEnableLogicOp(bool pMember);| Имя | Тип | По умолчанию |
|---|---|---|
pMember | bool | — |
SetLogicOpvoid
public void SetLogicOp(RenderingDevice.LogicOperation pMember);| Имя | Тип | По умолчанию |
|---|---|---|
pMember | RenderingDevice.LogicOperation | — |
Документация Reckfell EngineНаверх ↑