Nebula
Toggle main menu visibility
Loading...
Searching...
No Matches
instanceserver.h
Go to the documentation of this file.
1
#pragma once
2
//------------------------------------------------------------------------------
12
//------------------------------------------------------------------------------
13
14
#if __VULKAN__
15
#include "
instancing/vk/vkinstanceserver.h
"
16
namespace
Instancing
17
{
18
class
InstanceServer
:
public
Vulkan::VkInstanceServer
19
{
20
__DeclareClass
(
InstanceServer
);
21
__DeclareSingleton
(
InstanceServer
);
22
public
:
24
InstanceServer
();
26
virtual
~InstanceServer
();
27
};
28
}
// namespace Instancing
29
#else
30
#error "InstanceServer not implemented on this platform!"
31
#endif
32
InstanceServer
The instance server collects all instances of a model and render each node instanced,...
Vulkan::VkInstanceServer
Definition
vkinstanceserver.h:13
Instancing
Definition
instanceserverbase.h:19
__DeclareSingleton
#define __DeclareSingleton(type)
Definition
osxsingleton.h:24
__DeclareClass
#define __DeclareClass(type)
vkinstanceserver.h
code
render
instancing
instanceserver.h
Generated on
for Nebula. Dark theme by
Tilen Majerle
. All rights reserved.