殺虫侍
Toggle main menu visibility
読み取り中…
検索中…
一致する文字列を見つけられません
vertex.h
[詳解]
1
7
#pragma once
8
14
struct
Vertex
15
{
16
DirectX::XMFLOAT3
Position
= {};
17
DirectX::XMFLOAT4
Color
= {};
18
DirectX::XMFLOAT3
Normal
= {};
19
DirectX::XMFLOAT2
TexCoord
= {};
20
22
Vertex
() {}
23
30
Vertex
(
float
x,
float
y,
float
z) {
31
Position
.x = x;
32
Position
.y = y;
33
Position
.z = z;
34
}
35
};
Vertex::TexCoord
DirectX::XMFLOAT2 TexCoord
UV テクスチャ座標
Definition
vertex.h:19
Vertex::Vertex
Vertex(float x, float y, float z)
XYZ 座標を指定するコンストラクタ
Definition
vertex.h:30
Vertex::Normal
DirectX::XMFLOAT3 Normal
法線ベクトル
Definition
vertex.h:18
Vertex::Position
DirectX::XMFLOAT3 Position
ワールド座標(XYZ)
Definition
vertex.h:16
Vertex::Vertex
Vertex()
デフォルトコンストラクタ
Definition
vertex.h:22
Vertex::Color
DirectX::XMFLOAT4 Color
頂点カラー(RGBA)
Definition
vertex.h:17
scripts
renderer
vertex.h
構築:
1.17.0