heyx3 / Bplus.jl

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

Support taking raw pointers for texture data #53

Open heyx3 opened 1 year ago

heyx3 commented 1 year ago

It's going to OpenGL as a pointer anyway, so might as well!

Ideally we could support both Ref and Ptr for pixel data.

We'll have to decide how to infer the incoming pixel data type, the way we do for traditional Julia arrays.