Solved

regarding flipping into DIRECTX

Posted on 2002-04-04
2
278 Views
Last Modified: 2012-06-27
Hi,
   i created a flip-complex chain through the DIRECTX. The chain consists from 4 off-screen surfaces. What i want is becide the BackBuffer surface pointer to get the LPDIRECTDRAWSURFACE pointer for the other surfaces of the chain. I do not want to shift the chain through the flip command. I just want to be able to write con-current into all the surfaces of the chain and then to rotate them through the flip command. How do i do that?
0
Comment
Question by:ttsenis
2 Comments
 
LVL 22

Accepted Solution

by:
ambience earned 200 total points
ID: 6941146
You do an EnumAttachedSurfaces on the primary surface, this should give you an pointer to the surface next in the flipping chain. Then  you do an Enum on that surface and this should give you the next in the chain surface.

This way you traverse the chain and get pointer to all the surfaces.

This you'll be able to write to all the surfaces.
0
 
LVL 11

Expert Comment

by:griessh
ID: 6957223
Dear ttsenis

I think you forgot this question. I will ask Community Support to close it unless you finalize it within 7 days. You can always request to keep this question open. But remember, experts can only help you if you provide feedback to their questions.
Unless there is objection or further activity,  I will suggest to accept

     "ambience"

comment(s) as an answer.

If you think your question was not answered at all, you can post a request in Community support (please include this link) to refund your points. The link to the Community Support area is: http://www.experts-exchange.com/commspt/

PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER!
======
Werner
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

  Included as part of the C++ Standard Template Library (STL) is a collection of generic containers. Each of these containers serves a different purpose and has different pros and cons. It is often difficult to decide which container to use and …
Basic understanding on "OO- Object Orientation" is needed for designing a logical solution to solve a problem. Basic OOAD is a prerequisite for a coder to ensure that they follow the basic design of OO. This would help developers to understand the b…
The goal of the video will be to teach the user the difference and consequence of passing data by value vs passing data by reference in C++. An example of passing data by value as well as an example of passing data by reference will be be given. Bot…
The viewer will be introduced to the technique of using vectors in C++. The video will cover how to define a vector, store values in the vector and retrieve data from the values stored in the vector.

863 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

24 Experts available now in Live!

Get 1:1 Help Now