rename/deprecate block_size -> block_copy_size, improve docs#4647
rename/deprecate block_size -> block_copy_size, improve docs#4647Wumpf merged 8 commits intogfx-rs:trunkfrom
Conversation
|
|
|
Oh didn't notice, thank you! Let's go with that then and link to it ofc. |
|
actually.. linking it okay. But do we think anyone will ever find |
|
Technically we are providing the informative value that is described in the spec as
so from that pov we would need to call it block_memory_cost :/ |
|
moving (potential) discussion to Matrix |
|
The texel block memory cost is only "informative and non-normative". |
Co-authored-by: Teodor Tanasoaia <28601907+teoxoy@users.noreply.github.com>
Checklist
cargo clippy.cargo clippy --target wasm32-unknown-unknownif applicable.Connections
.bits_per_pixel()to the TextureFormat to simplify buffer size calculation for each texture format. #4054Description
I keep seeing people getting confused about block_size, so I made its name more explicit and fixed the docs a bit (for instance the link in there was broken)