Skip to main content
gamedev.net
🔒 Locked

Locking Front Buffer

Started by randychow2000 Jan 26, 2003 at 11:26 PM 2 replies 450+ views
Original Post
randychow2000
randychow2000
Hi everyone, I am trying to lock a frontbuffer, but can''t seem to suceed. I can get the back buffer, because in Direct3D8Device present parameters there are lockable traits I can set to the backbuffer. Is there also locakable traits to the frontbuffer? Do anyone have any code that works with locking FrontBuffer? Thanks.
Randy Chow - MCSE< CCNA, A+
Muhammad Haggag
Muhammad Haggag
I don''t think you can. You can get a copy of it using IDirect3DDevice8::GetFrontBuffer().

Anyway, assuming you can lock the front-buffer, it''s a bad thing. It''s going to stall the pipeline. Why do you want to do it?

randychow2000
randychow2000
I actually want to do this because there is a couple pixel modification things I want to do and then show then on another Picture box. I know it can be done, but don''t know what flags to set in the present parameters or the picture box itself. would you have any ideas?
Randy Chow - MCSE< CCNA, A+

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.