Description: in search of the perfect pixel
in search of the perfect pixel
As of today, HLSL doesn’t officially support constructors for user-created classes. In the meantime, with the current tools at our disposal, maybe there is a way to work around this limitation and emulate constructor functionality ourselves?
It turns out we can!