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.
Parameters
  • 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
Comment
NumDraws must be >= 1.
  • Follow