Cocos Creator
手册文档
API 参考
Cocos Creator 3D
手册文档
API 参考
Cocos2d-x
手册文档
API 参考
AnySDK
Version: 1.1
Version: 1.0
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
Views
_depth
Stencil
View
_device
_gfx
Type
_is
Offscreen
_render
Pass
_status
Accessors
color
Views
depth
Stencil
View
gfx
Type
is
Offscreen
render
Pass
status
Methods
destroy
initialize
Constructors
constructor
newGFXFramebuffer
(
device
:
GFXDevice
)
:
GFXFramebuffer
Parameters
device:
GFXDevice
Returns
GFXFramebuffer
Properties
Protected
_color
Views
_color
Views
:
GFXTextureView
[]
= []
Protected
_depth
Stencil
View
_depth
Stencil
View
:
GFXTextureView
|
null
= null
Protected
_device
_device
:
GFXDevice
Protected
_gfx
Type
_gfx
Type
:
GFXObjectType
= GFXObjectType.UNKNOWN
Protected
_is
Offscreen
_is
Offscreen
:
boolean
= true
Protected
_render
Pass
_render
Pass
:
GFXRenderPass
|
null
= null
Protected
_status
_status
:
GFXStatus
= GFXStatus.UNREADY
Accessors
color
Views
get
colorViews
(
)
:
GFXTextureView
[]
颜色纹理视图数组。
Returns
GFXTextureView
[]
depth
Stencil
View
get
depthStencilView
(
)
:
GFXTextureView
|
null
深度模板纹理视图。
Returns
GFXTextureView
|
null
gfx
Type
get
gfxType
(
)
:
GFXObjectType
Returns
GFXObjectType
is
Offscreen
get
isOffscreen
(
)
:
boolean
是否是离屏的。
Returns
boolean
render
Pass
get
renderPass
(
)
:
GFXRenderPass
|
null
GFX 渲染过程。
Returns
GFXRenderPass
|
null
status
get
status
(
)
:
GFXStatus
Returns
GFXStatus
Methods
Abstract
destroy
destroy
(
)
:
void
Returns
void
Abstract
initialize
initialize
(
info
:
IGFXFramebufferInfo
)
:
boolean
Parameters
info:
IGFXFramebufferInfo
Returns
boolean
Globals
gfx
GFXFramebuffer
constructor
_color
Views
_depth
Stencil
View
_device
_gfx
Type
_is
Offscreen
_render
Pass
_status
color
Views
depth
Stencil
View
gfx
Type
is
Offscreen
render
Pass
status
destroy
initialize
Generated using
TypeDoc
GFX 帧缓冲。