Skip to content

PixMap.SetPixel alternative #114

@adamsanclemente

Description

@adamsanclemente

I would like there to be a way to use precomputed colors in PixMap.SetPixel(). Every time you run it, it calls clamp() 4x. I want a way to do this computation on a set list of colors and just directly pull from there so I avoid the overhead at runtime.

So we would directly input 4x uint8s possibly stored in a struct with a conversion function.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions