Home Reference Source
import Pipeline from './core/cgp/cgp_pipeline.js'
public class | source

Pipeline

Constructor Summary

Public Constructor
public

Member Summary

Public Members
public
public
public
public get

isValid: *

public
Private Members
private
private

_cgp: *

private

_isValid: boolean

private

_log: *

private

_name: *

private

_old: {}

private
private
private

Method Summary

Public Methods
public

getInfo(): *

public

getPipelineObject(shader: *, mesh: *): *

public

setName(name: *)

public

setPipeline(shader: *, mesh: *)

public

setShaderListener(oldShader: *, newShader: *)

Private Methods
private

_bindUniforms(shader: *, inst: *)

Public Constructors

public constructor() source

Public Members

public DEPTH_COMPARE_FUNCS_STRINGS: string[] source

public bindGroupLayout: * source

public bindingGroupLayoutEntries: *[] source

public get isValid: * source

public shaderNeedsPipelineUpdate: boolean source

Private Members

private _bindGroups: *[] source

private _cgp: * source

private _isValid: boolean source

private _log: * source

private _name: * source

private _old: {} source

private _pipeCfg: * source

private _renderPipeline: * source

private _shaderListeners: *[] source

Public Methods

public getInfo(): * source

Return:

*

public getPipelineObject(shader: *, mesh: *): * source

Params:

NameTypeAttributeDescription
shader *
mesh *

Return:

*

public setName(name: *) source

Params:

NameTypeAttributeDescription
name *

public setPipeline(shader: *, mesh: *) source

Params:

NameTypeAttributeDescription
shader *
mesh *

public setShaderListener(oldShader: *, newShader: *) source

Params:

NameTypeAttributeDescription
oldShader *
newShader *

Private Methods

private _bindUniforms(shader: *, inst: *) source

Params:

NameTypeAttributeDescription
shader *
inst *