Cocos Creator
Manual
API Ref
Cocos2d-x
Manual
API Ref
Version: 3.0
Version: 3.5
Version: 3.4
Version: 3.3
Version: 3.2
Version: 3.1
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 render pass.
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 render pass.