Condividi tramite


Classe PresentParameters

Aggiornamento: novembre 2007

Descrive i parametri di presentazione.

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

Sintassi

'Dichiarazione
Public NotInheritable Class PresentParameters _
    Implements ICloneable
'Utilizzo
Dim instance As PresentParameters
public sealed class PresentParameters : ICloneable
public ref class PresentParameters sealed : ICloneable
public final class PresentParameters implements ICloneable

Esempi

Nell'esempio di codice riportato di seguito viene illustrato come utilizzare la classe PresentParameters.

present = New PresentParameters()
present.BackBufferCount = 1
present.BackBufferFormat = dispmode.Format
present.BackBufferHeight = dispmode.Height
present.BackBufferWidth = dispmode.Width
present.SwapEffect = SwapEffect.Discard
present = new PresentParameters();
present.BackBufferCount = 1;
present.BackBufferFormat = dispmode.Format;
present.BackBufferHeight = dispmode.Height;
present.BackBufferWidth = dispmode.Width;
present.SwapEffect = SwapEffect.Discard;

Gerarchia di ereditarietà

System.Object
  Microsoft.WindowsMobile.DirectX.Direct3D.PresentParameters

Codice thread safe

Qualsiasi membro static (Shared in Visual Basic) pubblico di questo tipo è thread-safe. I membri di istanza non sono garantiti come thread-safe.

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

Membri PresentParameters

Spazio dei nomi Microsoft.WindowsMobile.DirectX.Direct3D

Altre risorse

Programmazione per Mobile Direct3D in .NET Compact Framework