Versions in this module Expand all Collapse all v0 v0.0.2 Dec 29, 2025 v0.0.1 Jun 6, 2025 Changes in this version + const ArrayLayerCountUndefined + const CopyBufferAlignment + const CopyBytesPerRowAlignment + const CopyStrideUndefined + const LimitU32Undefined + const LimitU64Undefined + const MapAlignment + const MipLevelCountUndefined + const PushConstantAlignment + const QueryResolveBufferAlignment + const QuerySetMaxQueries + const QuerySize + const VertexStrideAlignment + const WholeMapSize + const WholeSize + var BlendComponentOver = BlendComponent + var BlendComponentReplace = BlendComponent + var BlendStateAlphaBlending = BlendState + var BlendStatePremultipliedAlphaBlending = BlendState + var BlendStateReplace = BlendState + var ColorBlack = Color + var ColorBlue = Color + var ColorGreen = Color + var ColorRed = Color + var ColorTransparent = Color + var ColorWhite = Color + func FromBytes[E any](src []byte) []E + func SetLogLevel(level LogLevel) + func ToBytes[E any](src []E) []byte + type Adapter struct + func (g Adapter) GetInfo() AdapterInfo + func (g Adapter) GetLimits() SupportedLimits + func (g Adapter) Release() + func (g Adapter) RequestDevice(descriptor *DeviceDescriptor) (*Device, error) + func (p *Adapter) EnumerateFeatures() []FeatureName + func (p *Adapter) GetInfo() AdapterInfo + func (p *Adapter) GetLimits() SupportedLimits + func (p *Adapter) HasFeature(feature FeatureName) bool + func (p *Adapter) Release() + func (p *Adapter) RequestDevice(descriptor *DeviceDescriptor) (*Device, error) + type AdapterInfo struct + AdapterType AdapterType + Architecture string + BackendType BackendType + DeviceId uint32 + DriverDescription string + Name string + VendorId uint32 + VendorName string + type AdapterType uint32 + const AdapterTypeCPU + const AdapterTypeDiscreteGPU + const AdapterTypeIntegratedGPU + const AdapterTypeUnknown + func (v AdapterType) String() string + type AddressMode uint32 + const AddressModeClampToEdge + const AddressModeMirrorRepeat + const AddressModeRepeat + func (v AddressMode) String() string + type BackendType uint32 + const BackendTypeD3D11 + const BackendTypeD3D12 + const BackendTypeMetal + const BackendTypeNull + const BackendTypeOpenGL + const BackendTypeOpenGLES + const BackendTypeUndefined + const BackendTypeVulkan + const BackendTypeWebGPU + func (v BackendType) String() string + type BindGroup struct + func (g BindGroup) Release() + func (p *BindGroup) Release() + type BindGroupDescriptor struct + Entries []BindGroupEntry + Label string + Layout *BindGroupLayout + type BindGroupEntry struct + Binding uint32 + Buffer *Buffer + Offset uint64 + Sampler *Sampler + Size uint64 + TextureView *TextureView + type BindGroupLayout struct + func (g BindGroupLayout) Release() + func (p *BindGroupLayout) Release() + type BindGroupLayoutDescriptor struct + Entries []BindGroupLayoutEntry + Label string + type BindGroupLayoutEntry struct + Binding uint32 + Buffer BufferBindingLayout + ExternalTexture ExternalTextureBindingLayout + Sampler SamplerBindingLayout + StorageTexture StorageTextureBindingLayout + Texture TextureBindingLayout + Visibility ShaderStage + type BlendComponent struct + DstFactor BlendFactor + Operation BlendOperation + SrcFactor BlendFactor + type BlendFactor uint32 + const BlendFactorConstant + const BlendFactorDst + const BlendFactorDstAlpha + const BlendFactorOne + const BlendFactorOneMinusConstant + const BlendFactorOneMinusDst + const BlendFactorOneMinusDstAlpha + const BlendFactorOneMinusSrc + const BlendFactorOneMinusSrcAlpha + const BlendFactorSrc + const BlendFactorSrcAlpha + const BlendFactorSrcAlphaSaturated + const BlendFactorZero + func (v BlendFactor) String() string + type BlendOperation uint32 + const BlendOperationAdd + const BlendOperationMax + const BlendOperationMin + const BlendOperationReverseSubtract + const BlendOperationSubtract + func (v BlendOperation) String() string + type BlendState struct + Alpha BlendComponent + Color BlendComponent + type Buffer struct + func (g Buffer) Destroy() + func (g Buffer) GetMappedRange(offset, size uint) []byte + func (g Buffer) GetSize() uint64 + func (g Buffer) MapAsync(mode MapMode, offset uint64, size uint64, callback BufferMapCallback) (err error) + func (g Buffer) Release() + func (g Buffer) Unmap() (err error) + func (p *Buffer) Destroy() + func (p *Buffer) GetMappedRange(offset, size uint) []byte + func (p *Buffer) GetSize() uint64 + func (p *Buffer) GetUsage() BufferUsage + func (p *Buffer) MapAsync(mode MapMode, offset uint64, size uint64, callback BufferMapCallback) (err error) + func (p *Buffer) Release() + func (p *Buffer) Unmap() (err error) + type BufferBindingLayout struct + HasDynamicOffset bool + MinBindingSize uint64 + Type BufferBindingType + type BufferBindingType uint32 + const BufferBindingTypeReadOnlyStorage + const BufferBindingTypeStorage + const BufferBindingTypeUndefined + const BufferBindingTypeUniform + func (v BufferBindingType) String() string + type BufferDescriptor struct + Label string + MappedAtCreation bool + Size uint64 + Usage BufferUsage + type BufferInitDescriptor struct + Contents []byte + Label string + Usage BufferUsage + type BufferMapAsyncStatus uint32 + const BufferMapAsyncStatusDestroyedBeforeCallback + const BufferMapAsyncStatusDeviceLost + const BufferMapAsyncStatusMappingAlreadyPending + const BufferMapAsyncStatusOffsetOutOfRange + const BufferMapAsyncStatusSizeOutOfRange + const BufferMapAsyncStatusSuccess + const BufferMapAsyncStatusUnknown + const BufferMapAsyncStatusUnmappedBeforeCallback + const BufferMapAsyncStatusValidationError + func (v BufferMapAsyncStatus) String() string + type BufferMapCallback func(BufferMapAsyncStatus) + type BufferMapState uint32 + const BufferMapStateMapped + const BufferMapStatePending + const BufferMapStateUnmapped + func (v BufferMapState) String() string + type BufferUsage uint32 + const BufferUsageCopyDst + const BufferUsageCopySrc + const BufferUsageIndex + const BufferUsageIndirect + const BufferUsageMapRead + const BufferUsageMapWrite + const BufferUsageNone + const BufferUsageQueryResolve + const BufferUsageStorage + const BufferUsageUniform + const BufferUsageVertex + func (v BufferUsage) String() string + type CanvasContext struct — js/wasm + func NewCanvasContext(jsValue js.Value) CanvasContext + func (g CanvasContext) GetCurrentTexture() Texture + type Color struct + A float64 + B float64 + G float64 + R float64 + type ColorTargetState struct + Blend *BlendState + Format TextureFormat + WriteMask ColorWriteMask + type ColorWriteMask uint32 + const ColorWriteMaskAll + const ColorWriteMaskAlpha + const ColorWriteMaskBlue + const ColorWriteMaskGreen + const ColorWriteMaskNone + const ColorWriteMaskRed + func (v ColorWriteMask) String() string + type CommandBuffer struct + func (g CommandBuffer) Release() + func (p *CommandBuffer) Release() + type CommandBufferDescriptor struct + Label string + type CommandEncoder struct + func (g CommandEncoder) BeginComputePass(descriptor *ComputePassDescriptor) *ComputePassEncoder + func (g CommandEncoder) BeginRenderPass(descriptor *RenderPassDescriptor) *RenderPassEncoder + func (g CommandEncoder) CopyBufferToBuffer(source *Buffer, sourceOffset uint64, destination *Buffer, ...) (err error) + func (g CommandEncoder) CopyBufferToTexture(source *ImageCopyBuffer, destination *ImageCopyTexture, copySize *Extent3D) (err error) + func (g CommandEncoder) CopyTextureToBuffer(source *ImageCopyTexture, destination *ImageCopyBuffer, copySize *Extent3D) (err error) + func (g CommandEncoder) CopyTextureToTexture(source *ImageCopyTexture, destination *ImageCopyTexture, copySize *Extent3D) (err error) + func (g CommandEncoder) Finish(descriptor *CommandBufferDescriptor) (*CommandBuffer, error) + func (g CommandEncoder) Release() + func (p *CommandEncoder) BeginComputePass(descriptor *ComputePassDescriptor) *ComputePassEncoder + func (p *CommandEncoder) BeginRenderPass(descriptor *RenderPassDescriptor) *RenderPassEncoder + func (p *CommandEncoder) ClearBuffer(buffer *Buffer, offset uint64, size uint64) (err error) + func (p *CommandEncoder) CopyBufferToBuffer(source *Buffer, sourceOffset uint64, destination *Buffer, ...) (err error) + func (p *CommandEncoder) CopyBufferToTexture(source *ImageCopyBuffer, destination *ImageCopyTexture, copySize *Extent3D) (err error) + func (p *CommandEncoder) CopyTextureToBuffer(source *ImageCopyTexture, destination *ImageCopyBuffer, copySize *Extent3D) (err error) + func (p *CommandEncoder) CopyTextureToTexture(source *ImageCopyTexture, destination *ImageCopyTexture, copySize *Extent3D) (err error) + func (p *CommandEncoder) Finish(descriptor *CommandBufferDescriptor) (*CommandBuffer, error) + func (p *CommandEncoder) InsertDebugMarker(markerLabel string) (err error) + func (p *CommandEncoder) PopDebugGroup() (err error) + func (p *CommandEncoder) PushDebugGroup(groupLabel string) (err error) + func (p *CommandEncoder) Release() + func (p *CommandEncoder) ResolveQuerySet(querySet *QuerySet, firstQuery uint32, queryCount uint32, destination *Buffer, ...) (err error) + func (p *CommandEncoder) WriteTimestamp(querySet *QuerySet, queryIndex uint32) (err error) + type CommandEncoderDescriptor struct + Label string + type CompareFunction uint32 + const CompareFunctionAlways + const CompareFunctionEqual + const CompareFunctionGreater + const CompareFunctionGreaterEqual + const CompareFunctionLess + const CompareFunctionLessEqual + const CompareFunctionNever + const CompareFunctionNotEqual + const CompareFunctionUndefined + func (v CompareFunction) String() string + type CompilationInfoRequestStatus uint32 + const CompilationInfoRequestStatusDeviceLost + const CompilationInfoRequestStatusError + const CompilationInfoRequestStatusSuccess + const CompilationInfoRequestStatusUnknown + func (v CompilationInfoRequestStatus) String() string + type CompilationMessageType uint32 + const CompilationMessageTypeError + const CompilationMessageTypeInfo + const CompilationMessageTypeWarning + func (v CompilationMessageType) String() string + type CompositeAlphaMode uint32 + const CompositeAlphaModeAuto + const CompositeAlphaModeInherit + const CompositeAlphaModeOpaque + const CompositeAlphaModePremultiplied + const CompositeAlphaModeUnpremultiplied + func (v CompositeAlphaMode) String() string + type ComputePassDescriptor struct + Label string + type ComputePassEncoder struct + func (g ComputePassEncoder) DispatchWorkgroups(workgroupCountX, workgroupCountY, workgroupCountZ uint32) + func (g ComputePassEncoder) End() + func (g ComputePassEncoder) Release() + func (g ComputePassEncoder) SetBindGroup(index uint32, bindGroup *BindGroup, dynamicOffsets []uint32) + func (g ComputePassEncoder) SetPipeline(pipeline *ComputePipeline) + func (p *ComputePassEncoder) BeginPipelineStatisticsQuery(querySet *QuerySet, queryIndex uint32) + func (p *ComputePassEncoder) DispatchWorkgroups(workgroupCountX, workgroupCountY, workgroupCountZ uint32) + func (p *ComputePassEncoder) DispatchWorkgroupsIndirect(indirectBuffer *Buffer, indirectOffset uint64) + func (p *ComputePassEncoder) End() (err error) + func (p *ComputePassEncoder) EndPipelineStatisticsQuery() + func (p *ComputePassEncoder) InsertDebugMarker(markerLabel string) + func (p *ComputePassEncoder) PopDebugGroup() + func (p *ComputePassEncoder) PushDebugGroup(groupLabel string) + func (p *ComputePassEncoder) Release() + func (p *ComputePassEncoder) SetBindGroup(groupIndex uint32, group *BindGroup, dynamicOffsets []uint32) + func (p *ComputePassEncoder) SetPipeline(pipeline *ComputePipeline) + type ComputePipeline struct + func (g ComputePipeline) GetBindGroupLayout(groupIndex uint32) *BindGroupLayout + func (g ComputePipeline) Release() + func (p *ComputePipeline) GetBindGroupLayout(groupIndex uint32) *BindGroupLayout + func (p *ComputePipeline) Release() + type ComputePipelineDescriptor struct + Compute ProgrammableStageDescriptor + Label string + Layout *PipelineLayout + type ConstantEntry struct — darwin/amd64, linux/amd64, windows/amd64 + Key string + Value float64 + type CreatePipelineAsyncStatus uint32 + const CreatePipelineAsyncStatusDeviceDestroyed + const CreatePipelineAsyncStatusDeviceLost + const CreatePipelineAsyncStatusInternalError + const CreatePipelineAsyncStatusSuccess + const CreatePipelineAsyncStatusUnknown + const CreatePipelineAsyncStatusValidationError + func (v CreatePipelineAsyncStatus) String() string + type CullMode uint32 + const CullModeBack + const CullModeFront + const CullModeNone + func (v CullMode) String() string + type DepthStencilState struct + DepthBias int32 + DepthBiasClamp float32 + DepthBiasSlopeScale float32 + DepthCompare CompareFunction + DepthWriteEnabled bool + Format TextureFormat + StencilBack StencilFaceState + StencilFront StencilFaceState + StencilReadMask uint32 + StencilWriteMask uint32 + type Device struct + func NewDevice(jsValue js.Value) Device + func (g Device) CreateBindGroup(descriptor *BindGroupDescriptor) (*BindGroup, error) + func (g Device) CreateBindGroupLayout(descriptor *BindGroupLayoutDescriptor) (*BindGroupLayout, error) + func (g Device) CreateBuffer(descriptor *BufferDescriptor) (*Buffer, error) + func (g Device) CreateCommandEncoder(descriptor *CommandEncoderDescriptor) (*CommandEncoder, error) + func (g Device) CreateComputePipeline(descriptor *ComputePipelineDescriptor) (*ComputePipeline, error) + func (g Device) CreatePipelineLayout(descriptor *PipelineLayoutDescriptor) (*PipelineLayout, error) + func (g Device) CreateRenderPipeline(descriptor *RenderPipelineDescriptor) (*RenderPipeline, error) + func (g Device) CreateSampler(descriptor *SamplerDescriptor) (*Sampler, error) + func (g Device) CreateShaderModule(desc *ShaderModuleDescriptor) (*ShaderModule, error) + func (g Device) CreateTexture(descriptor *TextureDescriptor) (*Texture, error) + func (g Device) GetLimits() SupportedLimits + func (g Device) GetQueue() *Queue + func (g Device) Poll(wait bool, wrappedSubmissionIndex *WrappedSubmissionIndex) (queueEmpty bool) + func (g Device) Release() + func (p *Device) CreateBindGroup(descriptor *BindGroupDescriptor) (*BindGroup, error) + func (p *Device) CreateBindGroupLayout(descriptor *BindGroupLayoutDescriptor) (*BindGroupLayout, error) + func (p *Device) CreateBuffer(descriptor *BufferDescriptor) (*Buffer, error) + func (p *Device) CreateBufferInit(descriptor *BufferInitDescriptor) (*Buffer, error) + func (p *Device) CreateCommandEncoder(descriptor *CommandEncoderDescriptor) (*CommandEncoder, error) + func (p *Device) CreateComputePipeline(descriptor *ComputePipelineDescriptor) (*ComputePipeline, error) + func (p *Device) CreatePipelineLayout(descriptor *PipelineLayoutDescriptor) (*PipelineLayout, error) + func (p *Device) CreateQuerySet(descriptor *QuerySetDescriptor) (*QuerySet, error) + func (p *Device) CreateRenderBundleEncoder(descriptor *RenderBundleEncoderDescriptor) (*RenderBundleEncoder, error) + func (p *Device) CreateRenderPipeline(descriptor *RenderPipelineDescriptor) (*RenderPipeline, error) + func (p *Device) CreateSampler(descriptor *SamplerDescriptor) (*Sampler, error) + func (p *Device) CreateShaderModule(descriptor *ShaderModuleDescriptor) (*ShaderModule, error) + func (p *Device) CreateTexture(descriptor *TextureDescriptor) (*Texture, error) + func (p *Device) EnumerateFeatures() []FeatureName + func (p *Device) GetLimits() SupportedLimits + func (p *Device) GetQueue() *Queue + func (p *Device) HasFeature(feature FeatureName) bool + func (p *Device) Poll(wait bool, wrappedSubmissionIndex *WrappedSubmissionIndex) (queueEmpty bool) + func (p *Device) Release() + type DeviceDescriptor struct + DeviceLostCallback DeviceLostCallback + Label string + RequiredFeatures []FeatureName + RequiredLimits *RequiredLimits + TracePath string + type DeviceLostCallback func(reason DeviceLostReason, message string) + type DeviceLostReason uint32 + const DeviceLostReasonDestroyed + const DeviceLostReasonUnknown + func (v DeviceLostReason) String() string + type Dx12Compiler uint32 + const Dx12CompilerDxc + const Dx12CompilerFxc + const Dx12CompilerUndefined + func (v Dx12Compiler) String() string + type Error struct + Message string + Type ErrorType + func (v *Error) Error() string + type ErrorFilter uint32 + const ErrorFilterInternal + const ErrorFilterOutOfMemory + const ErrorFilterValidation + func (v ErrorFilter) String() string + type ErrorType uint32 + const ErrorTypeDeviceLost + const ErrorTypeInternal + const ErrorTypeNoError + const ErrorTypeOutOfMemory + const ErrorTypeUnknown + const ErrorTypeValidation + func (v ErrorType) String() string + type Extent3D struct + DepthOrArrayLayers uint32 + Height uint32 + Width uint32 + type ExternalTextureBindingLayout struct — js/wasm + type FeatureName uint32 + const FeatureNameBGRA8UnormStorage + const FeatureNameDepth32FloatStencil8 + const FeatureNameDepthClipControl + const FeatureNameFloat32Filterable + const FeatureNameIndirectFirstInstance + const FeatureNameRG11B10UfloatRenderable + const FeatureNameShaderF16 + const FeatureNameTextureCompressionASTC + const FeatureNameTextureCompressionBC + const FeatureNameTextureCompressionETC2 + const FeatureNameTimestampQuery + const FeatureNameUndefined + const NativeFeatureBufferBindingArray + const NativeFeatureMappablePrimaryBuffers + const NativeFeatureMultiDrawIndirect + const NativeFeatureMultiDrawIndirectCount + const NativeFeaturePartiallyBoundBindingArray + const NativeFeaturePipelineStatisticsQuery + const NativeFeaturePushConstants + const NativeFeatureRayQuery + const NativeFeatureRayTracingAccelerationStructure + const NativeFeatureSampledTextureAndStorageBufferArrayNonUniformIndexing + const NativeFeatureShaderEarlyDepthTest + const NativeFeatureShaderF64 + const NativeFeatureShaderI16 + const NativeFeatureShaderPrimitiveIndex + const NativeFeatureShaderUnusedVertexOutput + const NativeFeatureStorageResourceBindingArray + const NativeFeatureTextureAdapterSpecificFormatFeatures + const NativeFeatureTextureBindingArray + const NativeFeatureTextureCompressionAstcHdr + const NativeFeatureTextureFormat16bitNorm + const NativeFeatureTextureFormatNv12 + const NativeFeatureUniformBufferAndStorageTextureArrayNonUniformIndexing + const NativeFeatureVertexAttribute64bit + const NativeFeatureVertexWritableStorage + func (v FeatureName) String() string + type FilterMode uint32 + const FilterModeLinear + const FilterModeNearest + func (v FilterMode) String() string + type FragmentState struct + EntryPoint string + Module *ShaderModule + Targets []ColorTargetState + type FrontFace uint32 + const FrontFaceCCW + const FrontFaceCW + func (v FrontFace) String() string + type Gles3MinorVersion uint32 + const Gles3MinorVersionAutomatic + const Gles3MinorVersionVersion0 + const Gles3MinorVersionVersion1 + const Gles3MinorVersionVersion2 + func (v Gles3MinorVersion) String() string + type GlobalReport struct — darwin/amd64, linux/amd64, windows/amd64 + Dx11 *HubReport + Dx12 *HubReport + Gl *HubReport + Metal *HubReport + Surfaces RegistryReport + Vulkan *HubReport + type HubReport struct — darwin/amd64, linux/amd64, windows/amd64 + Adapters RegistryReport + BindGroupLayouts RegistryReport + BindGroups RegistryReport + Buffers RegistryReport + CommandBuffers RegistryReport + ComputePipelines RegistryReport + Devices RegistryReport + PipelineLayouts RegistryReport + QuerySets RegistryReport + RenderBundles RegistryReport + RenderPipelines RegistryReport + Samplers RegistryReport + ShaderModules RegistryReport + TextureViews RegistryReport + Textures RegistryReport + type ImageCopyBuffer struct + Buffer *Buffer + Layout TextureDataLayout + type ImageCopyTexture struct + Aspect TextureAspect + MipLevel uint32 + Origin Origin3D + Texture *Texture + type IndexFormat uint32 + const IndexFormatUint16 + const IndexFormatUint32 + const IndexFormatUndefined + func (v IndexFormat) String() string + type Instance struct + func CreateInstance(descriptor *InstanceDescriptor) *Instance + func (g Instance) CreateSurface(descriptor *SurfaceDescriptor) *Surface + func (g Instance) EnumerateAdapters(options *InstanceEnumerateAdapterOptons) []*Adapter + func (g Instance) GenerateReport() any + func (g Instance) Release() + func (g Instance) RequestAdapter(options *RequestAdapterOptions) (*Adapter, error) + func (p *Instance) CreateSurface(descriptor *SurfaceDescriptor) *Surface + func (p *Instance) EnumerateAdapters(options *InstanceEnumerateAdapterOptons) []*Adapter + func (p *Instance) GenerateReport() GlobalReport + func (p *Instance) Release() + func (p *Instance) RequestAdapter(options *RequestAdapterOptions) (*Adapter, error) + type InstanceBackend uint32 + const InstanceBackendAll + const InstanceBackendBrowserWebGPU + const InstanceBackendDX11 + const InstanceBackendDX12 + const InstanceBackendGL + const InstanceBackendMetal + const InstanceBackendPrimary + const InstanceBackendSecondary + const InstanceBackendVulkan + func (v InstanceBackend) String() string + type InstanceDescriptor struct + Backends InstanceBackend + Dx12ShaderCompiler Dx12Compiler + DxcPath string + DxilPath string + type InstanceEnumerateAdapterOptons struct + Backends InstanceBackend + type InstanceFlag uint32 + const InstanceFlagDebug + const InstanceFlagDefault + const InstanceFlagDiscardHalLabels + const InstanceFlagValidation + func (v InstanceFlag) String() string + type Limits struct + MaxBindGroups uint32 + MaxBindingsPerBindGroup uint32 + MaxBufferSize uint64 + MaxColorAttachmentBytesPerSample uint32 + MaxColorAttachments uint32 + MaxComputeInvocationsPerWorkgroup uint32 + MaxComputeWorkgroupSizeX uint32 + MaxComputeWorkgroupSizeY uint32 + MaxComputeWorkgroupSizeZ uint32 + MaxComputeWorkgroupStorageSize uint32 + MaxComputeWorkgroupsPerDimension uint32 + MaxDynamicStorageBuffersPerPipelineLayout uint32 + MaxDynamicUniformBuffersPerPipelineLayout uint32 + MaxInterStageShaderComponents uint32 + MaxInterStageShaderVariables uint32 + MaxPushConstantSize uint32 + MaxSampledTexturesPerShaderStage uint32 + MaxSamplersPerShaderStage uint32 + MaxStorageBufferBindingSize uint64 + MaxStorageBuffersPerShaderStage uint32 + MaxStorageTexturesPerShaderStage uint32 + MaxTextureArrayLayers uint32 + MaxTextureDimension1D uint32 + MaxTextureDimension2D uint32 + MaxTextureDimension3D uint32 + MaxUniformBufferBindingSize uint64 + MaxUniformBuffersPerShaderStage uint32 + MaxVertexAttributes uint32 + MaxVertexBufferArrayStride uint32 + MaxVertexBuffers uint32 + MinStorageBufferOffsetAlignment uint32 + MinUniformBufferOffsetAlignment uint32 + func DefaultLimits() Limits + type LoadOp uint32 + const LoadOpClear + const LoadOpLoad + const LoadOpUndefined + func (v LoadOp) String() string + type LogLevel uint32 + const LogLevelDebug + const LogLevelError + const LogLevelInfo + const LogLevelOff + const LogLevelTrace + const LogLevelWarn + func (v LogLevel) String() string + type MapMode uint32 + const MapModeNone + const MapModeRead + const MapModeWrite + func (v MapMode) String() string + type MipmapFilterMode uint32 + const MipmapFilterModeLinear + const MipmapFilterModeNearest + func (v MipmapFilterMode) String() string + type MultisampleState struct + AlphaToCoverageEnabled bool + Count uint32 + Mask uint32 + type NativeQueryType uint32 + const NativeQueryTypePipelineStatistics + func (v NativeQueryType) String() string + type NativeTextureFormat uint32 + const NativeTextureFormatNV12 + const NativeTextureFormatR16Snorm + const NativeTextureFormatR16Unorm + const NativeTextureFormatRg16Snorm + const NativeTextureFormatRg16Unorm + const NativeTextureFormatRgba16Snorm + const NativeTextureFormatRgba16Unorm + func (v NativeTextureFormat) String() string + type Origin3D struct + X uint32 + Y uint32 + Z uint32 + type PipelineLayout struct + func (g PipelineLayout) Release() + func (p *PipelineLayout) Release() + type PipelineLayoutDescriptor struct + BindGroupLayouts []*BindGroupLayout + Label string + PushConstantRanges []PushConstantRange + type PipelineStatisticName uint32 + const PipelineStatisticNameClipperInvocations + const PipelineStatisticNameClipperPrimitivesOut + const PipelineStatisticNameComputeShaderInvocations + const PipelineStatisticNameFragmentShaderInvocations + const PipelineStatisticNameVertexShaderInvocations + func (v PipelineStatisticName) String() string + type PowerPreference uint32 + const PowerPreferenceHighPerformance + const PowerPreferenceLowPower + const PowerPreferenceUndefined + func (v PowerPreference) String() string + type PresentMode uint32 + const PresentModeFifo + const PresentModeFifoRelaxed + const PresentModeImmediate + const PresentModeMailbox + func (v PresentMode) String() string + type PrimitiveState struct + CullMode CullMode + FrontFace FrontFace + StripIndexFormat IndexFormat + Topology PrimitiveTopology + type PrimitiveTopology uint32 + const PrimitiveTopologyLineList + const PrimitiveTopologyLineStrip + const PrimitiveTopologyPointList + const PrimitiveTopologyTriangleList + const PrimitiveTopologyTriangleStrip + func (v PrimitiveTopology) String() string + type ProgrammableStageDescriptor struct + EntryPoint string + Module *ShaderModule + type PushConstantRange struct — darwin/amd64, linux/amd64, windows/amd64 + End uint32 + Stages ShaderStage + Start uint32 + type QuerySet struct — darwin/amd64, linux/amd64, windows/amd64 + func (p *QuerySet) Release() + type QuerySetDescriptor struct — darwin/amd64, linux/amd64, windows/amd64 + Count uint32 + Label string + PipelineStatistics []PipelineStatisticName + Type QueryType + type QueryType uint32 + const QueryTypeOcclusion + const QueryTypeTimestamp + func (v QueryType) String() string + type Queue struct + func (g Queue) OnSubmittedWorkDone(callback QueueWorkDoneCallback) + func (g Queue) Release() + func (g Queue) Submit(commandBuffers ...*CommandBuffer) + func (g Queue) WriteBuffer(buffer *Buffer, offset uint64, data []byte) (err error) + func (g Queue) WriteTexture(destination *ImageCopyTexture, data []byte, dataLayout *TextureDataLayout, ...) (err error) + func (p *Queue) OnSubmittedWorkDone(callback QueueWorkDoneCallback) + func (p *Queue) Release() + func (p *Queue) Submit(commands ...*CommandBuffer) (submissionIndex SubmissionIndex) + func (p *Queue) WriteBuffer(buffer *Buffer, bufferOffset uint64, data []byte) (err error) + func (p *Queue) WriteTexture(destination *ImageCopyTexture, data []byte, dataLayout *TextureDataLayout, ...) (err error) + type QueueWorkDoneCallback func(QueueWorkDoneStatus) + type QueueWorkDoneStatus uint32 + const QueueWorkDoneStatusDeviceLost + const QueueWorkDoneStatusError + const QueueWorkDoneStatusSuccess + const QueueWorkDoneStatusUnknown + func (v QueueWorkDoneStatus) String() string + type RegistryReport struct — darwin/amd64, linux/amd64, windows/amd64 + ElementSize uint64 + NumAllocated uint64 + NumError uint64 + NumKeptFromUser uint64 + NumReleasedFromUser uint64 + type RenderBundle struct — darwin/amd64, linux/amd64, windows/amd64 + func (p *RenderBundle) Release() + type RenderBundleDescriptor struct — darwin/amd64, linux/amd64, windows/amd64 + Label string + type RenderBundleEncoder struct — darwin/amd64, linux/amd64, windows/amd64 + func (p *RenderBundleEncoder) Draw(vertexCount, instanceCount, firstVertex, firstInstance uint32) + func (p *RenderBundleEncoder) DrawIndexed(indexCount, instanceCount, firstIndex, baseVertex, firstInstance uint32) + func (p *RenderBundleEncoder) DrawIndexedIndirect(indirectBuffer *Buffer, indirectOffset uint64) + func (p *RenderBundleEncoder) DrawIndirect(indirectBuffer *Buffer, indirectOffset uint64) + func (p *RenderBundleEncoder) Finish(descriptor *RenderBundleDescriptor) *RenderBundle + func (p *RenderBundleEncoder) InsertDebugMarker(markerLabel string) + func (p *RenderBundleEncoder) PopDebugGroup() + func (p *RenderBundleEncoder) PushDebugGroup(groupLabel string) + func (p *RenderBundleEncoder) Release() + func (p *RenderBundleEncoder) SetBindGroup(groupIndex uint32, group *BindGroup, dynamicOffsets []uint32) + func (p *RenderBundleEncoder) SetIndexBuffer(buffer *Buffer, format IndexFormat, offset uint64, size uint64) + func (p *RenderBundleEncoder) SetPipeline(pipeline *RenderPipeline) + func (p *RenderBundleEncoder) SetVertexBuffer(slot uint32, buffer *Buffer, offset uint64, size uint64) + type RenderBundleEncoderDescriptor struct — darwin/amd64, linux/amd64, windows/amd64 + ColorFormats []TextureFormat + DepthReadOnly bool + DepthStencilFormat TextureFormat + Label string + SampleCount uint32 + StencilReadOnly bool + type RenderPassColorAttachment struct + ClearValue Color + LoadOp LoadOp + ResolveTarget *TextureView + StoreOp StoreOp + View *TextureView + type RenderPassDepthStencilAttachment struct + DepthClearValue float32 + DepthLoadOp LoadOp + DepthReadOnly bool + DepthStoreOp StoreOp + StencilClearValue uint32 + StencilLoadOp LoadOp + StencilReadOnly bool + StencilStoreOp StoreOp + View *TextureView + type RenderPassDescriptor struct + ColorAttachments []RenderPassColorAttachment + DepthStencilAttachment *RenderPassDepthStencilAttachment + Label string + type RenderPassEncoder struct + func (g RenderPassEncoder) Draw(vertexCount uint32, instanceCount, firstVertex, firstInstance uint32) + func (g RenderPassEncoder) DrawIndexed(indexCount uint32, instanceCount uint32, firstIndex uint32, baseVertex int32, ...) + func (g RenderPassEncoder) End() error + func (g RenderPassEncoder) Release() + func (g RenderPassEncoder) SetBindGroup(index uint32, bindGroup *BindGroup, dynamicOffsets []uint32) + func (g RenderPassEncoder) SetIndexBuffer(indexBuffer *Buffer, format IndexFormat, offset, size uint64) + func (g RenderPassEncoder) SetPipeline(pipeline *RenderPipeline) + func (g RenderPassEncoder) SetVertexBuffer(slot uint32, vertexBuffer *Buffer, offset, size uint64) + func (p *RenderPassEncoder) BeginOcclusionQuery(queryIndex uint32) + func (p *RenderPassEncoder) BeginPipelineStatisticsQuery(querySet *QuerySet, queryIndex uint32) + func (p *RenderPassEncoder) Draw(vertexCount, instanceCount, firstVertex, firstInstance uint32) + func (p *RenderPassEncoder) DrawIndexed(indexCount uint32, instanceCount uint32, firstIndex uint32, baseVertex int32, ...) + func (p *RenderPassEncoder) DrawIndexedIndirect(indirectBuffer *Buffer, indirectOffset uint64) + func (p *RenderPassEncoder) DrawIndirect(indirectBuffer *Buffer, indirectOffset uint64) + func (p *RenderPassEncoder) End() (err error) + func (p *RenderPassEncoder) EndOcclusionQuery() + func (p *RenderPassEncoder) EndPipelineStatisticsQuery() + func (p *RenderPassEncoder) ExecuteBundles(bundles ...*RenderBundle) + func (p *RenderPassEncoder) InsertDebugMarker(markerLabel string) + func (p *RenderPassEncoder) MultiDrawIndexedIndirect(encoder *RenderPassEncoder, buffer Buffer, offset uint64, count uint32) + func (p *RenderPassEncoder) MultiDrawIndexedIndirectCount(encoder *RenderPassEncoder, buffer Buffer, offset uint64, countBuffer Buffer, ...) + func (p *RenderPassEncoder) MultiDrawIndirect(encoder *RenderPassEncoder, buffer Buffer, offset uint64, count uint32) + func (p *RenderPassEncoder) MultiDrawIndirectCount(encoder *RenderPassEncoder, buffer Buffer, offset uint64, countBuffer Buffer, ...) + func (p *RenderPassEncoder) PopDebugGroup() + func (p *RenderPassEncoder) PushDebugGroup(groupLabel string) + func (p *RenderPassEncoder) Release() + func (p *RenderPassEncoder) SetBindGroup(groupIndex uint32, group *BindGroup, dynamicOffsets []uint32) + func (p *RenderPassEncoder) SetBlendConstant(color *Color) + func (p *RenderPassEncoder) SetIndexBuffer(buffer *Buffer, format IndexFormat, offset uint64, size uint64) + func (p *RenderPassEncoder) SetPipeline(pipeline *RenderPipeline) + func (p *RenderPassEncoder) SetPushConstants(stages ShaderStage, offset uint32, data []byte) + func (p *RenderPassEncoder) SetScissorRect(x, y, width, height uint32) + func (p *RenderPassEncoder) SetStencilReference(reference uint32) + func (p *RenderPassEncoder) SetVertexBuffer(slot uint32, buffer *Buffer, offset uint64, size uint64) + func (p *RenderPassEncoder) SetViewport(x, y, width, height, minDepth, maxDepth float32) + type RenderPipeline struct + func (g RenderPipeline) GetBindGroupLayout(index uint32) *BindGroupLayout + func (g RenderPipeline) Release() + func (p *RenderPipeline) GetBindGroupLayout(groupIndex uint32) *BindGroupLayout + func (p *RenderPipeline) Release() + type RenderPipelineDescriptor struct + DepthStencil *DepthStencilState + Fragment *FragmentState + Label string + Layout *PipelineLayout + Multisample MultisampleState + Primitive PrimitiveState + Vertex VertexState + type RequestAdapterOptions struct + BackendType BackendType + CompatibleSurface *Surface + ForceFallbackAdapter bool + PowerPreference PowerPreference + type RequestAdapterStatus uint32 + const RequestAdapterStatusError + const RequestAdapterStatusSuccess + const RequestAdapterStatusUnavailable + const RequestAdapterStatusUnknown + func (v RequestAdapterStatus) String() string + type RequestDeviceStatus uint32 + const RequestDeviceStatusError + const RequestDeviceStatusSuccess + const RequestDeviceStatusUnknown + func (v RequestDeviceStatus) String() string + type RequiredLimits struct + Limits Limits + type Sampler struct + func (g Sampler) Release() + func (p *Sampler) Release() + type SamplerBindingLayout struct + Type SamplerBindingType + type SamplerBindingType uint32 + const SamplerBindingTypeComparison + const SamplerBindingTypeFiltering + const SamplerBindingTypeNonFiltering + const SamplerBindingTypeUndefined + func (v SamplerBindingType) String() string + type SamplerDescriptor struct + AddressModeU AddressMode + AddressModeV AddressMode + AddressModeW AddressMode + Compare CompareFunction + Label string + LodMaxClamp float32 + LodMinClamp float32 + MagFilter FilterMode + MaxAnisotropy uint16 + MinFilter FilterMode + MipmapFilter MipmapFilterMode + type ShaderModule struct + func (g ShaderModule) Release() + func (p *ShaderModule) Release() + type ShaderModuleDescriptor struct + GLSLDescriptor *ShaderModuleGLSLDescriptor + Label string + SPIRVDescriptor *ShaderModuleSPIRVDescriptor + WGSLDescriptor *ShaderModuleWGSLDescriptor + type ShaderModuleGLSLDescriptor struct — darwin/amd64, linux/amd64, windows/amd64 + Code string + Defines map[string]string + ShaderStage ShaderStage + type ShaderModuleSPIRVDescriptor struct — darwin/amd64, linux/amd64, windows/amd64 + Code []byte + type ShaderModuleWGSLDescriptor struct + Code string + type ShaderStage uint32 + const ShaderStageCompute + const ShaderStageFragment + const ShaderStageNone + const ShaderStageVertex + func (v ShaderStage) String() string + type StencilFaceState struct + Compare CompareFunction + DepthFailOp StencilOperation + FailOp StencilOperation + PassOp StencilOperation + type StencilOperation uint32 + const StencilOperationDecrementClamp + const StencilOperationDecrementWrap + const StencilOperationIncrementClamp + const StencilOperationIncrementWrap + const StencilOperationInvert + const StencilOperationKeep + const StencilOperationReplace + const StencilOperationZero + func (v StencilOperation) String() string + type StorageTextureAccess uint32 + const StorageTextureAccessReadOnly + const StorageTextureAccessReadWrite + const StorageTextureAccessUndefined + const StorageTextureAccessWriteOnly + func (v StorageTextureAccess) String() string + type StorageTextureBindingLayout struct + Access StorageTextureAccess + Format TextureFormat + ViewDimension TextureViewDimension + type StoreOp uint32 + const StoreOpDiscard + const StoreOpStore + const StoreOpUndefined + func (v StoreOp) String() string + type SubmissionIndex uint64 + type SupportedLimits struct + Limits Limits + type Surface struct + func (g Surface) Configure(adapter *Adapter, device *Device, config *SurfaceConfiguration) + func (g Surface) GetCapabilities(adapter *Adapter) (ret SurfaceCapabilities) + func (g Surface) GetCurrentTexture() (*Texture, error) + func (g Surface) Present() + func (g Surface) Release() + func (p *Surface) Configure(adapter *Adapter, device *Device, config *SurfaceConfiguration) + func (p *Surface) GetCapabilities(adapter *Adapter) (ret SurfaceCapabilities) + func (p *Surface) GetCurrentTexture() (*Texture, error) + func (p *Surface) Present() + func (p *Surface) Release() + type SurfaceCapabilities struct + AlphaModes []CompositeAlphaMode + Formats []TextureFormat + PresentModes []PresentMode + type SurfaceConfiguration struct + AlphaMode CompositeAlphaMode + Format TextureFormat + Height uint32 + PresentMode PresentMode + Usage TextureUsage + ViewFormats []TextureFormat + Width uint32 + type SurfaceDescriptor struct + AndroidNativeWindow *SurfaceDescriptorFromAndroidNativeWindow + Canvas js.Value + Label string + MetalLayer *SurfaceDescriptorFromMetalLayer + WaylandSurface *SurfaceDescriptorFromWaylandSurface + WindowsHWND *SurfaceDescriptorFromWindowsHWND + XcbWindow *SurfaceDescriptorFromXcbWindow + XlibWindow *SurfaceDescriptorFromXlibWindow + type SurfaceDescriptorFromAndroidNativeWindow struct — darwin/amd64, linux/amd64, windows/amd64 + Window unsafe.Pointer + type SurfaceDescriptorFromMetalLayer struct — darwin/amd64, linux/amd64, windows/amd64 + Layer unsafe.Pointer + type SurfaceDescriptorFromWaylandSurface struct — darwin/amd64, linux/amd64, windows/amd64 + Display unsafe.Pointer + Surface unsafe.Pointer + type SurfaceDescriptorFromWindowsHWND struct — darwin/amd64, linux/amd64, windows/amd64 + Hinstance unsafe.Pointer + Hwnd unsafe.Pointer + type SurfaceDescriptorFromXcbWindow struct — darwin/amd64, linux/amd64, windows/amd64 + Connection unsafe.Pointer + Window uint32 + type SurfaceDescriptorFromXlibWindow struct — darwin/amd64, linux/amd64, windows/amd64 + Display unsafe.Pointer + Window uint32 + type SurfaceGetCurrentTextureStatus uint32 + const SurfaceGetCurrentTextureStatusDeviceLost + const SurfaceGetCurrentTextureStatusLost + const SurfaceGetCurrentTextureStatusOutOfMemory + const SurfaceGetCurrentTextureStatusOutdated + const SurfaceGetCurrentTextureStatusSuccess + const SurfaceGetCurrentTextureStatusTimeout + func (v SurfaceGetCurrentTextureStatus) String() string + type Texture struct + func (g Texture) CreateView(descriptor *TextureViewDescriptor) (*TextureView, error) + func (g Texture) GetDepthOrArrayLayers() uint32 + func (g Texture) GetFormat() TextureFormat + func (g Texture) GetMipLevelCount() uint32 + func (g Texture) Present() + func (g Texture) Release() + func (p *Texture) AsImageCopy() *ImageCopyTexture + func (p *Texture) CreateView(descriptor *TextureViewDescriptor) (*TextureView, error) + func (p *Texture) Destroy() + func (p *Texture) GetDepthOrArrayLayers() uint32 + func (p *Texture) GetDimension() TextureDimension + func (p *Texture) GetFormat() TextureFormat + func (p *Texture) GetHeight() uint32 + func (p *Texture) GetMipLevelCount() uint32 + func (p *Texture) GetSampleCount() uint32 + func (p *Texture) GetUsage() TextureUsage + func (p *Texture) GetWidth() uint32 + func (p *Texture) Release() + type TextureAspect uint32 + const TextureAspectAll + const TextureAspectDepthOnly + const TextureAspectStencilOnly + func (v TextureAspect) String() string + type TextureBindingLayout struct + Multisampled bool + SampleType TextureSampleType + ViewDimension TextureViewDimension + type TextureDataLayout struct + BytesPerRow uint32 + Offset uint64 + RowsPerImage uint32 + type TextureDescriptor struct + Dimension TextureDimension + Format TextureFormat + Label string + MipLevelCount uint32 + SampleCount uint32 + Size Extent3D + Usage TextureUsage + type TextureDimension uint32 + const TextureDimension1D + const TextureDimension2D + const TextureDimension3D + func (v TextureDimension) String() string + type TextureFormat uint32 + const TextureFormatASTC10x10Unorm + const TextureFormatASTC10x10UnormSrgb + const TextureFormatASTC10x5Unorm + const TextureFormatASTC10x5UnormSrgb + const TextureFormatASTC10x6Unorm + const TextureFormatASTC10x6UnormSrgb + const TextureFormatASTC10x8Unorm + const TextureFormatASTC10x8UnormSrgb + const TextureFormatASTC12x10Unorm + const TextureFormatASTC12x10UnormSrgb + const TextureFormatASTC12x12Unorm + const TextureFormatASTC12x12UnormSrgb + const TextureFormatASTC4x4Unorm + const TextureFormatASTC4x4UnormSrgb + const TextureFormatASTC5x4Unorm + const TextureFormatASTC5x4UnormSrgb + const TextureFormatASTC5x5Unorm + const TextureFormatASTC5x5UnormSrgb + const TextureFormatASTC6x5Unorm + const TextureFormatASTC6x5UnormSrgb + const TextureFormatASTC6x6Unorm + const TextureFormatASTC6x6UnormSrgb + const TextureFormatASTC8x5Unorm + const TextureFormatASTC8x5UnormSrgb + const TextureFormatASTC8x6Unorm + const TextureFormatASTC8x6UnormSrgb + const TextureFormatASTC8x8Unorm + const TextureFormatASTC8x8UnormSrgb + const TextureFormatBC1RGBAUnorm + const TextureFormatBC1RGBAUnormSrgb + const TextureFormatBC2RGBAUnorm + const TextureFormatBC2RGBAUnormSrgb + const TextureFormatBC3RGBAUnorm + const TextureFormatBC3RGBAUnormSrgb + const TextureFormatBC4RSnorm + const TextureFormatBC4RUnorm + const TextureFormatBC5RGSnorm + const TextureFormatBC5RGUnorm + const TextureFormatBC6HRGBFloat + const TextureFormatBC6HRGBUfloat + const TextureFormatBC7RGBAUnorm + const TextureFormatBC7RGBAUnormSrgb + const TextureFormatBGRA8Unorm + const TextureFormatBGRA8UnormSrgb + const TextureFormatDepth16Unorm + const TextureFormatDepth24Plus + const TextureFormatDepth24PlusStencil8 + const TextureFormatDepth32Float + const TextureFormatDepth32FloatStencil8 + const TextureFormatEACR11Snorm + const TextureFormatEACR11Unorm + const TextureFormatEACRG11Snorm + const TextureFormatEACRG11Unorm + const TextureFormatETC2RGB8A1Unorm + const TextureFormatETC2RGB8A1UnormSrgb + const TextureFormatETC2RGB8Unorm + const TextureFormatETC2RGB8UnormSrgb + const TextureFormatETC2RGBA8Unorm + const TextureFormatETC2RGBA8UnormSrgb + const TextureFormatR16Float + const TextureFormatR16Sint + const TextureFormatR16Uint + const TextureFormatR32Float + const TextureFormatR32Sint + const TextureFormatR32Uint + const TextureFormatR8Sint + const TextureFormatR8Snorm + const TextureFormatR8Uint + const TextureFormatR8Unorm + const TextureFormatRG11B10Ufloat + const TextureFormatRG16Float + const TextureFormatRG16Sint + const TextureFormatRG16Uint + const TextureFormatRG32Float + const TextureFormatRG32Sint + const TextureFormatRG32Uint + const TextureFormatRG8Sint + const TextureFormatRG8Snorm + const TextureFormatRG8Uint + const TextureFormatRG8Unorm + const TextureFormatRGB10A2Uint + const TextureFormatRGB10A2Unorm + const TextureFormatRGB9E5Ufloat + const TextureFormatRGBA16Float + const TextureFormatRGBA16Sint + const TextureFormatRGBA16Uint + const TextureFormatRGBA32Float + const TextureFormatRGBA32Sint + const TextureFormatRGBA32Uint + const TextureFormatRGBA8Sint + const TextureFormatRGBA8Snorm + const TextureFormatRGBA8Uint + const TextureFormatRGBA8Unorm + const TextureFormatRGBA8UnormSrgb + const TextureFormatStencil8 + const TextureFormatUndefined + func (v TextureFormat) String() string + type TextureSampleType uint32 + const TextureSampleTypeDepth + const TextureSampleTypeFloat + const TextureSampleTypeSint + const TextureSampleTypeUint + const TextureSampleTypeUndefined + const TextureSampleTypeUnfilterableFloat + func (v TextureSampleType) String() string + type TextureUsage uint32 + const TextureUsageCopyDst + const TextureUsageCopySrc + const TextureUsageNone + const TextureUsageRenderAttachment + const TextureUsageStorageBinding + const TextureUsageTextureBinding + func (v TextureUsage) String() string + type TextureView struct + func (g TextureView) Release() + func (p *TextureView) Release() + type TextureViewDescriptor struct + ArrayLayerCount uint32 + Aspect TextureAspect + BaseArrayLayer uint32 + BaseMipLevel uint32 + Dimension TextureViewDimension + Format TextureFormat + Label string + MipLevelCount uint32 + type TextureViewDimension uint32 + const TextureViewDimension1D + const TextureViewDimension2D + const TextureViewDimension2DArray + const TextureViewDimension3D + const TextureViewDimensionCube + const TextureViewDimensionCubeArray + const TextureViewDimensionUndefined + func (v TextureViewDimension) String() string + type Version uint32 + func GetVersion() Version + func (v Version) String() string + type VertexAttribute struct + Format VertexFormat + Offset uint64 + ShaderLocation uint32 + type VertexBufferLayout struct + ArrayStride uint64 + Attributes []VertexAttribute + StepMode VertexStepMode + type VertexFormat uint32 + const VertexFormatFloat16x2 + const VertexFormatFloat16x4 + const VertexFormatFloat32 + const VertexFormatFloat32x2 + const VertexFormatFloat32x3 + const VertexFormatFloat32x4 + const VertexFormatSint16x2 + const VertexFormatSint16x4 + const VertexFormatSint32 + const VertexFormatSint32x2 + const VertexFormatSint32x3 + const VertexFormatSint32x4 + const VertexFormatSint8x2 + const VertexFormatSint8x4 + const VertexFormatSnorm16x2 + const VertexFormatSnorm16x4 + const VertexFormatSnorm8x2 + const VertexFormatSnorm8x4 + const VertexFormatUint16x2 + const VertexFormatUint16x4 + const VertexFormatUint32 + const VertexFormatUint32x2 + const VertexFormatUint32x3 + const VertexFormatUint32x4 + const VertexFormatUint8x2 + const VertexFormatUint8x4 + const VertexFormatUndefined + const VertexFormatUnorm16x2 + const VertexFormatUnorm16x4 + const VertexFormatUnorm8x2 + const VertexFormatUnorm8x4 + func (v VertexFormat) Size() uint64 + func (v VertexFormat) String() string + type VertexState struct + Buffers []VertexBufferLayout + EntryPoint string + Module *ShaderModule + type VertexStepMode uint32 + const VertexStepModeInstance + const VertexStepModeVertex + const VertexStepModeVertexBufferNotUsed + func (v VertexStepMode) String() string + type WGSLFeatureName uint32 + const WGSLFeatureNamePacked4x8IntegerDotProduct + const WGSLFeatureNamePointerCompositeAccess + const WGSLFeatureNameReadonlyAndReadwriteStorageTextures + const WGSLFeatureNameUndefined + const WGSLFeatureNameUnrestrictedPointerParameters + func (v WGSLFeatureName) String() string + type WrappedSubmissionIndex struct + Queue *Queue + SubmissionIndex SubmissionIndex