#pragma once
#include <DirectXMath.h>

using DirectX::XMFLOAT2;
using DirectX::XMFLOAT3;

// 用于定义带有贴图的顶点的结构，三维坐标+纹理坐标映射+纹理编号
// position[3] + texture[2] + slot[1]
struct StructVertexWithTexture
{
	DirectX::XMFLOAT3 pos;
	DirectX::XMFLOAT2 texCoord;
	float slot;
};

// 用于定义固定色彩的顶点的结构，三维坐标+色彩RGB
// position[3] + color[3]
struct StructVertexWithColor
{
	DirectX::XMFLOAT3 pos;
	DirectX::XMFLOAT3 color;
};

struct  StructPixelConstBuf
{
	struct
	{
		float r;
		float g;
		float b;
		float a;
	} face_colors[12];
};