Cocos Creator
Manual
API Ref
Cocos2d-x
Manual
API Ref
Version: 3.2
Version: 3.5
Version: 3.4
Version: 3.3
Version: 3.1
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
FramebufferInfo
Class FramebufferInfo
Hierarchy
FramebufferInfo
Index
Constructors
constructor
Properties
_token
color
Mipmap
Levels
color
Textures
dep
Stencil
Mipmap
Level
depth
Stencil
Texture
render
Pass
Constructors
constructor
new
Framebuffer
Info
(
renderPass
:
RenderPass
, colorTextures
?:
(
null
|
Texture
)
[]
, depthStencilTexture
?:
Texture
|
null
, colorMipmapLevels
?:
number
[]
, depStencilMipmapLevel
?:
number
)
:
FramebufferInfo
Parameters
renderPass:
RenderPass
Default value
colorTextures:
(
null
|
Texture
)
[]
= []
Default value
depthStencilTexture:
Texture
|
null
= null
Default value
colorMipmapLevels:
number
[]
= []
Default value
depStencilMipmapLevel:
number
= 0
Returns
FramebufferInfo
Properties
Private
_token
_token
:
never
color
Mipmap
Levels
color
Mipmap
Levels
:
number
[]
color
Textures
color
Textures
:
(
null
|
Texture
)
[]
dep
Stencil
Mipmap
Level
dep
Stencil
Mipmap
Level
:
number
depth
Stencil
Texture
depth
Stencil
Texture
:
Texture
|
null
render
Pass
render
Pass
:
RenderPass
Globals
gfx
Framebuffer
Info
constructor
_token
color
Mipmap
Levels
color
Textures
dep
Stencil
Mipmap
Level
depth
Stencil
Texture
render
Pass
Generated using
TypeDoc