2020-04-15 02:03:56 +02:00
|
|
|
#pragma once
|
|
|
|
|
#include "GraphicsResources.h"
|
2023-01-21 18:43:21 +01:00
|
|
|
#include "Material/MaterialInterface.h"
|
2020-04-15 02:03:56 +02:00
|
|
|
|
|
|
|
|
namespace Seele
|
|
|
|
|
{
|
2023-01-21 18:43:21 +01:00
|
|
|
DECLARE_REF(VertexShaderInput)
|
|
|
|
|
DECLARE_NAME_REF(Gfx, IndexBuffer)
|
2020-04-15 02:03:56 +02:00
|
|
|
class Mesh
|
|
|
|
|
{
|
|
|
|
|
public:
|
2020-09-19 14:36:50 +02:00
|
|
|
Mesh(PVertexShaderInput vertexInput, Gfx::PIndexBuffer indexBuffer);
|
2020-04-15 02:03:56 +02:00
|
|
|
~Mesh();
|
2020-05-05 01:51:13 +02:00
|
|
|
|
2020-06-02 11:46:18 +02:00
|
|
|
Gfx::PIndexBuffer indexBuffer;
|
2020-09-19 14:36:50 +02:00
|
|
|
PVertexShaderInput vertexInput;
|
2023-01-21 18:43:21 +01:00
|
|
|
PMaterialInterface referencedMaterial;
|
2020-08-06 00:54:43 +02:00
|
|
|
private:
|
2020-04-15 02:03:56 +02:00
|
|
|
};
|
2021-04-01 16:40:14 +02:00
|
|
|
DEFINE_REF(Mesh)
|
2020-05-05 01:51:13 +02:00
|
|
|
} // namespace Seele
|