#include <instancerendererbase.h>
Inherits Core::RefCounted.
Inherited by Vulkan::VkInstanceRenderer.
|
static void | DumpRefCountingLeaks () |
| dump refcounting leaks, call at end of application (NEBULA_DEBUG builds only!)
|
|
virtual | ~RefCounted () |
| destructor (called when refcount reaches zero)
|
|
◆ InstanceRendererBase()
Base::InstanceRendererBase::InstanceRendererBase |
( |
| ) |
|
◆ ~InstanceRendererBase()
Base::InstanceRendererBase::~InstanceRendererBase |
( |
| ) |
|
|
virtual |
◆ __DeclareClass()
◆ AddId()
void Base::InstanceRendererBase::AddId |
( |
const int | id | ) |
|
◆ AddTransform()
void Base::InstanceRendererBase::AddTransform |
( |
const Math::matrix44 & | matrix | ) |
|
◆ BeginUpdate()
void Base::InstanceRendererBase::BeginUpdate |
( |
SizeT | amount | ) |
|
begins transform updates, clears transform array
◆ Close()
void Base::InstanceRendererBase::Close |
( |
| ) |
|
◆ EndUpdate()
void Base::InstanceRendererBase::EndUpdate |
( |
| ) |
|
ends transform updates
Assumes all transforms has been set.
Calculate remaining transforms.
◆ GetShader()
const Ptr< CoreGraphics::Shader > & Base::InstanceRendererBase::GetShader |
( |
| ) |
const |
|
inline |
◆ Render()
void Base::InstanceRendererBase::Render |
( |
const SizeT | multiplier | ) |
|
|
virtual |
◆ SetInstanceMultiplier()
void Base::InstanceRendererBase::SetInstanceMultiplier |
( |
SizeT | multiplier | ) |
|
set instancing render multiplier
◆ SetShader()
void Base::InstanceRendererBase::SetShader |
( |
const Ptr< CoreGraphics::Shader > & | shader | ) |
|
|
inline |
◆ Setup()
void Base::InstanceRendererBase::Setup |
( |
| ) |
|
◆ inBeginUpdate
bool Base::InstanceRendererBase::inBeginUpdate |
|
protected |
◆ isOpen
bool Base::InstanceRendererBase::isOpen |
|
protected |
◆ modelTransforms
Util::Array<Math::matrix44> Base::InstanceRendererBase::modelTransforms |
|
protected |
◆ modelViewProjectionTransforms
Util::Array<Math::matrix44> Base::InstanceRendererBase::modelViewProjectionTransforms |
|
protected |
◆ modelViewTransforms
Util::Array<Math::matrix44> Base::InstanceRendererBase::modelViewTransforms |
|
protected |
◆ objectIds
◆ shader
Ptr<CoreGraphics::Shader> Base::InstanceRendererBase::shader |
|
protected |
The documentation for this class was generated from the following files: