#include <OgreComputeTools.h>
◆ ComputeTools()
Ogre::ComputeTools::ComputeTools |
( |
HlmsCompute * |
hlmsCompute | ) |
|
◆ clearUav()
Clears the whole texture to the given bit pattern.
- Parameters
-
texture | Texture to clear. Must be UAV. |
clearValue | Bit pattern to clear to |
◆ clearUavFloat()
Same as ComputeTools::clearUav but specifically for floats, and asserts if the texture is of integer format (i.e.
it's not float, half, unorm, snorm)
- See also
- ComputeTools::clearUav
- Parameters
-
texture | Texture to clear. Must be UAV. |
clearValue | Value to clear to |
◆ clearUavUint()
Same as ComputeTools::clearUav but specifically for floats, and asserts if the texture is not of integer (signed or unsigned) format (i.e.
it's float, half, unorm, snorm)
- See also
- ComputeTools::clearUav
- Parameters
-
texture | Texture to clear. Must be UAV. |
clearValue | Value to clear to |
◆ prepareForUavClear()
Note: It does NOT clear resourceTransitions.
The documentation for this class was generated from the following file: