FGenerateMips

Windows
MacOS
Linux

References

Module

RenderCore

Header

/Engine/Source/Runtime/RenderCore/Public/GenerateMips.h

Include

#include "GenerateMips.h"

Syntax

class FGenerateMips

Functions

Name Description

Public function Static

void

 

Execute

(
    FRDGBuilder& GraphBuilder,
    FRDGTextureRef Texture,
    FGenerateMipsParams Params,
    EGenerateMipsPass Pass
)

(ES3.1+) Generates mips for the requested RHI texture using the feature-level appropriate means (Compute, Raster, or Fixed-Function).

Public function Static

void

 

Execute

(
    FRDGBuilder& GraphBuilder,
    FRDGTextureRef Texture,
    FRHISamplerState* Sampler,
    EGenerateMipsPass Pass
)

(SM5+) Generates mips for the requested RDG texture using the requested compute / raster pass.

Public function Static

void

 

ExecuteCompute

(
    FRDGBuilder& GraphBuilder,
    FRDGTextureRef Texture,
    FRHISamplerState* Sampler
)

Public function Static

void

 

ExecuteRaster

(
    FRDGBuilder& GraphBuilder,
    FRDGTextureRef Texture,
    FRHISamplerState* Sampler
)

Deprecated Functions

Name Description

Public function Static

void

 

Execute

(
    FRHICommandListImmediate& RHICmdLi...,
    FRHITexture* Texture,
    FGenerateMipsParams Params,
    bool bAllowRenderBasedGeneration
)

Please use the FRDGBuilder version of this function instead.

Public function Static

void

 

Execute

(
    FRHICommandListImmediate& RHICmdLi...,
    FRHITexture* Texture,
    TSharedPtr< FGenerateMipsStruct >&...,
    FGenerateMipsParams Params,
    bool bAllowRenderBasedGeneration
)

Please use the FRDGBuilder version of this function instead.

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