HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
hgiConversions.h
Go to the documentation of this file.
1 //
2 // Copyright 2020 Pixar
3 //
4 // Licensed under the terms set forth in the LICENSE.txt file available at
5 // https://openusd.org/license.
6 //
7 #ifndef PXR_IMAGING_HDX_HGI_CONVERSIONS_H
8 #define PXR_IMAGING_HDX_HGI_CONVERSIONS_H
9 
10 #include "pxr/imaging/hdx/api.h"
11 #include "pxr/imaging/hd/types.h"
12 #include "pxr/imaging/hgi/types.h"
13 
15 
16 ///
17 /// \class HdxHgiConversions
18 ///
19 /// Converts from Hd types to Hgi types
20 ///
22 {
23 public:
24 
25  HDX_API
26  static HgiFormat GetHgiFormat(HdFormat hdFormat);
27 
28  HDX_API
29  static HdFormat GetHdFormat(HgiFormat hgiFormat);
30 };
31 
32 
34 
35 #endif
HdFormat
Definition: types.h:408
#define HDX_API
Definition: api.h:23
HgiFormat
Definition: types.h:28
static HDX_API HdFormat GetHdFormat(HgiFormat hgiFormat)
static HDX_API HgiFormat GetHgiFormat(HdFormat hdFormat)
PXR_NAMESPACE_CLOSE_SCOPE PXR_NAMESPACE_OPEN_SCOPE
Definition: path.h:1425
#define PXR_NAMESPACE_CLOSE_SCOPE
Definition: pxr.h:74