Closed MaikKlein closed 9 years ago
The OneOf
template accepts any value from any of the enumeration types in the tuple
, in this case
DataType
[1] or PixelDataType
[2]
[1] http://matus-chochlik.github.io/oglplus/doc/oglplus/quickref/data_type.html [2] http://matus-chochlik.github.io/oglplus/doc/oglplus/quickref/pixel_data.html
HTH
Unfortuneatly that doesn't work for me. For same reason this line throws every time
I linked with libpng 1.6.15, but it's not a big deal, I wanted to use stb image anyway.
The problem is I am too stupid to figure out how load a texture manually. The function signature is
But what is
ExplicitOps::Property::PixDataType
? What value do I need to pass in there?It is defined as