Win32 API 日本語リファレンス
ホームGraphics.Direct3D9 › D3DFILLMODE

D3DFILLMODE

列挙型
基底型i4

メンバー 3

名前10進16進
D3DFILL_POINT10x1
D3DFILL_WIREFRAME20x2
D3DFILL_SOLID30x3

公式ドキュメント

塗りつぶしモードを表す定数を定義します。

解説(Remarks)

この列挙型の値は、D3DRS_FILLMODE レンダリング ステートで使用されます。

出典・ライセンス: 上記「公式ドキュメント」の内容は Microsoft の Win32 API ドキュメント(MicrosoftDocs/sdk-api)を日本語に翻訳・改変したものです。© Microsoft Corporation. CC BY 4.0 で提供。
Microsoft 公式リファレンス: 英語 (en-us) · 日本語 (ja-jp)

各言語での定義

列挙メンバーの定義。HSP タブは #define global(値は16進)。

typedef enum D3DFILLMODE : int {
    D3DFILL_POINT = 1,
    D3DFILL_WIREFRAME = 2,
    D3DFILL_SOLID = 3
} D3DFILLMODE;
public enum D3DFILLMODE : int
{
    D3DFILL_POINT = 1,
    D3DFILL_WIREFRAME = 2,
    D3DFILL_SOLID = 3,
}
Public Enum D3DFILLMODE As Integer
    D3DFILL_POINT = 1
    D3DFILL_WIREFRAME = 2
    D3DFILL_SOLID = 3
End Enum
import enum

class D3DFILLMODE(enum.IntEnum):
    D3DFILL_POINT = 1
    D3DFILL_WIREFRAME = 2
    D3DFILL_SOLID = 3
// D3DFILLMODE
pub const D3DFILL_POINT: i32 = 1;
pub const D3DFILL_WIREFRAME: i32 = 2;
pub const D3DFILL_SOLID: i32 = 3;
// D3DFILLMODE
const (
	D3DFILL_POINT int32 = 1
	D3DFILL_WIREFRAME int32 = 2
	D3DFILL_SOLID int32 = 3
)
const
  D3DFILL_POINT = 1;
  D3DFILL_WIREFRAME = 2;
  D3DFILL_SOLID = 3;
// D3DFILLMODE
pub const D3DFILL_POINT: i32 = 1;
pub const D3DFILL_WIREFRAME: i32 = 2;
pub const D3DFILL_SOLID: i32 = 3;
const
  D3DFILL_POINT* = 1
  D3DFILL_WIREFRAME* = 2
  D3DFILL_SOLID* = 3
enum D3DFILLMODE : int {
    D3DFILL_POINT = 1,
    D3DFILL_WIREFRAME = 2,
    D3DFILL_SOLID = 3,
}
#define global D3DFILL_POINT     0x1
#define global D3DFILL_WIREFRAME 0x2
#define global D3DFILL_SOLID     0x3