RenderTexture.DepthStencilFormat
Enum
Module: cc
The depth buffer and stencil buffer format for RenderTexture.
Index
RB_FMT_D24S8
RB_FMT_S8
RB_FMT_D16
Details
RB_FMT_D24S8
24 bit depth buffer and 8 bit stencil buffer
meta | description |
---|---|
Type | Number |
Defined in | cocos2d/core/assets/CCRenderTexture.js:15 |
RB_FMT_S8
Only 8 bit stencil buffer
meta | description |
---|---|
Type | Number |
Defined in | cocos2d/core/assets/CCRenderTexture.js:23 |
RB_FMT_D16
Only 16 bit depth buffer
meta | description |
---|---|
Type | Number |
Defined in | cocos2d/core/assets/CCRenderTexture.js:31 |