24 std::shared_ptr<VertexBuffer>
const& vbuffer =
25 std::shared_ptr<VertexBuffer>(),
26 std::shared_ptr<IndexBuffer>
const& ibuffer =
27 std::shared_ptr<IndexBuffer>(),
28 std::shared_ptr<VisualEffect>
const& effect =
29 std::shared_ptr<VisualEffect>());
32 inline void SetVertexBuffer(std::shared_ptr<VertexBuffer>
const& vbuffer);
33 inline void SetIndexBuffer(std::shared_ptr<IndexBuffer>
const& ibuffer);
34 inline void SetEffect(std::shared_ptr<VisualEffect>
const& effect);
35 inline std::shared_ptr<VertexBuffer>
const& GetVertexBuffer()
const;
36 inline std::shared_ptr<IndexBuffer>
const& GetIndexBuffer()
const;
37 inline std::shared_ptr<VisualEffect>
const& GetEffect()
const;
40 bool UpdateModelBound();
41 bool UpdateModelNormals();
48 inline virtual void UpdateWorldBound();
51 inline virtual void GetVisibleSet(
Culler& culler,
52 std::shared_ptr<Camera>
const& camera,
bool noCull);
61 std::shared_ptr<VertexBuffer>
const& vbuffer)
67 std::shared_ptr<IndexBuffer>
const& ibuffer)
94 modelBound.TransformBy(worldTransform, worldBound);
98 std::shared_ptr<Camera>
const&,
bool)
std::shared_ptr< VertexBuffer > mVBuffer
BoundingSphere modelBound
virtual void GetVisibleSet(Culler &culler, std::shared_ptr< Camera > const &camera, bool noCull)
std::shared_ptr< VertexBuffer > const & GetVertexBuffer() const
virtual void Insert(Visual *visible)
std::shared_ptr< IndexBuffer > const & GetIndexBuffer() const
std::shared_ptr< VisualEffect > const & GetEffect() const
void SetVertexBuffer(std::shared_ptr< VertexBuffer > const &vbuffer)
virtual void UpdateWorldBound()
void SetEffect(std::shared_ptr< VisualEffect > const &effect)
std::shared_ptr< IndexBuffer > mIBuffer
void SetIndexBuffer(std::shared_ptr< IndexBuffer > const &ibuffer)
std::shared_ptr< VisualEffect > mEffect