Cocos Creator
Manual
API Ref
Cocos2d-x
Manual
API Ref
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
PipelineStateInfo
Class PipelineStateInfo
Hierarchy
PipelineStateInfo
Index
Constructors
constructor
Properties
_token
blend
State
depth
Stencil
State
dynamic
States
input
State
pipeline
Layout
primitive
rasterizer
State
render
Pass
shader
Constructors
constructor
new
Pipeline
State
Info
(
shader
:
Shader
, pipelineLayout
:
PipelineLayout
, renderPass
:
RenderPass
, inputState
:
InputState
, rasterizerState
:
RasterizerState
, depthStencilState
:
DepthStencilState
, blendState
:
BlendState
, primitive
?:
PrimitiveMode
, dynamicStates
?:
DynamicStateFlags
)
:
PipelineStateInfo
Parameters
shader:
Shader
pipelineLayout:
PipelineLayout
renderPass:
RenderPass
inputState:
InputState
rasterizerState:
RasterizerState
depthStencilState:
DepthStencilState
blendState:
BlendState
Default value
primitive:
PrimitiveMode
= PrimitiveMode.TRIANGLE_LIST
Default value
dynamicStates:
DynamicStateFlags
= DynamicStateFlagBit.NONE
Returns
PipelineStateInfo
Properties
Private
_token
_token
:
never
blend
State
blend
State
:
BlendState
depth
Stencil
State
depth
Stencil
State
:
DepthStencilState
dynamic
States
dynamic
States
:
DynamicStateFlags
input
State
input
State
:
InputState
pipeline
Layout
pipeline
Layout
:
PipelineLayout
primitive
primitive
:
PrimitiveMode
rasterizer
State
rasterizer
State
:
RasterizerState
render
Pass
render
Pass
:
RenderPass
shader
shader
:
Shader
Globals
gfx
Pipeline
State
Info
constructor
_token
blend
State
depth
Stencil
State
dynamic
States
input
State
pipeline
Layout
primitive
rasterizer
State
render
Pass
shader
Generated using
TypeDoc