AllocateBuffer Data Member Function

Allocates sufficient storage for the <Image> given its width, height, and pixel format.

Prototype

int32 AllocateBuffer( int32 p_nWidth, int32 p_nHeight, int32 p_ePixelFormat )

Parameters

Parameter Type Parameter Name Documentation
int32p_nWidthAn <int32> representing the width of the <Image>.
int32p_nHeightAn <int32> representing the height of the <Image>.
int32p_ePixelFormatAn <int32> representing the pixel format of the <Image>. This value refers to a member of the Image_Pixel_Format enumeration. Please see TYPE_SERVICE_ENUMERATION_UTIL.SSL in the application scripts folder for more information.

Examples

Copy Text To Clipboard

None published. Please look for an example in the Scenome Scripting Language code base.