gpu: add BindGroupLayout.Entry
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
parent
4fd4c5db7e
commit
4497f6dd69
3 changed files with 20 additions and 13 deletions
|
|
@ -1,13 +1,3 @@
|
|||
pub const WGPUBindGroupLayoutEntry = extern struct {
|
||||
next_in_chain: *const ChainedStruct,
|
||||
binding: u32,
|
||||
visibility: ShaderStageFlags,
|
||||
buffer: BufferBindingLayout,
|
||||
sampler: SamplerBindingLayout,
|
||||
texture: TextureBindingLayout,
|
||||
storage_texture: StorageTextureBindingLayout,
|
||||
};
|
||||
|
||||
pub const BlendState = extern struct {
|
||||
color: BlendComponent,
|
||||
alpha: BlendComponent,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue