Skip to main content
CrystalDocs
Search documentation
Search
Browse Docs
CrystalShards
About
class
WGPU::ShaderModule
Inherits
WGPU::WgpuId
/
Reference
/
Object
Constructors
from_spirv
(device :
Device
, spirv :
Bytes
, *args, label :
String
|
Nil
= nil) :
ShaderModule
Source
from_wgsl
(device :
Device
, wgsl :
String
, *args, label :
String
|
Nil
= nil) :
ShaderModule
Source
new
(device :
Device
, descriptor :
LibWGPU::ShaderModuleDescriptor
)
Source