heyx3 / Bplus.jl

A modern OpenGL 4.6 rendering framework, written in Julia.
Other
69 stars 3 forks source link

Support CustomBorder sampling for textures #50

Open heyx3 opened 1 year ago

heyx3 commented 1 year ago

This requires us to add a field to GL.Sampler for the border color. There is already a WrapModes.custom_border enum value to work with.

Bindless textures have a very limited set of allowed border colors, and we should provide at least a way to check that, and at most a hard rule restricting the colors to an enum.