#include <OgreComputeTools.h>
◆ ComputeTools()
Ogre::ComputeTools::ComputeTools |
( |
HlmsCompute * |
hlmsCompute | ) |
|
◆ clearUav()
void Ogre::ComputeTools::clearUav |
( |
TextureGpu * |
texture, |
|
|
uint32 |
clearValue[4] |
|
) |
| |
Clears the whole texture to the given bit pattern.
- Parameters
-
texture | Texture to clear. Must be UAV. |
clearValue | Bit pattern to clear to |
◆ clearUavFloat()
void Ogre::ComputeTools::clearUavFloat |
( |
TextureGpu * |
texture, |
|
|
float |
clearValue[4] |
|
) |
| |
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()
void Ogre::ComputeTools::clearUavUint |
( |
TextureGpu * |
texture, |
|
|
uint32 |
clearValue[4] |
|
) |
| |
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 |
The documentation for this class was generated from the following file: