MPLAB® Harmony Graphics Suite > Graphics Library > Aria Graphics Library > Aria Hardware Abstraction Layer (HAL) > Library Interface > a) Functions > GFX_PixelBufferCreate Function
MPLAB® Harmony Graphics Suite
GFX_PixelBufferCreate Function
C
LIB_EXPORT GFX_Result GFX_PixelBufferCreate(
    const int32_t width, 
    const int32_t height, 
    const GFX_ColorMode mode, 
    const void* const address, 
    GFX_PixelBuffer* buffer
);
Parameters
Parameters 
Description 
const int32_t 
the width of the buffer the height of the buffer 
const GFX_ColorMode 
the color mode of the buffer 
const void* 
the data addres of the buffer (may be NULL) 
GFX_PixelBuffer* 
pointer of the pixel buffer buffer to initialize 
Returns

GFX_Result

MPLAB® Harmony Graphics Suite