Skip to content

Missing options in RenderBlend #63

@worleydl

Description

@worleydl

RenderBlend::BLEND_FACTOR is only covering constant color cases, it's missing the alpha.

The types for each API respectively:

DX12

D3D12_BLEND_ALPHA_FACTOR
D3D12_BLEND_INV_ALPHA_FACTOR
D3D12_BLEND_BLEND_FACTOR
D3D12_BLEND_INV_BLEND_FACTOR

Vulkan

VK_BLEND_FACTOR_CONSTANT_ALPHA;
VK_BLEND_FACTOR_ONE_MINUS_CONSTANT_ALPHA
VK_BLEND_FACTOR_CONSTANT_COLOR
VK_BLEND_FACTOR_ONE_MINUS_CONSTANT_COLOR

I was thinking BLEND_ALPHA/BLEND_COLOR as replacements (just add ALPHA_FACTOR/INV_ALPHA_FACTOR) but welcome suggestions.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions