All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
UnityLandmarkRenderable.h
1 #pragma once
2 
3 #include "CustomLandmarkRenderable.h"
4 #include "LayerIds.h"
5 #include "Rendering.h"
6 #include "UnityRenderStateAdaptor.h"
7 #include "UnityCallbacks.h"
8 
9 
10 namespace Eegeo
11 {
12  namespace Unity
13  {
15  {
16  public:
17 
19  Rendering::LayerIds::Values layerId,
21  Rendering::Mesh* pMesh,
22  Culling::CullingVolumeTree* pCullingVolumeTree,
23  const Rendering::VertexLayouts::VertexBinding& vertexBinding,
24  const dv3& ecefPosition,
25  const v4& positionBoundsMin,
26  const v4& positionBoundsMax,
27  const v2& uvBoundsMin,
28  const v2& uvBoundsMax,
29  const std::string& landmarkTextureName,
30  const std::string& renderableName,
31  const UnityCallbacks& unityCallbacks);
32 
33  void SetAlpha(float alpha) override;
34 
35  void ClearTextures() override;
36 
37  private:
38  //Helpers::TCallback1<UnityLandmarkRenderable, const std::string&> m_TexturesReleasedCallback;
39 
40  UnityRenderStateAdaptor m_renderStateAdaptor;
41  MaterialCallbacks m_unityMaterialCallbacks;
42  };
43  }
44 }
45