Metodo ID2D1RenderTarget::CreateMesh (d2d1.h)

Creare una mesh che usa triangoli per descrivere una forma.

Sintassi

HRESULT CreateMesh(
  [out] ID2D1Mesh **mesh
);

Parametri

[out] mesh

Tipo: ID2D1Mesh**

Quando termina, questo metodo contiene un puntatore a un puntatore alla nuova mesh.

Valore restituito

Tipo: HRESULT

Se questo metodo ha esito positivo, restituisce S_OK. In caso contrario, restituisce un codice di errore HRESULT .

Commenti

Per popolare una mesh, usare il metodo Open per ottenere un ID2D1TessellationSink. Per disegnare la mesh, utilizzare il metodo FillMesh della destinazione di rendering.

Requisiti

   
Client minimo supportato Windows 7, Windows Vista con SP2 e Aggiornamento della piattaforma per Windows Vista [app desktop | App UWP]
Server minimo supportato Windows Server 2008 R2, Windows Server 2008 con SP2 e Platform Update per Windows Server 2008 [app desktop | App UWP]
Piattaforma di destinazione Windows
Intestazione d2d1.h
Libreria D2d1.lib
DLL D2d1.dll

Vedi anche

ID2D1RenderTarget