## siDisplayCallback

### Description

Types of display callbacks defined for the Graphic Sequencer.

### C# Syntax

    siDisplayCallback.siUndefined                                               // 0
    siDisplayCallback.siPreBeginFrame                                           // 1
    siDisplayCallback.siBeginFrame                                              // 2
    siDisplayCallback.siPostBeginFrame                                          // 3
    siDisplayCallback.siPrePass                                                 // 4
    siDisplayCallback.siPass                                                    // 5
    siDisplayCallback.siPostPass                                                // 6
    siDisplayCallback.siPreEndFrame                                             // 7
    siDisplayCallback.siEndFrame                                                // 8
    siDisplayCallback.siPostEndFrame                                            // 9
    siDisplayCallback.siRenderFrame                                             // 10

Constant | Value | Description
--- | --- | ---
siUndefined | 0 | Undefined.
siPreBeginFrame | 1 | Fired just before a new frame begins.
siBeginFrame | 2 | Fired when a new frame begins.
siPostBeginFrame | 3 | Fired after the frame has begun.
siPrePass | 4 | Fired before each XGS display pass.
siPass | 5 | Fired XGS display pass callback.
siPostPass | 6 | Fired after each XGS display pass.
siPreEndFrame | 7 | Fired just before the frame ends.
siEndFrame | 8 | Fired when the frame ends.
siPostEndFrame | 9 | Fired after the frame has ended.
siRenderFrame | 10 | Fired after MentalRay renders a frame, or after a render region is finished rendering a frame.

### Applies To

CGraphicSequencer::RegisterDisplayCallback CGraphicSequencer::RegisterViewportCallback

### See Also

CGraphicSequencer