The input
argument is a type of the IRenderPipelineInput
interface with the following default values:
input.primitiveType
: 'triangle-list'
, input.cullMode
: 'none'
, input.isDepthStencil
: true
,
input.vsEntry
: 'vs_main'
, input.fsEntry
: 'fs_main'
. If input.shader
is specified, then
input.vsShader = input.shader
and input.fsShader = input.shader
Indicates whether the GPU fragment state should be included or not. Default value is true
.
If it is set to false
, the render pipeline will not produce any color attachment outputs. For example, we do not
need any color output when rendering shadows, so we can set this parameter to false
in this case
Generated using TypeDoc
This function creates the render pipeline descriptor that will be used to create a render pipeline.
Returns
The render pipeline descriptor.