Advertisement

OpenGL calls in DirectX

Started by September 02, 2019 10:16 PM
1 comment, last by Zakwayda 5 years ago

What are the DirectX/MonoGame equivalent calls to glGenTextures(), glBindTexture(), glTexImage2D, and glTexParameteri()?

 

Thanks!

I haven't used Direct3D in a while, but from what I remember there's not really a one-to-one mapping - the Direct3D API uses a different approach.

Some info that might be helpful:

- What version of Direct3D are you using?

- Why do you need this particular information? Are you porting something from OpenGL?

- Can you refer to whatever references you're using (tutorials, etc.) for information on how to create and configure a texture?

This topic is closed to new replies.

Advertisement