HDK
Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
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).
20
IMX_API
UT_Array<int>
21
IMXparseUDIMList
(
const
UT_StringHolder
&
pattern
);
22
23
/// Returns the index-th tile for the given pattern. If index is out of range,
24
/// returns -1.
25
IMX_API
int
26
IMXgetUDIMSequential
(
const
UT_StringHolder
&
pattern
,
int
index
);
27
IMXparseUDIMList
IMX_API UT_Array< int > IMXparseUDIMList(const UT_StringHolder &pattern)
IMX_API.h
UT_Array.h
UT_Array< int >
UT_StringHolder
Definition:
UT_StringHolder.h:1074
pattern
GLushort pattern
Definition:
glad.h:2583
IMXgetUDIMSequential
IMX_API int IMXgetUDIMSequential(const UT_StringHolder &pattern, int index)
index
GLuint index
Definition:
glcorearb.h:786
IMX_API
#define IMX_API
Definition:
IMX_API.h:8
IMX
IMX_UDIMUtils.h
Generated on Thu Jul 16 2026 02:12:35 for HDK by
1.8.6