Function clearUAV

Summary

#include <Source/Falcor/Core/API/ComputeContext.h>

(1) void clearUAV(const UnorderedAccessView *pUav, const float4 &value)

(2) void clearUAV(const UnorderedAccessView *pUav, const uint4 &value)

Function overload

Synopsis

#include <Source/Falcor/Core/API/ComputeContext.h>

void clearUAV(const UnorderedAccessView *pUav, const float4 &value)

Description

Clear an unordered-access view

Parameters:

[ in ] pUav - The UAV to clear

[ in ] value - The clear value

Source

Lines 136-140 in Source/Falcor/Core/API/D3D12/D3D12ComputeContext.cpp. Line 62 in Source/Falcor/Core/API/ComputeContext.h.

void ComputeContext::clearUAV(const UnorderedAccessView* pUav, const float4& value)
{
    clearUavCommon(this, pUav, value, mpLowLevelData->getCommandList().GetInterfacePtr());
    mCommandsPending = true;
}

Synopsis

#include <Source/Falcor/Core/API/ComputeContext.h>

void clearUAV(const UnorderedAccessView *pUav, const uint4 &value)

Description

Clear an unordered-access view

Parameters:

[ in ] pUav - The UAV to clear

[ in ] value - The clear value

Source

Lines 142-146 in Source/Falcor/Core/API/D3D12/D3D12ComputeContext.cpp. Line 68 in Source/Falcor/Core/API/ComputeContext.h.

void ComputeContext::clearUAV(const UnorderedAccessView* pUav, const uint4& value)
{
    clearUavCommon(this, pUav, value, mpLowLevelData->getCommandList().GetInterfacePtr());
    mCommandsPending = true;
}





Add Discussion as Guest

Log in to DocsForge