overte-Armored-Dragon/assignment-client/src/assets/AutoBaker.h
2017-08-25 10:54:33 -07:00

32 lines
673 B
C++

//
// AutoBaker.h
// assignment-client/src/assets
//
// Created by Clement Brisset on 8/9/17
// Copyright 2015 High Fidelity, Inc.
//
// Distributed under the Apache License, Version 2.0.
// See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html
//
#ifndef hifi_AutoBaker_h
#define hifi_AutoBaker_h
#include <vector>
#include "AssetUtils.h"
class AutoBaker {
public:
void addPendingBake(AssetHash hash);
bool assetNeedsBaking(AssetHash hash);
BakingStatus getAssetStatus(AssetHash hash);
private:
std::vector<AssetHash> _pendingBakes;
std::vector<AssetHash> _currentlyBaking;
};
#endif /* hifi_AutoBaker_h */