Class DenoiserBase
Assembly: Unity.Rendering.Denoising.Runtime.dll
Syntax
public abstract class DenoiserBase
Fields
m_ActiveAOV
Declaration
protected bool m_ActiveAOV
Field Value
m_ActiveBacked
Declaration
protected DenoiserType m_ActiveBacked
Field Value
m_ActiveHeight
Declaration
protected int m_ActiveHeight
Field Value
m_ActiveWidth
Declaration
protected int m_ActiveWidth
Field Value
m_DenoiserBackend
Declaration
protected IntPtr m_DenoiserBackend
Field Value
m_FilterHint
Declaration
protected DenoiserBase.FilterHint m_FilterHint
Field Value
m_InternalState
Declaration
protected DenoiserBase.State m_InternalState
Field Value
m_RequestHeight
Declaration
protected int m_RequestHeight
Field Value
m_RequestWidth
Declaration
protected int m_RequestWidth
Field Value
m_Temporal
Declaration
protected bool m_Temporal
Field Value
m_TileHeight
Declaration
protected int m_TileHeight
Field Value
m_TileWidth
Declaration
protected int m_TileWidth
Field Value
m_Type
Declaration
protected DenoiserType m_Type
Field Value
m_UseAOV
Declaration
Field Value
Properties
filterHint
The denoising filter you have selected.
Declaration
public DenoiserBase.FilterHint filterHint { get; }
Property Value
type
The denoiser backend type that is used for the denoising operations.
Declaration
public DenoiserType type { get; }
Property Value
Methods
DisposeDenoiser()
Declaration
public void DisposeDenoiser()
IsDenoiserTypeSupported(DenoiserType)
Checks if a denoiser backend type is available on the current hardware configuration.
Declaration
public static bool IsDenoiserTypeSupported(DenoiserType type)
Parameters
Type |
Name |
Description |
DenoiserType |
type |
The denoiser backend type to check for.
|
Returns
Type |
Description |
bool |
Returns true if the denoiser type is available, false otherwise.
|
udnCreateDenoiser(StringBuilder, int, int, int, int, int, FilterHint)
Declaration
protected static extern IntPtr udnCreateDenoiser(StringBuilder backEnd, int width, int height, int tilex, int tiley, int temporal, DenoiserBase.FilterHint mode)
Parameters
Returns
udnDenoiseBuffer(IntPtr, StringBuilder, void*, GraphicsFormat)
Declaration
protected static extern int udnDenoiseBuffer(IntPtr denoiser, StringBuilder bufferType, void* data, GraphicsFormat format)
Parameters
Returns
udnDisposeDenoiser(IntPtr)
Declaration
protected static extern void udnDisposeDenoiser(IntPtr denoiser)
Parameters
Type |
Name |
Description |
IntPtr |
denoiser |
|
udnGetResult(IntPtr, void*)
Declaration
protected static extern int udnGetResult(IntPtr denoiser, void* data)
Parameters
Returns
udnSetPath(IntPtr, StringBuilder)
Declaration
protected static extern int udnSetPath(IntPtr denoiser, StringBuilder bufferType)
Parameters
Returns
Did you find this page useful? Please give it a rating:
Thanks for rating this page!
What kind of problem would you like to report?
Thanks for letting us know! This page has been marked for review based on your feedback.
If you have time, you can provide more information to help us fix the problem faster.
Provide more information
You've told us this page needs code samples. If you'd like to help us further, you could provide a code sample, or tell us about what kind of code sample you'd like to see:
You've told us there are code samples on this page which don't work. If you know how to fix it, or have something better we could use instead, please let us know:
You've told us there is information missing from this page. Please tell us more about what's missing:
You've told us there is incorrect information on this page. If you know what we should change to make it correct, please tell us:
You've told us this page has unclear or confusing information. Please tell us more about what you found unclear or confusing, or let us know how we could make it clearer:
You've told us there is a spelling or grammar error on this page. Please tell us what's wrong:
You've told us this page has a problem. Please tell us more about what's wrong:
Thank you for helping to make the Unity documentation better!
Your feedback has been submitted as a ticket for our documentation team to review.
We are not able to reply to every ticket submitted.