
VSC#, OpenTK: help with loading 1D texture file
Posted Thursday, 13 December, 2012 - 04:58 by NickJack inhi
i am thinking of reading a raw or png 1D texture file into Opentk so that i can use TexCoord1() to get color for my fractal program.
i know how to use it to do it in C++. i am new to C#, and i am new to all the function call's name.
even in OpenTK, i know how to load a texture2D image, but not 1D. :(
apparently, all the examples i got from googling deal with texture2D, very frustrating.
any help will be appreciated.


Comments
Re: VSC#, OpenTK: help with loading 1D texture file
OpenTK includes an example