W

Type Alias W 

Source
pub type W = W<CK_DEFAULT_SPEC>;
Expand description

Register CK_DEFAULT writer

Aliased Type§

pub struct W { /* private fields */ }

Implementations§

Source§

impl W

Source

pub fn colorkey_default_b( &mut self, ) -> COLORKEY_DEFAULT_B_W<'_, CK_DEFAULT_SPEC>

Bits 0:7 - default B channle value of color key

Source

pub fn colorkey_default_g( &mut self, ) -> COLORKEY_DEFAULT_G_W<'_, CK_DEFAULT_SPEC>

Bits 8:15 - default G channle value of color key

Source

pub fn colorkey_default_r( &mut self, ) -> COLORKEY_DEFAULT_R_W<'_, CK_DEFAULT_SPEC>

Bits 16:23 - default R channle value of color key

Source

pub fn colorkey_fg_bg_reverse( &mut self, ) -> COLORKEY_FG_BG_REVERSE_W<'_, CK_DEFAULT_SPEC>

Bit 24 - when pixel in bg ck range but not in fg ck range, 0: the result is bg, 1: the result is fg