I am trying to work out how you do this from first programming principles. I know you have DX and GL and API's like the WIN32 API.
However what is going on behind the scenes with these API's. For example in the WIN32 API you have,
So I am assuming that this load image function is(and only can be) written in Assembly language?Code:HANDLE WINAPI LoadImage{..}
Where is the fundamental point where you are telling the graphics card that this data I am sending is an image and it's to be displayed with xyz attributes, such as RGB values, position, and lighting effects?