blob: e4babc057b5271b423f3d8ba87aee9eea95d92af (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
// Copyright 2022 Dolphin Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later
#pragma once
#include <Metal/Metal.h>
#include "VideoBackends/Metal/MRCHelpers.h"
#include "VideoCommon/NativeVertexFormat.h"
namespace Metal
{
class VertexFormat : public NativeVertexFormat
{
public:
VertexFormat(const PortableVertexDeclaration& vtx_decl);
MTLVertexDescriptor* Get() const { return m_desc; }
MRCOwned<MTLVertexDescriptor*> m_desc;
};
} // namespace Metal
|