Struct ShaderModule
A handle to a compiled shader module on the GPU.
struct ShaderModule
;
A ShaderModule
can be created by passing valid SPIR-V source code to Device
.
Fields
Name | Type | Description |
---|---|---|
id
|
__C | Handle identifier. |
Methods
Name | Description |
---|---|
destroy
()
|
Release the handle to this shader. |
Remarks
Shader modules are used to define programmable stages of a pipeline.