8 #include "gnomonmesh.h"
9 #include "rendercomponent.h"
10 #include "materialinstance.h"
13 #include <nap/resourceptr.h>
14 #include <transformcomponent.h>
18 class RenderGnomonComponentInstance;
32 float mLineWidth = 1.0f;
38 virtual void getDependentComponents(std::vector<rtti::TypeInfo>& components)
const override;
61 virtual void onDraw(
IRenderTarget& renderTarget, VkCommandBuffer commandBuffer,
const glm::mat4& viewMatrix,
const glm::mat4& projectionMatrix)
override;
81 float mLineWidth = 1.0f;
Definition: rendercomponent.h:46
Definition: rendergnomoncomponent.h:25
RenderGnomonComponentInstance(EntityInstance &entity, Component &resource)
Definition: rendergnomoncomponent.h:51
Definition: irendertarget.h:21
Definition: cameracomponent.h:38
Definition: objectptr.h:154
EDepthMode
Definition: materialcommon.h:40
Definition: errorstate.h:19
Definition: rendergnomoncomponent.h:47
ResourcePtr< GnomonMesh > mMesh
Property: 'Gnomon' the Gnomon mesh this component renders.
Definition: rendergnomoncomponent.h:31
virtual bool isSupported(nap::CameraComponentInstance &camera) const override
Definition: rendergnomoncomponent.h:66
Definition: renderservice.h:275
Definition: rendercomponent.h:29
Definition: component.h:151
Definition: renderablemesh.h:22
Definition: materialinstance.h:297
Definition: templateapp.h:17
@ ReadWrite
Read and write depth.
Definition: materialinstance.h:68