An open API service providing package, version and dependency metadata of many open source software ecosystems and registries.

github.com/gogpu/gputypes

Package gputypes provides WebGPU type definitions for the gogpu ecosystem. gputypes is the single source of truth for WebGPU types, providing all enums, structs, and constants used across the ecosystem. It has ZERO external dependencies, making it the foundation package that all other packages can safely import. gputypes sits at the bottom of the dependency graph: The package provides types in several categories: Texture types: TextureFormat, TextureUsage, TextureDimension, TextureDescriptor, etc. Buffer types: BufferUsage, BufferDescriptor, IndexFormat, etc. Sampler types: AddressMode, FilterMode, CompareFunction, SamplerDescriptor, etc. Render types: BlendState, BlendFactor, BlendOperation, PrimitiveTopology, etc. Shader types: ShaderStage, ShaderModuleDescriptor, etc. Vertex types: VertexFormat, VertexStepMode, VertexAttribute, etc. Binding types: BindGroupLayoutEntry, BufferBindingLayout, TextureBindingLayout, etc. Adapter types: DeviceType, AdapterInfo, PowerPreference, Backend, etc. Limits and Features: Limits struct, Features flags, etc. Geometry types: Extent3D, Origin3D, Color, etc. Import the package and use types directly: Types follow the W3C WebGPU specification: https://www.w3.org/TR/webgpu/ Naming conventions follow wgpu-types (Rust) where applicable: https://docs.rs/wgpu-types

Ecosystem
proxy.golang.org
Latest Release
v0.2.0
about 1 month ago
Versions
2
Links
Registry proxy.golang.org
Source Repository
Docs Documentation
JSON API View JSON
CodeMeta codemeta.json
Package Details
PURL pkg:golang/github.com/gogpu/gputypes
spec
License MIT
Namespace github.com/gogpu
First Release about 1 month ago
Last Synced about 5 hours ago
Repository
Stars 0 on GitHub
Forks 0 on GitHub
Rankings on proxy.golang.org
Overall Top 1.0%