(handle: u32, tex: u32)
| 231 | mark_dirty(handle, DIRTY_MATERIAL, |n| { n.roughness = rough; n.metalness = metal; }); |
| 232 | } |
| 233 | pub fn set_texture(handle: u32, tex: u32) { |
| 234 | mark_dirty(handle, DIRTY_MATERIAL, |n| n.texture = tex); |
| 235 | } |
| 236 | |
| 237 | pub fn set_pbr_textures(handle: u32, |
| 238 | base_color: u32, normal: u32, metallic_roughness: u32, |
no test coverage detected