diff options
| author | skal <pascal.massimino@gmail.com> | 2026-02-14 14:03:58 +0100 |
|---|---|---|
| committer | skal <pascal.massimino@gmail.com> | 2026-02-14 14:03:58 +0100 |
| commit | 61ced8aa1946cc32de4328cc75b5faf6b77723be (patch) | |
| tree | 142bad05c24362d7051e80acabaddd6bac2bb753 /doc/CODING_STYLE.md | |
| parent | 197a03c24baba3acc35327e0e126ec49754f9945 (diff) | |
Refactor: add gpu_create_texture_view_2d helper
Reduces WGPUTextureViewDescriptor boilerplate from 5-7 lines to 1-2.
Helper supports optional mip_levels parameter (defaults to 1).
Updated 17 call sites across gpu/, tests/, and tools/.
Net: -82 lines. All tests passing (34/34).
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
Diffstat (limited to 'doc/CODING_STYLE.md')
0 files changed, 0 insertions, 0 deletions
