OpenSubdiv
Loading...
Searching...
No Matches
mtlCommon.h
Go to the documentation of this file.
1
//
2
// Copyright 2013 Pixar
3
//
4
// Licensed under the terms set forth in the LICENSE.txt file available at
5
// https://opensubdiv.org/license.
6
//
7
8
#ifndef OPENSUBDIV3_OSD_MTL_COMMON_H
9
#define OPENSUBDIV3_OSD_MTL_COMMON_H
10
11
#include "../version.h"
12
13
#include <cstddef>
14
15
@protocol
MTLDevice;
16
@protocol
MTLCommandQueue;
17
18
namespace
OpenSubdiv
{
19
namespace
OPENSUBDIV_VERSION {
20
21
namespace
Osd {
22
23
class
MTLContext
{
24
public
:
25
id<MTLDevice>
device
=
nullptr
;
26
id<MTLCommandQueue>
commandQueue
=
nullptr
;
27
};
28
29
}
// end namespace Osd
30
31
}
// end namespace OPENSUBDIV_VERSION
32
using namespace
OPENSUBDIV_VERSION;
33
34
}
// end namespace OpenSubdiv
35
36
#endif
//OPENSUBDIV3_OSD_MTL_COMMON_H
OpenSubdiv
Definition
limits.h:15
OpenSubdiv::OPENSUBDIV_VERSION::Osd::MTLContext
Definition
mtlCommon.h:23
OpenSubdiv::OPENSUBDIV_VERSION::Osd::MTLContext::commandQueue
id< MTLCommandQueue > commandQueue
Definition
mtlCommon.h:26
OpenSubdiv::OPENSUBDIV_VERSION::Osd::MTLContext::device
id< MTLDevice > device
Definition
mtlCommon.h:25
opensubdiv
osd
mtlCommon.h
Generated on Wed Oct 29 2025 15:07:18 for OpenSubdiv by
1.12.0