HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
enums.h
Go to the documentation of this file.
1 //
2 // Copyright 2024 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_HDST_ENUMS_H
8 #define PXR_IMAGING_HDST_ENUMS_H
9 
10 #include "pxr/pxr.h"
11 
13 
14 ///
15 /// \enum HdStTextureType
16 ///
17 /// Enumerates Storm's supported texture types.
18 ///
19 /// Uv: Sample the uv coordinates and accesses a single 2d texture.
20 ///
21 /// Field: Transform coordinates by matrix before accessing a single 3d
22 /// texture.
23 ///
24 /// Ptex: Use the ptex connectivity information to sample a ptex texture.
25 ///
26 /// Udim: Remap the uv coordinates into udim coordinates using a maximum
27 /// tile width of 10 and sample all the udim tiles found in the
28 /// file system.
29 ///
30 /// Cubemap: Sample a direction in a cubemap texture.
31 ///
32 enum class HdStTextureType
33 {
34  Uv,
35  Field,
36  Ptex,
37  Udim,
38  Cubemap
39 };
40 
42 
43 #endif // PXR_IMAGING_HDST_ENUMS_H
#define PXR_NAMESPACE_OPEN_SCOPE
Definition: pxr.h:73
#define PXR_NAMESPACE_CLOSE_SCOPE
Definition: pxr.h:74
HdStTextureType
Definition: enums.h:32