[][src]Function awsm::webgl::is_power_of_2

pub fn is_power_of_2(src: &WebGlTextureSource) -> bool

check if the texture's width, height, and depth are all power of 2