API Reference | developer.brewmp.com API Reference | developer.brewmp.com

Developer

API Reference

IWIDGET_SETMAXDRAWS()

Brew Release
Brew MP 1.0.2
See Also
- IWidget_GetMaxDraws() - IWidget_SetUnionMinArea() - IWidget_SetUnionThreshold() - IWidget Interface
Description
This function is used set the maximum number of draws that can be issued within a single draw cycle. This also directly modifies the number of invalidation rectangles that the RootContainer will maintain. Setting max number of draws to 1 effectively disables smart invalidation area merging.
Params
pif
[in]:
Pointer to the IWidget interface object.
nDraws
[in]:
Value to set to the property
Interface
Prototype
  •    AEEResult IWidget_SetMaxDraws(IWidget *pif, uint8 nDraws);
    
Return
  •    AEE_SUCCESS   --  The value was set successfully
       AEE_EFAILED   --  An unspecified error has occured
    
Side Effect
  • None
Comments
NumDraws must be >= 1.