Donner SVG main
0.8.0 ยท 382bd0190.8.0 main
SVG editor and embeddable C⁠+⁠+⁠20 engine.
Loading...
Searching...
No Matches
donner::gpu::shader::wgsl::detail::NameBuckets< N > Struct Template Reference

Indices of a name table grouped by first byte, so a lookup compares only the names that share the candidate's first byte. More...

#include "donner/gpu/shader/wgsl/Parser.h"

Public Attributes

uint8_t order [N] = {}
 Table indices, grouped by first byte in table order.
uint8_t begin [257] = {}
 Names starting with byte c are order[begin[c]..begin[c+1]).

Detailed Description

template<size_t N>
struct donner::gpu::shader::wgsl::detail::NameBuckets< N >

Indices of a name table grouped by first byte, so a lookup compares only the names that share the candidate's first byte.

Member Data Documentation

◆ begin

template<size_t N>
uint8_t donner::gpu::shader::wgsl::detail::NameBuckets< N >::begin[257] = {}

Names starting with byte c are order[begin[c]..begin[c+1]).

◆ order

template<size_t N>
uint8_t donner::gpu::shader::wgsl::detail::NameBuckets< N >::order[N] = {}

Table indices, grouped by first byte in table order.


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