Struct rcocos2d_sys::cocos2d_CCConfiguration[][src]

#[repr(C)]
pub struct cocos2d_CCConfiguration { pub _base: cocos2d_CCObject, pub m_nMaxTextureSize: GLint, pub m_nMaxModelviewStackDepth: GLint, pub m_bSupportsPVRTC: bool, pub m_bSupportsNPOT: bool, pub m_bSupportsBGRA8888: bool, pub m_bSupportsDiscardFramebuffer: bool, pub m_bSupportsShareableVAO: bool, pub m_nMaxSamplesAllowed: GLint, pub m_nMaxTextureUnits: GLint, pub m_pGlExtensions: *mut c_char, pub m_pValueDict: *mut cocos2d_CCDictionary, }
Expand description

@addtogroup global @{ @brief CCConfiguration contains some openGL variables @since v0.99.0

Fields

_base: cocos2d_CCObjectm_nMaxTextureSize: GLintm_nMaxModelviewStackDepth: GLintm_bSupportsPVRTC: boolm_bSupportsNPOT: boolm_bSupportsBGRA8888: boolm_bSupportsDiscardFramebuffer: boolm_bSupportsShareableVAO: boolm_nMaxSamplesAllowed: GLintm_nMaxTextureUnits: GLintm_pGlExtensions: *mut c_charm_pValueDict: *mut cocos2d_CCDictionary

Implementations

Trait Implementations

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.