[Previous] [Next] [Up] [Home] S3D Pascal Bindings
S3DTK_RectFill
Fill a rectangular area in video memory with the given value.
Method of:
TS3DTK_FUNCTION_LISTSyntax:
S3DTK_RectFill: function(
pFuncStruct: Pointer;
pDestSurface: TS3DTK_LPSURFACE;
pDestRect: TS3DTK_LPRECTAREA;
FillPattern: ULONG
Parameters:
- pFuncStruct - Pointer to the TS3DTK_FUNCTION_LIST that contains this method.
- pDestSurface - Pointer to a TS3DTK_SURFACE for the destination surface. The destination surface must be in video memory.
- pDestRect - Pointer to a TS3DTK_RECTAREA for the area in the destination surface to fill.
- FillPattern - The value to fill. This must match the surface format.
Returns:
S3DTK_OK if successful, S3DTK_ERR otherwise.
Description:
This can be used to clear the draw buffer and zbuffer or fill parts of them.
Unit: S3DTK
[Previous] [Next] [Up] [Home] S3D Pascal Bindings