|
Nebula
|
#include <vkinstanceserver.h>
Inherits Base::InstanceServerBase.
Public Member Functions | |
| VkInstanceServer () | |
| constructor | |
| virtual | ~VkInstanceServer () |
| destructor | |
| bool | Open () |
| opens server | |
| void | Close () |
| close server | |
| void | Render (IndexT frameIndex) |
| render | |
Public Member Functions inherited from Base::InstanceServerBase | |
| InstanceServerBase () | |
| constructor | |
| virtual | ~InstanceServerBase () |
| destructor | |
| bool | IsOpen () const |
| return if InstanceServerBase is open | |
| void | BeginInstancing (const Ptr< Models::ModelNode > &modelNode, const SizeT multiplier, const Ptr< CoreGraphics::Shader > &shader, const IndexT &pass) |
| begins adding model instances to server | |
| void | AddInstance (const IndexT &instanceCode, const Ptr< Models::ModelNodeInstance > &instance) |
| adds instance to current model | |
| void | EndInstancing () |
| ends adding model instances | |
Public Member Functions inherited from Core::RefCounted | |
| RefCounted () | |
| constructor | |
| int | GetRefCount () const |
| get the current refcount | |
| void | AddRef () |
| increment refcount by one | |
| void | Release () |
| decrement refcount and destroy object if refcount is zero | |
| bool | IsInstanceOf (const Rtti &rtti) const |
| return true if this object is instance of given class | |
| bool | IsInstanceOf (const Util::String &className) const |
| return true if this object is instance of given class by string | |
| bool | IsInstanceOf (const Util::FourCC &classFourCC) const |
| return true if this object is instance of given class by fourcc | |
| bool | IsA (const Rtti &rtti) const |
| return true if this object is instance of given class, or a derived class | |
| bool | IsA (const Util::String &rttiName) const |
| return true if this object is instance of given class, or a derived class, by string | |
| bool | IsA (const Util::FourCC &rttiFourCC) const |
| return true if this object is instance of given class, or a derived class, by fourcc | |
| const Util::String & | GetClassName () const |
| get the class name | |
| Util::FourCC | GetClassFourCC () const |
| get the class FourCC code | |
Private Member Functions | |
| __DeclareSingleton (VkInstanceServer) | |
| __DeclareClass (VkInstanceServer) | |
Private Attributes | |
| CoreGraphics::ShaderFeature::Mask | instancingFeatureBits |
Additional Inherited Members | |
Static Public Member Functions inherited from Core::RefCounted | |
| static void | DumpRefCountingLeaks () |
| dump refcounting leaks, call at end of application (NEBULA_DEBUG builds only!) | |
Protected Member Functions inherited from Core::RefCounted | |
| virtual | ~RefCounted () |
| destructor (called when refcount reaches zero) | |
Protected Attributes inherited from Base::InstanceServerBase | |
| IndexT | pass |
| Ptr< CoreGraphics::Shader > | shader |
| Ptr< Instancing::InstanceRenderer > | renderer |
| Ptr< Models::ModelNode > | modelNode |
| Util::Dictionary< IndexT, Util::Array< Ptr< Models::ModelNodeInstance > > > | instancesByCode |
| bool | isBeginInstancing |
| bool | isOpen |
| SizeT | multiplier |
| Vulkan::VkInstanceServer::VkInstanceServer | ( | ) |
constructor
|
virtual |
destructor
|
private |
|
private |
|
virtual |
close server
Reimplemented from Base::InstanceServerBase.
|
virtual |
opens server
Reimplemented from Base::InstanceServerBase.
|
virtual |
render
Reimplemented from Base::InstanceServerBase.
|
private |