Condividi tramite


Metodo Device.GetBackBuffer

Aggiornamento: novembre 2007

Ottiene il buffer nascosto specificato.

Spazio dei nomi:  Microsoft.WindowsMobile.DirectX.Direct3D
Assembly:  Microsoft.WindowsMobile.DirectX (in Microsoft.WindowsMobile.DirectX.dll)

Sintassi

'Dichiarazione
Public Function GetBackBuffer ( _
    backBuffer As Integer, _
    backBufferType As BackBufferType _
) As Surface
'Utilizzo
Dim instance As Device
Dim backBuffer As Integer
Dim backBufferType As BackBufferType
Dim returnValue As Surface

returnValue = instance.GetBackBuffer(backBuffer, _
    backBufferType)
public Surface GetBackBuffer(
    int backBuffer,
    BackBufferType backBufferType
)
public:
Surface^ GetBackBuffer(
    int backBuffer, 
    BackBufferType backBufferType
)
public function GetBackBuffer(
    backBuffer : int, 
    backBufferType : BackBufferType
) : Surface

Parametri

  • backBuffer
    Tipo: System.Int32

    Indice dell'oggetto buffer nascosto da restituire.

Valore restituito

Tipo: Microsoft.WindowsMobile.DirectX.Direct3D.Surface

Oggetto Surface che rappresenta la superficie del buffer nascosto restituita.

Eccezioni

Eccezione Condizione
InvalidCallException

La chiamata al metodo non è valida. Il parametro di un metodo potrebbe, ad esempio, contenere un valore non valido.

Note

I buffer nascosti sono numerati da 0 al numero totale di buffer nascosti meno 1. Un valore pari a 0 restituisce il primo buffer nascosto, non il front buffer. Non è possibile accedere al front buffer mediante questo metodo.

Autorizzazioni

Piattaforme

Windows CE, Windows Mobile per Smartphone, Windows Mobile per Pocket PC

.NET Framework e .NET Compact Framework non supportano tutte le versioni di ciascuna piattaforma. Per un elenco delle versioni supportate, vedere Requisiti di sistema di .NET Framework.

Informazioni sulla versione

.NET Compact Framework

Supportato in: 3.5, 2.0

Vedere anche

Riferimenti

Device Classe

Membri Device

Spazio dei nomi Microsoft.WindowsMobile.DirectX.Direct3D