Nebula
Loading...
Searching...
No Matches
vkinstancerenderer.h
Go to the documentation of this file.
1#pragma once
2//------------------------------------------------------------------------------
8//------------------------------------------------------------------------------
9#include "core/refcounted.h"
11#include "coregraphics/constantbuffer.h"
12
13namespace Vulkan
14{
43} // namespace Vulkan
Definition instancerendererbase.h:19
Nebula's smart pointer class which manages the life time of RefCounted objects.
Definition ptr.h:38
Definition vkinstancerenderer.h:16
__DeclareClass(VkInstanceRenderer)
void Render(const SizeT multiplier)
render
Definition vkinstancerenderer.cc:76
Ptr< CoreGraphics::ShaderVariable > instancingBlockVar
Definition vkinstancerenderer.h:34
Ptr< CoreGraphics::ShaderState > shaderState
Definition vkinstancerenderer.h:32
Ptr< CoreGraphics::ConstantBuffer > instancingBuffer
Definition vkinstancerenderer.h:33
Ptr< CoreGraphics::ShaderVariable > idArrayVar
Definition vkinstancerenderer.h:39
virtual ~VkInstanceRenderer()
destructor
Definition vkinstancerenderer.cc:28
Ptr< CoreGraphics::ShaderVariable > modelViewArrayVar
Definition vkinstancerenderer.h:37
void Setup()
setup renderer
Definition vkinstancerenderer.cc:37
void Close()
close rendered
Definition vkinstancerenderer.cc:57
Ptr< CoreGraphics::ShaderVariable > modelArrayVar
Definition vkinstancerenderer.h:36
Ptr< CoreGraphics::ShaderVariable > modelViewProjectionArrayVar
Definition vkinstancerenderer.h:38
VkInstanceRenderer()
constructor
Definition vkinstancerenderer.cc:20
static const int MaxInstancesPerBatch
Definition vkinstancerenderer.h:41
Vulkan implementation of GPU acceleration structure.
Definition vkaccelerationstructure.cc:15
int SizeT
Definition types.h:49