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
GFXRenderPass
Class GFXRenderPass
GFX render pass.
Hierarchy
GFXObject
GFXRenderPass
Index
Constructors
constructor
Properties
_color
Infos
_depth
Stencil
Info
_device
_gfx
Type
_hash
_sub
Passes
Accessors
color
Attachments
depth
Stencil
Attachment
gfx
Type
hash
sub
Passes
Methods
compute
Hash
destroy
initialize
Constructors
constructor
newGFXRender
Pass
(
device
:
GFXDevice
)
:
GFXRenderPass
Parameters
device:
GFXDevice
Returns
GFXRenderPass
Properties
Protected
_color
Infos
_color
Infos
:
GFXColorAttachment
[]
= []
Protected
_depth
Stencil
Info
_depth
Stencil
Info
:
GFXDepthStencilAttachment
|
null
= null
Protected
_device
_device
:
GFXDevice
Protected
_gfx
Type
_gfx
Type
:
GFXObjectType
= GFXObjectType.UNKNOWN
Protected
_hash
_hash
:
number
= 0
Protected
_sub
Passes
_sub
Passes
:
IGFXSubPassInfo
[]
= []
Accessors
color
Attachments
get
colorAttachments
(
)
:
GFXColorAttachment
[]
Returns
GFXColorAttachment
[]
depth
Stencil
Attachment
get
depthStencilAttachment
(
)
:
null
|
GFXDepthStencilAttachment
Returns
null
|
GFXDepthStencilAttachment
gfx
Type
get
gfxType
(
)
:
GFXObjectType
Returns
GFXObjectType
hash
get
hash
(
)
:
number
Returns
number
sub
Passes
get
subPasses
(
)
:
IGFXSubPassInfo
[]
Returns
IGFXSubPassInfo
[]
Methods
Protected
compute
Hash
compute
Hash
(
)
:
number
Returns
number
Abstract
destroy
destroy
(
)
:
void
Returns
void
Abstract
initialize
initialize
(
info
:
IGFXRenderPassInfo
)
:
boolean
Parameters
info:
IGFXRenderPassInfo
Returns
boolean
Globals
gfx
GFXRender
Pass
constructor
_color
Infos
_depth
Stencil
Info
_device
_gfx
Type
_hash
_sub
Passes
color
Attachments
depth
Stencil
Attachment
gfx
Type
hash
sub
Passes
compute
Hash
destroy
initialize
Generated using
TypeDoc
GFX render pass.