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

A host-supplied installer for Dawn's process-global proc table. More...

#include <gpu_proc_installer.hpp>

Public Attributes

bool(* install )(void *context, std::string *error) = nullptr
void * context = nullptr

Detailed Description

A host-supplied installer for Dawn's process-global proc table.

install returns true when Dawn calls may proceed, either because it installed the table or because it verified that it is already installed. On false it may write a human-readable reason to *error (which may be null). It is called with an internal lock held, at most once concurrently, and must not create a GpuSurface or GpuCompute itself.

Member Data Documentation

◆ context

void* pulp::render::DawnProcInstaller::context = nullptr

◆ install

bool(* pulp::render::DawnProcInstaller::install) (void *context, std::string *error) = nullptr

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