HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
IMX_UDIMUtils.h
Go to the documentation of this file.
1 /*
2  * PROPRIETARY INFORMATION. This software is proprietary to
3  * Side Effects Software Inc., and is not to be reproduced,
4  * transmitted, or disclosed in any way without written permission.
5  *
6  */
7 
8 #pragma once
9 
10 #include "IMX_API.h"
11 
12 #include <UT/UT_Array.h>
13 
14 class UT_StringHolder;
15 
16 /// This function takes a UDIM list pattern and returns an array of individual
17 /// tiles in the pattern. Each tile is clamped to within the 1001-1100 range. If
18 /// the list is deemed to be empty, the returned array contains just the default
19 /// tile (1001).
22 
23 /// Returns the index-th tile for the given pattern. If index is out of range,
24 /// returns -1.
25 IMX_API int
27 
IMX_API UT_Array< int > IMXparseUDIMList(const UT_StringHolder &pattern)
GLushort pattern
Definition: glad.h:2583
IMX_API int IMXgetUDIMSequential(const UT_StringHolder &pattern, int index)
GLuint index
Definition: glcorearb.h:786
#define IMX_API
Definition: IMX_API.h:8