pub fn is_render_channel_supported(&self, rc: RenderChannel) -> bool {
        match self {
            RenderTarget::Window => {
                match rc {
                    RenderChannel::Colour(i) => i == 0,
                    RenderChannel::Depth => true
                }
            }
        }
    }
/// Tests whether the given render channel is supported by the given render target.
Tests whether the given render channel is supported by the given render target.
Tests whether the given render channel is supported by the given render target .
pub fn is_render_channel_supported(&self, rc: RenderChannel) -> bool {
        match self {
            RenderTarget::Window => {
                match rc {
                    RenderChannel::Colour(i) => i == 0,
                    RenderChannel::Depth => true
                }
            }
        }
    }
pub fn is_render_channel_supported ( & self , rc : RenderChannel ) -> bool { match self { RenderTarget :: Window => { match rc { RenderChannel :: Colour ( i ) => i == 0 , RenderChannel :: Depth => true } } } }
Tests whether the given render channel is supported by the given render target.
Tests whether the given render channel is supported by the given render target .
&self
rc
RenderChannel
&self
rc
RenderChannel