docs: add docs for what p0 and p1 are
This commit is contained in:
parent
bf6c7d0094
commit
e338e61e0b
1 changed files with 3 additions and 0 deletions
|
|
@ -254,6 +254,9 @@ impl Targets {
|
|||
struct Ratio {
|
||||
u: f32,
|
||||
v: f32,
|
||||
// Padding fields to make Ratio 16 byte aligned
|
||||
//
|
||||
// See https://docs.rs/wgpu/latest/wgpu/struct.DownlevelFlags.html#associatedconstant.BUFFER_BINDINGS_NOT_16_BYTE_ALIGNED
|
||||
p0: f32,
|
||||
p1: f32,
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue