次の方法で共有


CustomVertex.TransformedFixed 構造体

[このドキュメントはプレビュー版であり、後のリリースで変更されることがあります。 空白のトピックは、プレースホルダーとして挿入されています。]

変換した頂点を格納するカスタムの頂点形式を固定小数点の構造体で表します。

名前空間:  Microsoft.WindowsMobile.DirectX.Direct3D
アセンブリ:  Microsoft.WindowsMobile.DirectX (Microsoft.WindowsMobile.DirectX.dll 内)

構文

'宣言
Public Structure TransformedFixed
'使用
Dim instance As CustomVertex.TransformedFixed
public struct TransformedFixed
public value class TransformedFixed
[<SealedAttribute>]
type TransformedFixed =  struct end

解説

この構造体は、固定小数点演算をサポートします。

CustomVertex.TransformedFixed 構造体を使用する方法を次のコード例に示します。

' 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.

vbTransF = New VertexBuffer(GetType(CustomVertex.TransformedFixed), 100, dev, Usage.WriteOnly, CustomVertex.TransformedFixed.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.

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

スレッド セーフ

この型のすべてのパブリック static (Visual Basic では Shared) メンバーは、スレッド セーフです。 インスタンス メンバーの場合は、スレッド セーフであるとは限りません。

プラットフォーム

Windows CE, Windows Mobile for Smartphone, Windows Mobile for Pocket PC

.NET Framework および .NET Compact Framework では、各プラットフォームのすべてのバージョンはサポートしていません。 サポートされているバージョンについては、「.NET フレームワークのシステム要件」を参照してください。

バージョン情報

.NET Compact Framework

サポート対象 : 3.5、2.0

参照

参照

CustomVertex.TransformedFixed メンバー

Microsoft.WindowsMobile.DirectX.Direct3D 名前空間

その他の技術情報

.NET Compact Framework でモバイル Direct3D プログラミング