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
textureUtils.h
Go to the documentation of this file.
1
//
2
// Copyright 2018 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_USD_IMAGING_USD_IMAGING_TEXTURE_UTILS_H
8
#define PXR_USD_IMAGING_USD_IMAGING_TEXTURE_UTILS_H
9
10
#include "
pxr/pxr.h
"
11
12
#include "
pxr/base/tf/token.h
"
13
14
#include "
pxr/usd/sdf/layer.h
"
15
16
#include "
pxr/usdImaging/usdImaging/api.h
"
17
18
#include <tuple>
19
#include <vector>
20
21
PXR_NAMESPACE_OPEN_SCOPE
22
23
/// \deprecated HdSceneDelegate no longer implements GetTextureResource.
24
///
25
/// The functions below are used by the old texture system where the
26
/// scene delegates creates the texture resource in
27
/// GetTextureResource.
28
///
29
/// Note: these functions are also not binding the Usd stage's
30
/// resolver context and thus don't handle some cases (e.g., model
31
/// search paths) correctly.
32
///
33
/// The corresponding functions for the new texture system are in
34
/// usdImaging/materialParamUtils.cpp and HdStUdimTextureObject.
35
///
36
USDIMAGING_API
37
std::vector<std::tuple<int, TfToken>>
38
UsdImaging_GetUdimTiles
(
39
std::string
const
& basePath,
40
int
tileLimit,
41
SdfLayerHandle
const
& layerHandle = SdfLayerHandle());
42
43
PXR_NAMESPACE_CLOSE_SCOPE
44
45
#endif // PXR_USD_IMAGING_USD_IMAGING_TEXTURE_UTILS_H
layer.h
USDIMAGING_API
#define USDIMAGING_API
Definition:
api.h:23
api.h
UsdImaging_GetUdimTiles
PXR_NAMESPACE_OPEN_SCOPE USDIMAGING_API std::vector< std::tuple< int, TfToken > > UsdImaging_GetUdimTiles(std::string const &basePath, int tileLimit, SdfLayerHandle const &layerHandle=SdfLayerHandle())
pxr.h
PXR_NAMESPACE_OPEN_SCOPE
PXR_NAMESPACE_CLOSE_SCOPE PXR_NAMESPACE_OPEN_SCOPE
Definition:
path.h:1425
PXR_NAMESPACE_CLOSE_SCOPE
#define PXR_NAMESPACE_CLOSE_SCOPE
Definition:
pxr.h:74
token.h
pxr
usdImaging
usdImaging
textureUtils.h
Generated on Thu Sep 4 2025 02:39:04 for HDK by
1.8.6