Cocos Creator
手册文档
API 参考
Cocos Creator 3D
手册文档
API 参考
Cocos2d-x
手册文档
API 参考
Version: 3.1
Version: 3.5
Version: 3.4
Version: 3.3
Version: 3.2
Version: 3.0
Version: 2.4
Version: 2.3
Version: 2.2
Version: 2.1
Version: 2.0
Version: 1.10
Version: 1.9
Search
Preparing search index...
The search index is not available
CocosCreatorAPI
Options
All
Public
Public/Protected
All
Inherited
Externals
Only exported
Menu
Globals
gfx
RenderPass
Class RenderPass
GFX 渲染过程。
Hierarchy
Obj
RenderPass
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
new
Render
Pass
(
device
:
Device
)
:
RenderPass
Parameters
device:
Device
Returns
RenderPass
Properties
Protected
_color
Infos
_color
Infos
:
ColorAttachment
[]
= []
Protected
_depth
Stencil
Info
_depth
Stencil
Info
:
DepthStencilAttachment
|
null
= null
Protected
_device
_device
:
Device
Protected
_gfx
Type
_gfx
Type
:
ObjectType
= ObjectType.UNKNOWN
Protected
_hash
_hash
:
number
= 0
Protected
_sub
Passes
_sub
Passes
:
SubPassInfo
[]
= []
Accessors
color
Attachments
get
colorAttachments
(
)
:
ColorAttachment
[]
Returns
ColorAttachment
[]
depth
Stencil
Attachment
get
depthStencilAttachment
(
)
:
null
|
DepthStencilAttachment
Returns
null
|
DepthStencilAttachment
gfx
Type
get
gfxType
(
)
:
ObjectType
Returns
ObjectType
hash
get
hash
(
)
:
number
Returns
number
sub
Passes
get
subPasses
(
)
:
SubPassInfo
[]
Returns
SubPassInfo
[]
Methods
Protected
compute
Hash
compute
Hash
(
)
:
number
Returns
number
Abstract
destroy
destroy
(
)
:
void
Returns
void
Abstract
initialize
initialize
(
info
:
RenderPassInfo
)
:
boolean
Parameters
info:
RenderPassInfo
Returns
boolean
Globals
gfx
Render
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 渲染过程。