FNiagaraGPUInstanceCountManager::AddDrawIndirect

Add a draw indirect task to generate the draw indirect args.

Windows
MacOS
Linux

References

Module

Niagara

Header

/Engine/Plugins/FX/Niagara/Source/Niagara/Classes/NiagaraGPUInstanceCountManager.h

Include

#include "NiagaraGPUInstanceCountManager.h"

Source

/Engine/Plugins/FX/Niagara/Source/Niagara/Private/NiagaraGPUInstanceCountManager.cpp

Syntax

uint32 AddDrawIndirect
(
    uint32 InstanceCountBufferOffset,
    uint32 NumIndicesPerInstance,
    uint32 StartIndexLocation
)

Remarks

Add a draw indirect task to generate the draw indirect args. Returns the draw indirect arg buffer offset.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss