GameApi 28
Library used by GameApi Builder tool
Loading...
Searching...
No Matches
mesh_sequential_decoder.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#ifndef DRACO_COMPRESSION_MESH_MESH_SEQUENTIAL_DECODER_H_
16#define DRACO_COMPRESSION_MESH_MESH_SEQUENTIAL_DECODER_H_
17
19
20namespace draco {
21
22// Class for decoding data encoded by MeshSequentialEncoder.
24 public:
26
27 protected:
28 bool DecodeConnectivity() override;
29 bool CreateAttributesDecoder(int32_t att_decoder_id) override;
30
31 private:
32 // Decodes face indices that were compressed with an entropy code.
33 // Returns false on error.
34 bool DecodeAndDecompressIndices(uint32_t num_faces);
35};
36
37} // namespace draco
38
39#endif // DRACO_COMPRESSION_MESH_MESH_SEQUENTIAL_DECODER_H_
MeshDecoder()
Definition mesh_decoder.cc:21
MeshSequentialDecoder()
Definition mesh_sequential_decoder.cc:26
bool DecodeConnectivity() override
Definition mesh_sequential_decoder.cc:28
bool CreateAttributesDecoder(int32_t att_decoder_id) override
Definition mesh_sequential_decoder.cc:134
Definition attribute_octahedron_transform.cc:21