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.Int32Indice dell'oggetto buffer nascosto da restituire.
backBufferType
Tipo: Microsoft.WindowsMobile.DirectX.Direct3D.BackBufferTypeTipo del buffer nascosto da restituire. L'unico valore valido è Mono.
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
- Attendibilità totale per il chiamante immediato. Impossibile utilizzare questo membro in codice parzialmente attendibile. Per ulteriori informazioni, vedere Utilizzo di librerie da codice parzialmente attendibile.
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