Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
godotengine
GitHub Repository: godotengine/godot
Path: blob/master/thirdparty/metal-cpp/MetalFX/MTLFXDefines.hpp
21155 views
1
//-------------------------------------------------------------------------------------------------------------------------------------------------------------
2
//
3
// MetalFX/MTLFXDefines.hpp
4
//
5
// Copyright 2020-2024 Apple Inc.
6
//
7
// Licensed under the Apache License, Version 2.0 (the "License");
8
// you may not use this file except in compliance with the License.
9
// You may obtain a copy of the License at
10
//
11
// http://www.apache.org/licenses/LICENSE-2.0
12
//
13
// Unless required by applicable law or agreed to in writing, software
14
// distributed under the License is distributed on an "AS IS" BASIS,
15
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16
// See the License for the specific language governing permissions and
17
// limitations under the License.
18
//
19
//-------------------------------------------------------------------------------------------------------------------------------------------------------------
20
21
#pragma once
22
23
//-------------------------------------------------------------------------------------------------------------------------------------------------------------
24
25
#include "../Foundation/NSDefines.hpp"
26
27
//-------------------------------------------------------------------------------------------------------------------------------------------------------------
28
29
#define _MTLFX_EXPORT _NS_EXPORT
30
#define _MTLFX_EXTERN _NS_EXTERN
31
#define _MTLFX_INLINE _NS_INLINE
32
#define _MTLFX_PACKED _NS_PACKED
33
34
#define _MTLFX_CONST( type, name ) _NS_CONST( type, name )
35
#define _MTLFX_ENUM( type, name ) _NS_ENUM( type, name )
36
#define _MTLFX_OPTIONS( type, name ) _NS_OPTIONS( type, name )
37
38
#define _MTLFX_VALIDATE_SIZE( mtlfx, name ) _NS_VALIDATE_SIZE( mtlfx, name )
39
#define _MTLFX_VALIDATE_ENUM( mtlfx, name ) _NS_VALIDATE_ENUM( mtlfx, name )
40
41
//-------------------------------------------------------------------------------------------------------------------------------------------------------------
42
43