Share via


CustomVertex.PositionNormalFixed-Struktur

Dieser Dokumentation für die Vorschau nur ist und in späteren Versionen geändert. Leere Themen wurden als Platzhalter eingefügt.]

Stellt eine benutzerdefinierte Festkomma Vertexformatstruktur dar, die Position und die Daten der normalen enthält.

Namespace:  Microsoft.WindowsMobile.DirectX.Direct3D
Assembly:  Microsoft.WindowsMobile.DirectX (in Microsoft.WindowsMobile.DirectX.dll)

Syntax

'Declaration
Public Structure PositionNormalFixed
'Usage
Dim instance As CustomVertex.PositionNormalFixed
public struct PositionNormalFixed
public value class PositionNormalFixed
[<SealedAttribute>]
type PositionNormalFixed =  struct end

Hinweise

Diese Struktur bietet Unterstützung für Operationen mit Festkommaberechnungen.

Beispiele

Im folgenden Codebeispiel veranschaulicht die Struktur CustomVertex.PositionNormalFixed verwenden.

' This code example is taken from the' Managed Direct3D Mobile Lights Tutorial Sample' of the .NET Compact Framework Samples in the SDK.' The .NET Compact Framework provides three' fixed-point structures for custom vertex buffers:' PositionNormalFixed, PostionOnlyFixed, and TransformedFixed.

vbPosNormalF = New VertexBuffer(GetType(CustomVertex.PositionNormalFixed), 100, dev, Usage.WriteOnly, CustomVertex.PositionNormalFixed.Format, vertexBufferPool)
// This code example is taken from the// Managed Direct3D Mobile Lights Tutorial Sample// of the .NET Compact Framework Samples in the SDK.// The .NET Compact Framework provides three// fixed-point structures for custom vertex buffers:// PositionNormalFixed, PostionOnlyFixed, and TransformedFixed.

    vbPosNormalF = new VertexBuffer(
        typeof(CustomVertex.PositionNormalFixed), 100, dev,
        Usage.WriteOnly, CustomVertex.PositionNormalFixed.Format,
        vertexBufferPool);

Threadsicherheit

Alle öffentlichen static (Shared in Visual Basic)-Member dieses Typs sind threadsicher. Bei Instanzmembern ist die Threadsicherheit nicht gewährleistet.

Plattformen

Windows CE, Windows Mobile für Smartphone, Windows Mobile für Pocket PC

Die .NET Framework und .NET Compact Framework unterstützen nicht alle Versionen sämtlicher Plattformen. Eine Liste der unterstützten Versionen finden Sie unter Systemanforderungen für .NET framework.

Versionsinformationen

.NET Compact Framework

Unterstützt in: 3.5, 2.0

Siehe auch

Referenz

Member CustomVertex.PositionNormalFixed

Microsoft.WindowsMobile.DirectX.Direct3D-Namespace

Weitere Ressourcen

Mobile Direct3D-Programmierung in .NET Compact Framework