Home Reference Source
import Binding from './core/cgp/cgp_binding.js'
public class | source

Binding

Constructor Summary

Public Constructor
public

constructor(cgp: any, idx: any, name: string, options: any)

Description

Member Summary

Public Members
public
public
public
public

changed: number

public

idx: *

public

isValid: boolean

public

shader: *

public

stage: *

public
public

uniforms: *[]

Private Members
private

_buffer: *

private

_cgp: *

private

_log: *

private

_name: *

Method Summary

Public Methods
public

addUniform(uni: *)

public

getBindingGroupEntry(gpuDevice: *, inst: *): *

public
public
public

update(cgp: *, inst: *)

Public Constructors

public constructor(cgp: any, idx: any, name: string, options: any) source

Description

Params:

NameTypeAttributeDescription
cgp any
idx any
name string
options any
  • default: {}

Public Members

public bindingInstances: *[] source

public bindingType: * source

public cGpuBuffers: *[] source

public changed: number source

public idx: * source

public isValid: boolean source

public shader: * source

public stage: * source

public stageStr: * source

public uniforms: *[] source

Private Members

private _buffer: * source

private _cgp: * source

private _log: * source

private _name: * source

Public Methods

public addUniform(uni: *) source

Params:

NameTypeAttributeDescription
uni *

public getBindingGroupEntry(gpuDevice: *, inst: *): * source

Params:

NameTypeAttributeDescription
gpuDevice *
inst *

Return:

*

public getBindingGroupLayoutEntry(): * source

Return:

*

public getSizeBytes(): * source

Return:

*

public update(cgp: *, inst: *) source

Params:

NameTypeAttributeDescription
cgp *
inst *