Files
workinf_Blender_Wasm/blender-5.2.0/extern/opensubdiv-source/opensubdiv/osd/mtlCommon.h
2026-08-12 04:47:48 -04:00

37 lines
682 B
Objective-C

//
// Copyright 2013 Pixar
//
// Licensed under the terms set forth in the LICENSE.txt file available at
// https://opensubdiv.org/license.
//
#ifndef OPENSUBDIV3_OSD_MTL_COMMON_H
#define OPENSUBDIV3_OSD_MTL_COMMON_H
#include "../version.h"
#include <cstddef>
@protocol MTLDevice;
@protocol MTLCommandQueue;
namespace OpenSubdiv {
namespace OPENSUBDIV_VERSION {
namespace Osd {
class MTLContext {
public:
id<MTLDevice> device = nullptr;
id<MTLCommandQueue> commandQueue = nullptr;
};
} // end namespace Osd
} // end namespace OPENSUBDIV_VERSION
using namespace OPENSUBDIV_VERSION;
} // end namespace OpenSubdiv
#endif //OPENSUBDIV3_OSD_MTL_COMMON_H