PostEffectVis

Engine/source/postFx/postEffectVis.h

More...

Classes:

class

Structure representing a single 'opened' PostEffect including GuiControls for displaying any input/target textures.

Protected Types

enum
TexIndex {
  Target = 0
  Input1 
  Input2 
  Input3 
  Input4 
  TexCount 
}
VisVector 

Protected Attributes

Private Functions

Public Functions

Close all visualization windows.

Callback from PostEffect to update visualization.

Callback from PostEffectManager at the start of a frame.

Callback when a visualization window is closed.

Open visualization windows for all input and target textures.

setVisible(bool visible)

Hide or show all visualization windows.

Protected Functions

Get or create the content control, the parent of all visualization windows.

Public Static Functions

Detailed Description

Protected Types

TexIndex

Enumerator

Target = 0
Input1
Input2
Input3
Input4
TexCount
typedef Vector< VisWindow > VisVector 

Public Friends

Protected Attributes

GuiControl * mContent 
VisVector mWindows 

Private Functions

PostEffectVis()

Public Functions

~PostEffectVis()

clear()

Close all visualization windows.

onPFXProcessed(PostEffect * pfx)

Callback from PostEffect to update visualization.

onStartOfFrame()

Callback from PostEffectManager at the start of a frame.

onWindowClosed(GuiWindowCtrl * ctrl)

Callback when a visualization window is closed.

open(PostEffect * pfx)

Open visualization windows for all input and target textures.

setVisible(bool visible)

Hide or show all visualization windows.

Protected Functions

_getContentControl()

Get or create the content control, the parent of all visualization windows.

_setDefaultCaption(VisWindow & vis, U32 texIndex)

Public Static Functions

getSingletonName()