Detailed operation to perform when binding a texture (starting a renderpass).
More...
#include <GPUTypes.hpp>
Detailed operation to perform when binding a texture (starting a renderpass).
◆ Operation
Type of operation to perform when binding a texture (starting a renderpass).
Enumerator |
---|
LOAD | Load existing data.
|
CLEAR | Clear existing data.
|
DONTCARE | Anything can be done, usually because we will overwrite data everywhere.
|
◆ Load() [1/4]
Specific operation
- Parameters
-
mod | the operation to perform |
◆ Load() [2/4]
Load::Load |
( |
const glm::vec4 & |
val | ) |
|
|
inline |
Clear color operation.
- Parameters
-
val | the color to clear with |
◆ Load() [3/4]
Clear depth operation.
- Parameters
-
val | the depth to clear with |
◆ Load() [4/4]
Clear stencil operation.
- Parameters
-
val | the stencil value to clear with |
The documentation for this struct was generated from the following file: