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