Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

regarding flipping into DIRECTX

Posted on 2002-04-04
2
Medium Priority
?
293 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 600 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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Unlike C#, C++ doesn't have native support for sealing classes (so they cannot be sub-classed). At the cost of a virtual base class pointer it is possible to implement a pseudo sealing mechanism The trick is to virtually inherit from a base class…
C++ Properties One feature missing from standard C++ that you will find in many other Object Oriented Programming languages is something called a Property (http://www.experts-exchange.com/Programming/Languages/CPP/A_3912-Object-Properties-in-C.ht…
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.
The viewer will be introduced to the member functions push_back and pop_back of the vector class. The video will teach the difference between the two as well as how to use each one along with its functionality.
Suggested Courses
Course of the Month12 days, 6 hours left to enroll

971 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