HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
GLTF_Utils.h
Go to the documentation of this file.
1 #ifndef __GLTF_Utils_h__
2 #define __GLTF_Utils_h__
3 
4 #include "GLTFZ_API.h"
5 #include "GLTF_Types.h"
6 
7 class OP_Node;
8 class IMG_Format;
9 class UT_StringHolder;
10 
12 {
13 
14 public:
15 
16  static bool doesNodeMatchPattern(
17  const OP_Node* node,
18  const UT_StringHolder& pattern);
19 
20  static bool doesNodeHaveRenderProp(
21  const OP_Node* node,
22  const char* prop_name);
23 
24  static UT_StringHolder getTextureImageName(
25  const OP_Node* node,
26  GLTF_TextureType texture_type);
27 
28  static bool doesURIContainEmbeddedData(
29  const char* uri);
30 
31  static const IMG_Format*
32  getImageExportFormat(
34  const char* image_path);
35 
36  static GLTF_WindingOrder
37  getMeshTriangleWindingOrder(
38  const UT_Matrix4F& world_transform);
39 };
40 
41 #endif
GLTF_TextureType
Definition: GLTF_Types.h:79
GLint GLint GLsizei GLint GLenum format
Definition: glcorearb.h:108
GLushort pattern
Definition: glad.h:2583
GLTF_ImageExportFormat
Definition: GLTF_Types.h:65
#define GLTFZ_API
Definition: GLTFZ_API.h:37
GLTF_WindingOrder
Definition: GLTF_Types.h:90