OpenSubdiv
Loading...
Searching...
No Matches
types.h
Go to the documentation of this file.
1//
2// Copyright 2014 DreamWorks Animation LLC.
3//
4// Licensed under the terms set forth in the LICENSE.txt file available at
5// https://opensubdiv.org/license.
6//
7
8#ifndef OPENSUBDIV3_FAR_TYPES_H
9#define OPENSUBDIV3_FAR_TYPES_H
10
11#include "../version.h"
12
13#include "../vtr/types.h"
14
15namespace OpenSubdiv {
16namespace OPENSUBDIV_VERSION {
17
18namespace Far {
19
20//
21// Typedefs for indices that are inherited from the Vtr level -- eventually
22// these primitive Vtr types may be declared at a lower, more public level.
23//
26
29
32
33inline bool IndexIsValid(Index index) { return Vtr::IndexIsValid(index); }
34
35static const Index INDEX_INVALID = Vtr::INDEX_INVALID;
36static const int VALENCE_LIMIT = Vtr::VALENCE_LIMIT;
37
38} // end namespace Far
39
40} // end namespace OPENSUBDIV_VERSION
41using namespace OPENSUBDIV_VERSION;
42} // end namespace OpenSubdiv
43
44#endif /* OPENSUBDIV3_FAR_TYPES_H */
Vtr::LocalIndexArray LocalIndexArray
Definition types.h:28
Vtr::ConstIndexArray ConstIndexArray
Definition types.h:30
Vtr::ConstLocalIndexArray ConstLocalIndexArray
Definition types.h:31
bool IndexIsValid(Index index)
Definition types.h:33
bool IndexIsValid(Index index)
Definition types.h:41