Sack Library Documentation
ContentsIndexReferenceHome
PreviousUpNext
sack::image::render::EnableSpriteMethod Function
C++
PSPRITE_METHOD EnableSpriteMethod(PRENDERER render, void(__cdecl*RenderSprites)(PTRSZVAL psv, PRENDERER renderer, S_32 x, S_32 y, _32 w, _32 h ), PTRSZVAL psv);
PSPRITE_METHOD (* EnableSpriteMethod)(PRENDERER render, void(__cdecl*RenderSprites)(PTRSZVAL psv, PRENDERER renderer, S_32 x, S_32 y, _32 w, _32 h ), PTRSZVAL psv);
Parameters 
Description 
PRENDERER render 
the display to attach a sprite render method to 
PTRSZVAL psv 
user data passed to callback when it is called 
callback 
callback to draw sprites 

Pointer to a SpriteMethod that can be used in SavePortion... uhmm

Adds a sprite rendering method to the display. Just before updating to the display, the display is saved, and sprite update callbacks are issued. then the resulting display is output. Sprite data only exists on the output image just before it is put on the physical display.

Has fallen into disrepair, and may need work before sprites work this way.

Created with a commercial version of Doc-O-Matic. In order to make this message disappear you need to register this software. If you have problems registering this software please contact us at support@toolsfactory.com.
Copyright (c) 2000+. All rights reserved.
What do you think about this topic? Send feedback!