6 #include "VectorMath.h"
24 const m44& modelViewProjection,
25 const dv3& ecefPosition,
32 LayerIds::Values layerId,
33 const dv3& ecefPosition,
39 LayerIds::Values layerId,
40 const dv3& ecefPosition,
46 inline const SortKey GetSortKey()
const {
return m_sortKey; }
48 void SetLayer(LayerIds::Values layerId);
50 inline LayerIds::Values GetLayer()
const
52 return (LayerIds::Values) m_sortKey.GetLayer();
55 void SetUserDefined(u64 userDefined);
57 inline u64 GetUserDefined()
const
59 return m_sortKey.GetUserDefined();
62 void SetDepth(u64 depth);
64 inline u64 GetDepth()
const
66 return m_sortKey.GetDepth();
76 virtual bool ShouldRender()
const {
return true; }
80 inline void SetEcefPosition(
const dv3& ecefPosition) { m_ecefPosition = ecefPosition; }
81 inline const dv3& GetEcefPosition()
const {
return m_ecefPosition; }
83 inline void SetModelViewProjection(
const m44& modelViewProjection)
85 m_modelViewProjection = modelViewProjection;
88 inline const m44& GetModelViewProjection()
const
90 return m_modelViewProjection;
104 return m_pVertexBinding;
107 m44 m_modelViewProjection;