ufoRasterAlloc

    ufoRaster ufoRasterAlloc(
       ufoPixelType pixel_type,
       int x1,
       int y1,
       int x2,
       int y2);

Refer to the following table for command descriptions:

Command | Description
    pixel_type
| type of pixel required in new raster
    x1, y1, x2, y2
| bounds of new raster
    ufoPixelType
• 8-bits per component. Component range 0..255
    ufoRGB8PixelType
| RGB packed UBGR (U is redundant) 32-bits per pixel
    ufoA8PixelType
| Alpha 8-bits per pixel
    ufoRGBA8PixelType
| RGB-Alpha packed ABGR 32-bits per pixel
• 16-bits per component. Component range 0..16383 (14-bits)
    ufoRGB16PixelType
| RGB packed BGR 48-bits per pixel
    ufoA16PixelType
| Alpha 16-bits per pixel
    ufoRGBA16PixelType
| RGB-Alpha packed ABGR 64-bits per pixel
• Floating point 32-bits per component. Component range 0.0..1.0
    ufoRGBFPixelType
| RGB packed BGR 96-bits per pixel
    ufoAFPixelType
| Alpha 32-bits per pixel
    ufoRGBAFPixelType
| RGB-Alpha packed ABGR 128-bits per pixel

ufoRasterAlloc allocates raster of the given size and type, and returns a pointer to the new instance.

Autodesk Softimage v7.5