Skip to content

Vortice.Wpf ColorTexture format is always Format.B8G8R8A8_UNorm #523

Description

@mhourousha

In the Vortice.Wpf.DrawingSurface.cs
CreateAndBindTargets() always create ColorTexture using Format.B8G8R8A8_UNorm instead of the property: ColorFormat defined above.
I noticed it set the shared surface to the D3DImage's backbuffer,so the only supported format is B8G8R8A8_UNORM and B8G8R8X8_UNORM,so the ColorFormat property should be removed to avoid confusing.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions