Nebula
Loading...
Searching...
No Matches
instancerenderer.h
Go to the documentation of this file.
1
#pragma once
2
//------------------------------------------------------------------------------
11
//------------------------------------------------------------------------------
12
#include "
core/refcounted.h
"
13
#include "
core/singleton.h
"
14
15
#if __VULKAN__
16
#include "
instancing/vk/vkinstancerenderer.h
"
17
namespace
Instancing
18
{
19
class
InstanceRenderer
:
public
Vulkan::VkInstanceRenderer
20
{
21
__DeclareClass
(
InstanceRenderer
);
22
__DeclareSingleton
(
InstanceRenderer
);
23
public
:
25
InstanceRenderer
();
27
virtual
~InstanceRenderer
();
28
};
29
}
// namespace Instancing
30
#else
31
#error "InstanceRenderer not implemented on this platform!"
32
#endif
33
InstanceRenderer
The instance renderer performs actual rendering and updating of shader variables for transforms.
Vulkan::VkInstanceRenderer
Definition
vkinstancerenderer.h:16
Instancing
Definition
instanceserverbase.h:19
__DeclareSingleton
#define __DeclareSingleton(type)
Definition
osxsingleton.h:24
refcounted.h
__DeclareClass
#define __DeclareClass(type)
singleton.h
vkinstancerenderer.h
code
render
instancing
instancerenderer.h
Generated on Thu Nov 14 2024 22:10:55 for Nebula. Dark theme by
Tilen Majerle
. All rights reserved.