GameApi 28
Library used by GameApi Builder tool
Loading...
Searching...
No Matches
encoding_features.h
Go to the documentation of this file.
1// Copyright 2016 The Draco Authors.
2//
3// Licensed under the Apache License, Version 2.0 (the "License");
4// you may not use this file except in compliance with the License.
5// You may obtain a copy of the License at
6//
7// http://www.apache.org/licenses/LICENSE-2.0
8//
9// Unless required by applicable law or agreed to in writing, software
10// distributed under the License is distributed on an "AS IS" BASIS,
11// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12// See the License for the specific language governing permissions and
13// limitations under the License.
14//
15// File provides helpful macros that define features available for encoding
16// the input of the input geometry. These macros can be used as an input in
17// the EncoderOptions::SetSupportedFeature() method instead of the text.
18// The most recent set of features supported
19// by the default implementation is:
20//
21// kEdgebreaker
22// - edgebreaker method for encoding meshes.
23// kPredictiveEdgebreaker
24// - advanced version of the edgebreaker method (slower but better
25// compression).
26//
27#ifndef DRACO_COMPRESSION_CONFIG_ENCODING_FEATURES_H_
28#define DRACO_COMPRESSION_CONFIG_ENCODING_FEATURES_H_
29
30namespace draco {
31namespace features {
32
33constexpr const char *kEdgebreaker = "standard_edgebreaker";
34constexpr const char *kPredictiveEdgebreaker = "predictive_edgebreaker";
35
36} // namespace features
37} // namespace draco
38
39#endif // DRACO_COMPRESSION_CONFIG_ENCODING_FEATURES_H_
Definition encoding_features.h:31
constexpr const char * kEdgebreaker
Definition encoding_features.h:33
constexpr const char * kPredictiveEdgebreaker
Definition encoding_features.h:34
Definition attribute_octahedron_transform.cc:21