Overte C++ Documentation
MetaModelPayload.h
1
//
2
// MetaModelPayload.h
3
//
4
// Created by Sam Gondelman on 10/9/18.
5
// Copyright 2018 High Fidelity, Inc.
6
//
7
// Distributed under the Apache License, Version 2.0.
8
// See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html
9
//
10
11
#ifndef hifi_MetaModelPayload_h
12
#define hifi_MetaModelPayload_h
13
14
#include <unordered_map>
15
16
#include "Model.h"
17
18
#include "gpu/Buffer.h"
19
20
class
MetaModelPayload {
21
public
:
22
void
setBlendedVertices(
int
blendNumber,
const
QVector<BlendshapeOffset>& blendshapeOffsets,
const
QVector<int>& blendedMeshSizes,
const
render::ItemIDs& subRenderItems);
23
24
private
:
25
std::unordered_map<int, gpu::BufferPointer> _blendshapeBuffers;
26
int
_appliedBlendNumber { 0 };
27
28
};
29
30
#endif
libraries
render-utils
src
MetaModelPayload.h
Generated by
1.9.1