This document is for a version of USD that is under development. See
this page
for the current release.
Toggle main menu visibility
Main Page
Related Pages
Modules
Namespaces
Namespace List
Namespace Members
All
Functions
Typedefs
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
_
a
b
c
d
e
f
h
i
k
l
m
n
o
p
r
s
t
u
v
w
Enumerations
a
c
d
e
f
h
i
k
l
m
o
p
r
s
t
v
w
Enumerator
a
b
c
d
e
i
l
m
n
o
p
r
t
u
Related Functions
b
g
h
o
s
t
Files
File List
File Members
All
_
a
c
g
h
j
n
o
p
s
t
u
v
w
Functions
a
c
g
h
j
n
o
p
s
t
u
v
w
Variables
Typedefs
a
g
n
p
s
t
u
Enumerations
Enumerator
Macros
_
a
g
n
p
s
t
u
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Modules
Pages
Loading...
Searching...
No Matches
opaqueValue.h
1
//
2
// Copyright 2022 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_SDF_OPAQUE_VALUE_H
8
#define PXR_USD_SDF_OPAQUE_VALUE_H
9
10
#include "
pxr/pxr.h
"
11
#include "pxr/usd/sdf/api.h"
12
13
#include <cstddef>
14
#include <iosfwd>
15
16
17
PXR_NAMESPACE_OPEN_SCOPE
18
31
class
SdfOpaqueValue
final {};
32
33
inline
bool
34
operator==(
SdfOpaqueValue
const
&,
SdfOpaqueValue
const
&)
35
{
36
return
true
;
37
}
38
39
inline
bool
40
operator!=(
SdfOpaqueValue
const
&,
SdfOpaqueValue
const
&)
41
{
42
return
false
;
43
}
44
45
inline
size_t
hash_value
(
SdfOpaqueValue
const
&)
46
{
47
// Use a nonzero constant here because some bad hash functions don't deal
48
// with zero well. Chosen by fair dice roll.
49
return
9;
50
}
51
52
SDF_API std::ostream&
operator<<
(std::ostream &,
SdfOpaqueValue
const
&);
53
54
PXR_NAMESPACE_CLOSE_SCOPE
55
56
#endif
SdfOpaqueValue
In-memory representation of the value of an opaque attribute.
Definition:
opaqueValue.h:31
operator<<
GF_API std::ostream & operator<<(std::ostream &, const GfBBox3d &)
Output a GfBBox3d using the format [(range) matrix zeroArea].
pxr_half::hash_value
size_t hash_value(const half h)
Overload hash_value for half.
Definition:
half.h:28
pxr.h
pxr
usd
sdf
opaqueValue.h
© Copyright 2024, Pixar Animation Studios. |
Terms of Use
| Generated on Fri Nov 22 2024 14:48:40 by
1.9.6