Add GPUVertexLayout to graphics backends
This commit is contained in:
22
Source/Engine/GraphicsDevice/Null/GPUVertexLayoutNull.h
Normal file
22
Source/Engine/GraphicsDevice/Null/GPUVertexLayoutNull.h
Normal file
@@ -0,0 +1,22 @@
|
||||
// Copyright (c) 2012-2024 Wojciech Figat. All rights reserved.
|
||||
|
||||
#pragma once
|
||||
|
||||
#if GRAPHICS_API_NULL
|
||||
|
||||
#include "Engine/Graphics/Shaders/GPUVertexLayout.h"
|
||||
|
||||
/// <summary>
|
||||
/// Vertex layout for Null backend.
|
||||
/// </summary>
|
||||
class GPUVertexLayoutNull : public GPUVertexLayout
|
||||
{
|
||||
public:
|
||||
GPUVertexLayoutNull(const Elements& elements)
|
||||
: GPUVertexLayout()
|
||||
{
|
||||
_elements = elements;
|
||||
}
|
||||
};
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user