slot
0.0.1
A real time UI render framework
载入中...
搜索中...
未找到
include
UI
Mesh
Vertex.h
浏览该文件的文档.
1
//
2
// Created by zhou_zhengming on 2026/5/11.
3
//
4
5
#pragma once
6
7
#include <DirectXMath.h>
8
9
namespace
z8
{
10
class
Vertex
{
11
public
:
12
DirectX::XMFLOAT3
Pos
;
13
DirectX::XMFLOAT3
Normal
;
14
15
Vertex
() =
default
;
16
Vertex
(DirectX::XMFLOAT3
P
) :
Pos
(
P
),
Normal
() {}
17
Vertex
(
float
x,
float
y,
float
z) :
Pos
(x,y,z),
Normal
() {}
18
};
19
}
P
static DX12ShaderRegister< DefaultPixelShader > P
Definition
DefaultShader.cpp:9
z8::Vertex
Definition
Vertex.h:10
z8::Vertex::Vertex
Vertex(DirectX::XMFLOAT3 P)
Definition
Vertex.h:16
z8::Vertex::Normal
DirectX::XMFLOAT3 Normal
Definition
Vertex.h:13
z8::Vertex::Vertex
Vertex()=default
z8::Vertex::Vertex
Vertex(float x, float y, float z)
Definition
Vertex.h:17
z8::Vertex::Pos
DirectX::XMFLOAT3 Pos
Definition
Vertex.h:12
z8
Definition
Application.h:14
制作者
1.10.0