Class MipmappingGenerator
Generates mipmap levels using a low-level compute pipeline.
Namespace: Evergine.DirectX12
Assembly: Evergine.DirectX12.dll
Syntax
public class MipmappingGenerator
Methods
Dispose()
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
Declaration
public void Dispose()
GenerateMipmap(CommandBuffer, Texture)
Generates the mipmap levels for the given texture using an existing command buffer.
Declaration
public void GenerateMipmap(CommandBuffer commandBuffer, Texture texture)
Parameters
| Type | Name | Description |
|---|---|---|
| CommandBuffer | commandBuffer | The command buffer used to record the mipmapping commands. |
| Texture | texture | The texture for which to generate mipmap levels. |