VTK  9.7.20261127
vtkWebGPUSlangInternals Class Reference

#include <vtkWebGPUSlangInternals.h>

Detailed Description

Definition at line 19 of file vtkWebGPUSlangInternals.h.

Classes

struct  Program

Public Types

using Parameters = vtkSlangShaderManager::Plan

Static Public Member Functions

static const Program & GetSurfaceProgram ()
static bool IsRequested (vtkShaderProperty *property)
static bool GetGlobalRequest ()
static void SetGlobalRequest (bool request)
static vtkMTimeType GetRequestMTime (vtkShaderProperty *property)
static std::string GetUnsupportedCustomizations (vtkShaderProperty *property)
static std::string GetIgnoredSpecializations (const Program &program, vtkShaderProperty *property)
static void ReportIgnoredSpecializations (vtkObject *reporter, const Program &program, vtkShaderProperty *property, std::string &reported)
static bool Compile (vtkShaderProperty *property, const vtkSlangShaderManager::StringPairs &defines, std::string &wgsl, Parameters &parameters, std::string &error, const std::string &label=std::string())
static bool Compile (const Program &program, vtkShaderProperty *property, const vtkSlangShaderManager::StringPairs &defines, std::string &wgsl, Parameters &parameters, std::string &error, const std::string &label=std::string(), std::string *customizationError=nullptr)

Static Public Attributes

static constexpr std::uint32_t ParameterBinding = 16

Member Typedef Documentation

◆ Parameters

Member Function Documentation

◆ GetSurfaceProgram()

const Program & vtkWebGPUSlangInternals::GetSurfaceProgram ( )
static

◆ IsRequested()

bool vtkWebGPUSlangInternals::IsRequested ( vtkShaderProperty * property)
static

◆ GetGlobalRequest()

bool vtkWebGPUSlangInternals::GetGlobalRequest ( )
static

◆ SetGlobalRequest()

void vtkWebGPUSlangInternals::SetGlobalRequest ( bool request)
static

◆ GetRequestMTime()

vtkMTimeType vtkWebGPUSlangInternals::GetRequestMTime ( vtkShaderProperty * property)
static

◆ GetUnsupportedCustomizations()

std::string vtkWebGPUSlangInternals::GetUnsupportedCustomizations ( vtkShaderProperty * property)
static

◆ GetIgnoredSpecializations()

std::string vtkWebGPUSlangInternals::GetIgnoredSpecializations ( const Program & program,
vtkShaderProperty * property )
static

◆ ReportIgnoredSpecializations()

void vtkWebGPUSlangInternals::ReportIgnoredSpecializations ( vtkObject * reporter,
const Program & program,
vtkShaderProperty * property,
std::string & reported )
static

◆ Compile() [1/2]

bool vtkWebGPUSlangInternals::Compile ( vtkShaderProperty * property,
const vtkSlangShaderManager::StringPairs & defines,
std::string & wgsl,
Parameters & parameters,
std::string & error,
const std::string & label = std::string() )
static

◆ Compile() [2/2]

bool vtkWebGPUSlangInternals::Compile ( const Program & program,
vtkShaderProperty * property,
const vtkSlangShaderManager::StringPairs & defines,
std::string & wgsl,
Parameters & parameters,
std::string & error,
const std::string & label = std::string(),
std::string * customizationError = nullptr )
static

Member Data Documentation

◆ ParameterBinding

std::uint32_t vtkWebGPUSlangInternals::ParameterBinding = 16
staticconstexpr

Definition at line 22 of file vtkWebGPUSlangInternals.h.


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