Struct rcocos2d_sys::cocos2d_CCTextureProtocol [−][src]
#[repr(C)]pub struct cocos2d_CCTextureProtocol { pub _base: cocos2d_CCBlendProtocol, }
Expand description
CCNode objects that uses a CCTexture2D to render the images. The texture can have a blending function. If the texture has alpha premultiplied the default blending function is: src=GL_ONE dst= GL_ONE_MINUS_SRC_ALPHA else src=GL_SRC_ALPHA dst= GL_ONE_MINUS_SRC_ALPHA But you can change the blending function at any time. @js NA
Fields
_base: cocos2d_CCBlendProtocol
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for cocos2d_CCTextureProtocol
impl !Send for cocos2d_CCTextureProtocol
impl !Sync for cocos2d_CCTextureProtocol
impl Unpin for cocos2d_CCTextureProtocol
impl UnwindSafe for cocos2d_CCTextureProtocol
Blanket Implementations
Mutably borrows from an owned value. Read more