Overview Package Class Source Class tree Glossary
previous class      next class frames      no frames

Engine.ScriptedTexture

Extends
TextureRenderTarget2D
Modifiers
native

Core.Object
|   
+-- Engine.Surface
   |   
   +-- Engine.Texture
      |   
      +-- Engine.TextureRenderTarget
         |   
         +-- Engine.TextureRenderTarget2D
            |   
            +-- Engine.ScriptedTexture

Variables Summary
boolbNeedsUpdate
boolbSkipNextClear
Inherited Variables from Engine.TextureRenderTarget2D
AddressX, AddressY, ClearColor, Format, SizeX, SizeY
Inherited Variables from Engine.TextureRenderTarget
bNeedsTwoCopies, bRenderOnce, bUpdateImmediate

Delegates Summary
delegate Render (Canvas C)

Functions Summary
Inherited Functions from Engine.TextureRenderTarget2D
Create


Variables Detail

bNeedsUpdate Source code

var transient bool bNeedsUpdate;
whether the texture needs to be redrawn. Render() will be called at the end of the tick, just before all other rendering.

bSkipNextClear Source code

var transient bool bSkipNextClear;
whether or not to clear the texture before the next call of the Render delegate


Delegates Detail

Render Source code

delegate Render ( Canvas C )
Called whenever bNeedsUpdate is true to update the texture. The texture is cleared to ClearColor prior to calling this function (unless bSkipNextClear is set to true). bNeedsUpdate is reset before calling this function, so you can set it to true here to get another update next tick. bSkipNextClear is reset to false before calling this function, so set it to true here whenever you want the next clear to be skipped


Defaultproperties

defaultproperties
{
   bNeedsTwoCopies=False
   Name="Default__ScriptedTexture"
   ObjectArchetype=TextureRenderTarget2D'Engine.Default__TextureRenderTarget2D'
}

Overview Package Class Source Class tree Glossary
previous class      next class frames      no frames
Creation time: sk 18-3-2018 10:00:42.592 - Created with UnCodeX