Cocos Creator
手册文档
API 参考
Cocos Creator 3D
手册文档
API 参考
Cocos2d-x
手册文档
API 参考
Version: 1.2
Version: 1.0
Version: 1.1
Version: 1.2
Search
Preparing search index...
The search index is not available
Creator3dAPI
Options
All
Public
Public/Protected
All
Inherited
Externals
Only exported
Menu
Globals
gfx
GFXFramebuffer
Class GFXFramebuffer
GFX 帧缓冲。
Hierarchy
GFXObject
GFXFramebuffer
Index
Constructors
constructor
Properties
_color
Textures
_depth
Stencil
Texture
_device
_gfx
Type
_render
Pass
Accessors
color
Textures
depth
Stencil
Texture
gfx
Type
render
Pass
Methods
destroy
initialize
Constructors
constructor
newGFXFramebuffer
(
device
:
GFXDevice
)
:
GFXFramebuffer
Parameters
device:
GFXDevice
Returns
GFXFramebuffer
Properties
Protected
_color
Textures
_color
Textures
:
(
null
|
GFXTexture
)
[]
= []
Protected
_depth
Stencil
Texture
_depth
Stencil
Texture
:
GFXTexture
|
null
= null
Protected
_device
_device
:
GFXDevice
Protected
_gfx
Type
_gfx
Type
:
GFXObjectType
= GFXObjectType.UNKNOWN
Protected
_render
Pass
_render
Pass
:
GFXRenderPass
|
null
= null
Accessors
color
Textures
get
colorTextures
(
)
:
(
null
|
GFXTexture
)
[]
颜色纹理视图数组。
Returns
(
null
|
GFXTexture
)
[]
depth
Stencil
Texture
get
depthStencilTexture
(
)
:
GFXTexture
|
null
深度模板纹理视图。
Returns
GFXTexture
|
null
gfx
Type
get
gfxType
(
)
:
GFXObjectType
Returns
GFXObjectType
render
Pass
get
renderPass
(
)
:
GFXRenderPass
GFX 渲染过程。
Returns
GFXRenderPass
Methods
Abstract
destroy
destroy
(
)
:
void
Returns
void
Abstract
initialize
initialize
(
info
:
IGFXFramebufferInfo
)
:
boolean
Parameters
info:
IGFXFramebufferInfo
Returns
boolean
Globals
gfx
GFXFramebuffer
constructor
_color
Textures
_depth
Stencil
Texture
_device
_gfx
Type
_render
Pass
color
Textures
depth
Stencil
Texture
gfx
Type
render
Pass
destroy
initialize
Generated using
TypeDoc
GFX 帧缓冲。