Solved

regarding flipping into DIRECTX

Posted on 2002-04-04
2
284 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

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

What is C++ STL?: STL stands for Standard Template Library and is a part of standard C++ libraries. It contains many useful data structures (containers) and algorithms, which can spare you a lot of the time. Today we will look at the STL Vector. …
IntroductionThis article is the second in a three part article series on the Visual Studio 2008 Debugger.  It provides tips in setting and using breakpoints. If not familiar with this debugger, you can find a basic introduction in the EE article loc…
The goal of the tutorial is to teach the user how to use functions in C++. The video will cover how to define functions, how to call functions and how to create functions prototypes. Microsoft Visual C++ 2010 Express will be used as a text editor an…
The viewer will learn how to clear a vector as well as how to detect empty vectors in C++.

729 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