#include <wgsl_diagnostics.hpp>
Public Types | |
| enum class | Severity : std::uint8_t { error , warning , info } |
Public Attributes | |
| Severity | severity = Severity::error |
| std::uint32_t | line = 0 |
| 1-based line, or 0 when the message has no source position (a pipeline-level validation error, for example). | |
| std::uint32_t | column = 0 |
| 1-based column, or 0 with line. | |
| std::string | message |
|
strong |
| std::uint32_t pulp::render::WgslDiagnostic::column = 0 |
1-based column, or 0 with line.
| std::uint32_t pulp::render::WgslDiagnostic::line = 0 |
1-based line, or 0 when the message has no source position (a pipeline-level validation error, for example).
| std::string pulp::render::WgslDiagnostic::message |
| Severity pulp::render::WgslDiagnostic::severity = Severity::error |