[Question] About EndScene.

Posts 110 of 10 · Page 1 of 1
[Question] About EndScene.
I have just learned how to hook EndScene today and I have a question for you.
Do the codes/functions inside EndScene loop or does it only activate once. I still cant figure that out.
You don't know about Endscene or D3D then.
Nope, I hope you guys can explain it. I just learned how to hook it through examples.
Quote Originally Posted by ppl2pass View Post
Nope, I hope you guys can explain it. I just learned how to hook it through examples.
pDevice->BeginScene();

//Draw stuff

pDevice->EndScene();

pDevice->Present();

That's how it goes to draw things on the screen.

Yes it does loop.
Does it loop itself or does it activate only once?
every frame has to be created individully and one is created on the back buffer take a guess
Quote Originally Posted by TheFallenOwns View Post
every frame has to be created individully and one is created on the back buffer take a guess
I don't know how many it makes in the buffer but obviously it needs to keep looping or all you would see is a picture.
Yah since there are many frames per second, it runs the code for each frame. Thanks. Please tell me if I am wrong.
yes
D3D runs it for each picture because it has to make a new picture
google drunken hyeana it will give you a better understanding of D3D ^_^
/Solved, stupid questions is stupid. Learn the fucking language
/Closed
Posts 110 of 10 · Page 1 of 1
This thread is closed for replies.

Similar Threads

Tags for this Thread

None

Need help?