Pulp 1.88.0
Cross-platform audio plugin framework
Loading...
Searching...
No Matches
pulp::render::WgslDiagnostic Struct Reference

#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

Member Enumeration Documentation

◆ Severity

enum class pulp::render::WgslDiagnostic::Severity : std::uint8_t
strong
Enumerator
error 
warning 
info 

Member Data Documentation

◆ column

std::uint32_t pulp::render::WgslDiagnostic::column = 0

1-based column, or 0 with line.

◆ 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).

◆ message

std::string pulp::render::WgslDiagnostic::message

◆ severity

Severity pulp::render::WgslDiagnostic::severity = Severity::error

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