Adding ViroKit. Needs AWSCore :(
This commit is contained in:
41
mobile/ios/ViroKit.framework/Headers/VRORenderMetadata.h
Normal file
41
mobile/ios/ViroKit.framework/Headers/VRORenderMetadata.h
Normal file
@@ -0,0 +1,41 @@
|
||||
//
|
||||
// VRORenderMetadata.h
|
||||
// ViroKit
|
||||
//
|
||||
// Created by Raj Advani on 9/14/17.
|
||||
// Copyright © 2017 Viro Media. All rights reserved.
|
||||
//
|
||||
|
||||
#ifndef VRORenderMetadata_h
|
||||
#define VRORenderMetadata_h
|
||||
|
||||
/*
|
||||
The VRORenderMetadata collects scene-wide information about the
|
||||
forthcoming render during the updateSortKeys() phase of the render loop.
|
||||
|
||||
Enables the choreographer to optimize its render passes based on the
|
||||
content of the scene.
|
||||
*/
|
||||
class VRORenderMetadata {
|
||||
public:
|
||||
|
||||
VRORenderMetadata() :
|
||||
_requiresBloomPass(false) {}
|
||||
|
||||
void setRequiresBloomPass(bool requiresBloomPass) {
|
||||
_requiresBloomPass = requiresBloomPass;
|
||||
}
|
||||
bool requiresBloomPass() const {
|
||||
return _requiresBloomPass;
|
||||
}
|
||||
|
||||
private:
|
||||
|
||||
/*
|
||||
Set to true to indicate that bloom was used in this render pass, and
|
||||
we therefore require a Gaussian blur / accumulation (Bloom) pass.
|
||||
*/
|
||||
bool _requiresBloomPass;
|
||||
|
||||
};
|
||||
#endif /* VRORenderMetadata_h */
|
||||
Reference in New Issue
Block a user