#include <gpu_pass.hpp>
|
| static GpuRenderPassDesc | for_target (const GpuTarget &target, std::optional< std::array< float, 4 > > clear=std::array< float, 4 >{0.0f, 0.0f, 0.0f, 0.0f}) |
| | The target's color (cleared to clear) and its depth, if any.
|
◆ for_target()
| GpuRenderPassDesc pulp::render::GpuRenderPassDesc::for_target |
( |
const GpuTarget & | target, |
|
|
std::optional< std::array< float, 4 > > | clear = std::array< float, 4 >{0.0f, 0.0f, 0.0f, 0.0f} ) |
|
static |
The target's color (cleared to clear) and its depth, if any.
◆ colors
◆ depth
| std::optional<GpuTexture> pulp::render::GpuRenderPassDesc::depth |
◆ depth_clear
| std::optional<float> pulp::render::GpuRenderPassDesc::depth_clear = 1.0f |
Clear depth to this value; load when unset.
◆ label
| std::string pulp::render::GpuRenderPassDesc::label |
The documentation for this struct was generated from the following file:
- /home/runner/work/pulp/pulp/core/render/include/pulp/render/gpu_pass.hpp