次の方法で共有


GPESurf::Init (Compact 2013)

3/26/2014

This method initializes a newly created GPESurf object.

Syntax

void GPESurf::Init(
  int width,
  int height,
  void* pBits,
  int stride,
  EGPEFormat format
);

Parameters

  • width
    [in] Width in pixels of the surface to be initialized.
  • height
    [in] Height in pixels of the surface to be initialized.
  • pBits
    [in] Pointer to the memory to be associated with this surface.
  • stride
    [in] Number of bytes between rows in the surface.
  • format
    [in] Pixel format for the surface.

Return Value

None.

Remarks

The is generally not called directly by a display driver.

Requirements

Header

gpe.h

Library

Gpe_lib.lib

See Also

Reference

Display Driver Methods
GPESurf
GPESurf::GPESurf