MCPcopy Index your code
hub / github.com/arrayfire/arrayfire-rust / set_colormap

Method set_colormap

src/graphics/mod.rs:301–303  ·  view source on GitHub ↗

Set color map to be used for rendering image, it can take one of the values of enum [ColorMap](./enum.ColorMap.html)

(&mut self, cmap: ColorMap)

Source from the content-addressed store, hash-verified

299 /// Set color map to be used for rendering image, it can take one of the values of enum
300 /// [ColorMap](./enum.ColorMap.html)
301 pub fn set_colormap(&mut self, cmap: ColorMap) {
302 self.cmap = cmap;
303 }
304
305 /// Returns true if the window close is triggered by the user
306 pub fn is_closed(&self) -> bool {

Callers 1

acoustic_wave_simulationFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected