Files
vba10/ShaderStructures.h
Duc Le 6e40ea45d7
2015-06-06 21:45:18 +00:00

19 lines
405 B
C++

#pragma once
namespace VBA10
{
// Constant buffer used to send MVP matrices to the vertex shader.
struct ModelViewProjectionConstantBuffer
{
DirectX::XMFLOAT4X4 model;
DirectX::XMFLOAT4X4 view;
DirectX::XMFLOAT4X4 projection;
};
// Used to send per-vertex data to the vertex shader.
struct VertexPositionColor
{
DirectX::XMFLOAT3 pos;
DirectX::XMFLOAT3 color;
};
}