Engine²
Open-source game engine written in C++.
Loading...
Searching...
No Matches
Graphic::Resource::DepthOutput Struct Reference

#include <ARenderPass.hpp>

Public Member Functions

 DepthOutput (std::string_view textureId_={})

Public Attributes

entt::hashed_string textureId {}
std::optional< wgpu::TextureView > depthTextureView
wgpu::StoreOp storeOp = wgpu::StoreOp::Store
std::function< bool(Engine::Core &, float &)> getClearDepthCallback = [](Engine::Core &, float &) { return false; }

Constructor & Destructor Documentation

◆ DepthOutput()

Graphic::Resource::DepthOutput::DepthOutput ( std::string_view textureId_ = {})
inlineexplicit

Member Data Documentation

◆ depthTextureView

std::optional<wgpu::TextureView> Graphic::Resource::DepthOutput::depthTextureView

◆ getClearDepthCallback

std::function<bool(Engine::Core &, float &)> Graphic::Resource::DepthOutput::getClearDepthCallback = [](Engine::Core &, float &) { return false; }

◆ storeOp

wgpu::StoreOp Graphic::Resource::DepthOutput::storeOp = wgpu::StoreOp::Store

◆ textureId

entt::hashed_string Graphic::Resource::DepthOutput::textureId {}

The documentation for this struct was generated from the following file: