IrrGetPrimitivesDrawn

section index

## NAME

IrrIrrSetWindowCaption - Setw Window Caption

## SYNOPSIS

IrrSetWindowCaption(title.s)

## INPUTS

title.s | - | Text to diplay in the Windowcaption

## FUNCTION

Sets the caption of the window.

## RESULT

nothing

## EXAMPLE

             If IrrStart( #IRR_EDT_OPENGL, screen_width, screen_height, #True, #True, #False ) = #True
               While( IrrRunning())
                 IrrBeginScene(#True,#True,0,0,0)
                   .... Do something
                 IrrEndScene()
                 fps.l = IrrGetFPS()
                 primitives.l = IrrGetPrimitivesDrawn()
                 IrrSetWindowCaption("FPS:"+Str(fps)+" Primitives:"+Str(primitives))
               Wend
               IrrStop()
             EndIf

## NOTES