Foundation
Loading...
Searching...
No Matches
Namespaces | Functions
CSMipGeneration.hpp File Reference
#include <RenderCore/Renderer.hpp>
#include "RHICore/Device.hpp"

Go to the source code of this file.

Namespaces

namespace  Foundation
 
namespace  Foundation::RenderUtils
 

Functions

void Foundation::RenderUtils::createCSMipGenerationPasses (Renderer *renderer, StringView name, RHIDeviceQueueType queue, ResourceHandle src, ResourceHandle dst, RHIResourceFormat srcFormat, RHIResourceFormat dstFormat, RHITextureAspectFlagBits srcAspect, RHITextureAspectFlagBits dstAspect, ResourceHandle srcSampler, uint32_t numMips, uint32_t layer=0)
 Generates full mip-chain with multiple compute dispatches.
 
void Foundation::RenderUtils::createCSMipGenerationSinglePass (Renderer *renderer, StringView name, RHIDeviceQueueType queue, ResourceHandle src, ResourceHandle dst, RHIResourceFormat srcFormat, RHIResourceFormat dstFormat, RHITextureAspectFlag srcAspect, RHITextureAspectFlag dstAspect, ResourceHandle srcSampler, uint numMips, uint numLayer=1, RHIDeviceSampler::SamplerDesc::Reduction reduction=RHIDeviceSampler::SamplerDesc::Reduction::WeightedAverage)
 Generates full mip-chain with a single compute dispatch.