• cvet's avatar
    Added rendering feature for prerender some graphic to separate surface and... · b7bc980d
    cvet authored
    Added rendering feature for prerender some graphic to separate surface and then draw with some effect.
    New functions
    void ActivateOffscreenSurface(bool forceClear = false)
    void PresentOffscreenSurface(int effectSubtype) - draw whole screen entire
    void PresentOffscreenSurface(int effectSubtype, int x, int y, int w, int h) - draw custom rectangle
    void PresentOffscreenSurface(int effectSubtype, int fromX, int fromY, int fromW, int fromH, int toX, int toY, int toW, int toH) - draw custom rectangle to custom screen place
    Setup effects using function SetEffect( EFFECT_OFFSCREEN, X, ... ) where X is any non negative index witch you pass to present function.
    Example of usage - https://youtu.be/Anat94MEpi8
    
    Fixed effects 'Time' uniform.
    Added OnPostDraw gui callback, called after element (and their children) draw.
    EventRenderIface now not pass layer value, it's single call.
    
    git-svn-id: https://xp-dev.com/svn/fonline_sdk@813 71b6ff52-6597-447a-9a87-58edf7a03249
    b7bc980d
Name
Last commit
Last update
..
FastColoredTextBox.dll Loading commit data...
InterfaceEditor.exe Loading commit data...
InterfaceEditor.pdb Loading commit data...
Newtonsoft.Json.dll Loading commit data...
Newtonsoft.Json.pdb Loading commit data...