#include <instanceserverbase.h>
Inherits Core::RefCounted.
Inherited by Vulkan::VkInstanceServer.
|
static void | DumpRefCountingLeaks () |
| dump refcounting leaks, call at end of application (NEBULA_DEBUG builds only!)
|
|
virtual | ~RefCounted () |
| destructor (called when refcount reaches zero)
|
|
◆ InstanceServerBase()
Base::InstanceServerBase::InstanceServerBase |
( |
| ) |
|
◆ ~InstanceServerBase()
Base::InstanceServerBase::~InstanceServerBase |
( |
| ) |
|
|
virtual |
◆ __DeclareClass()
◆ __DeclareSingleton()
◆ AddInstance()
void Base::InstanceServerBase::AddInstance |
( |
const IndexT & | instanceCode, |
|
|
const Ptr< Models::ModelNodeInstance > & | instance ) |
adds instance to current model
Add model instances to list.
◆ BeginInstancing()
void Base::InstanceServerBase::BeginInstancing |
( |
const Ptr< Models::ModelNode > & | modelNode, |
|
|
const SizeT | multiplier, |
|
|
const Ptr< CoreGraphics::Shader > & | shader, |
|
|
const IndexT & | pass ) |
begins adding model instances to server
Prepare to render model.
◆ Close()
void Base::InstanceServerBase::Close |
( |
| ) |
|
|
virtual |
◆ EndInstancing()
void Base::InstanceServerBase::EndInstancing |
( |
| ) |
|
ends adding model instances
End the instancing.
◆ IsOpen()
bool Base::InstanceServerBase::IsOpen |
( |
| ) |
const |
|
inline |
◆ Open()
bool Base::InstanceServerBase::Open |
( |
| ) |
|
|
virtual |
◆ Render()
void Base::InstanceServerBase::Render |
( |
IndexT | frameIndex | ) |
|
|
virtual |
updates instance server (call from batch)
Performs actual instanced rendering, override this in a subclass.
Reimplemented in Vulkan::VkInstanceServer.
◆ instancesByCode
◆ isBeginInstancing
bool Base::InstanceServerBase::isBeginInstancing |
|
protected |
◆ isOpen
bool Base::InstanceServerBase::isOpen |
|
protected |
◆ modelNode
◆ multiplier
SizeT Base::InstanceServerBase::multiplier |
|
protected |
◆ pass
IndexT Base::InstanceServerBase::pass |
|
protected |
◆ renderer
◆ shader
Ptr<CoreGraphics::Shader> Base::InstanceServerBase::shader |
|
protected |
The documentation for this class was generated from the following files: