Function material_uses_bindless_resources

Source
pub fn material_uses_bindless_resources<M>(render_device: &RenderDevice) -> bool
where M: Material,
Expand description

Returns true if the material will actually use bindless resources or false if it won’t.

This takes the platform support (or lack thereof) for bindless resources into account.