Upcoming Events
Unite 2010
11/10 - 11/12 @ Montréal, Canada

GDC China
12/5 - 12/7 @ Shanghai, China

Asia Game Show 2010
12/24 - 12/27  

GDC 2011
2/28 - 3/4 @ San Francisco, CA

More events...
Quick Stats
99 people currently visiting GDNet.
2406 articles in the reference section.

Help us fight cancer!
Join SETI Team GDNet!
Link to us Events 4 Gamers
Intel sponsors gamedev.net search:

  Contents

 Introduction
 What is IM?
 Execute Buffers
 Steps to Create
 an Application

 Scene Management
 Sample App
 IM Objects
 DrawPrimitive
 Comparing Modes
 Summary

 Printable version

 


What exactly is the Immediate Mode?

A question that arises when we look at the two modes available in Direct3D, is that what are the differences between the two modes and why these modes at all?

The major difference between the retained mode and the immediate mode that has lead to this classification is the ability to address the data even after it has been rendered.

If an application has access to the data being displayed, after it is rendered, without change in its basic structure, then the application is said to have the ability to retain the object information and hence an application working in this mode or using such a facility is working in the retained mode. For example, if the application is able to address the data points of a cube even after it has been rendered, then the application is said to retain the data being rendered and hence is working in the retained mode.

As compared to this, if the application cannot access the data that was rendered, after rendering its, then the application is said to be working in the immediate mode. In the immediate mode, once the data is rendered, it is lost for ever to the developer. The rendered data might still be available, but the data is no longer 3D data, but 2D pixels.



Next : Execute Buffers