They work fine. Just cast between color structs with different component orders:

BGR8 a = Color.white;
RGB8 b = a; // <- did swizzle

Is there a specific api you miss?


On 24 June 2015 at 05:34, Tofu Ninja via Digitalmars-d
<[email protected]> wrote:
> On Tuesday, 23 June 2015 at 14:58:35 UTC, Manu wrote:
>>
>> https://github.com/D-Programming-Language/phobos/pull/2845
>>
>> I'm getting quite happy with it.
>> I think it's a good and fairly minimal but useful starting point.
>>
>> It'd be great to get some reviews from here.
>
>
> Swizzels would be a nice addition.

Reply via email to