class

RHIParticleRenderer

Module
Particles
Header
#include "Particles/RHIParticleRenderer.h"
Namespace
Mowo

Constructors

SignatureNameDescription
RHIParticleRenderer() = defaultRHIParticleRenderer
~RHIParticleRenderer() override = default~RHIParticleRenderer

Public functions

ReturnsNameDescription
boolInitialize
voidShutdown
voidSetTargetFramebufferSet the target framebuffer spec (must be called before Initialize)
voidRender
voidRenderWithDSRender with externally-owned depth DS (avoids shared DS invalidation)
Ref<DescriptorSet>AllocateDepthDSAllocate a depth DS from the pipeline layout (caller owns it)
Ref<Sampler>GetNearestSamplerGet sampler for external DS setup
voidSetViewportSize
boolIsInitialized

Function details

RHIParticleRenderer

C++
RHIParticleRenderer() = default

~RHIParticleRenderer

C++
~RHIParticleRenderer() override = default

Initialize

C++
bool Initialize(const std::string& vfsShaderPath) override

Shutdown

C++
void Shutdown() override

SetTargetFramebuffer

C++
void SetTargetFramebuffer(const FramebufferSpecification& spec) override

Set the target framebuffer spec (must be called before Initialize)

Render

C++
void Render(const Mat4& viewProjection, bool depthTest) override

RenderWithDS

C++
void RenderWithDS(const Mat4& viewProjection, Ref<DescriptorSet> depthDS, uint32_t viewportWidth, uint32_t viewportHeight) override

Render with externally-owned depth DS (avoids shared DS invalidation)

AllocateDepthDS

C++
Ref<DescriptorSet> AllocateDepthDS(const std::string& debugName) override

Allocate a depth DS from the pipeline layout (caller owns it)

GetNearestSampler

C++
Ref<Sampler> GetNearestSampler() const override

Get sampler for external DS setup

SetViewportSize

C++
void SetViewportSize(uint32_t w, uint32_t h)

IsInitialized

C++
bool IsInitialized() const
Generated from Particles/RHIParticleRenderer.h via particles.json · Oct 31, 2026Version 1.0.0