Allocates sufficient storage for the <Image> given its width, height, and pixel format.
int32 AllocateBuffer( int32 p_nWidth, int32 p_nHeight, int32 p_ePixelFormat )
Parameter Type | Parameter Name | Documentation |
---|---|---|
int32 | p_nWidth | An <int32> representing the width of the <Image>. |
int32 | p_nHeight | An <int32> representing the height of the <Image>. |
int32 | p_ePixelFormat | An <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. |
None published. Please look for an example in the Scenome Scripting Language code base.