Binding
Constructor Summary
Public Constructor | ||
public |
constructor(cgp: any, idx: any, name: string, options: any) Description |
Member Summary
Public Members | ||
public |
bindingInstances: *[] |
|
public |
bindingType: * |
|
public |
cGpuBuffers: *[] |
|
public |
changed: number |
|
public |
idx: * |
|
public |
isValid: boolean |
|
public |
shader: * |
|
public |
stage: * |
|
public |
stageStr: * |
|
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 |
getSizeBytes(): * |
|
public |
update(cgp: *, inst: *) |
Public Constructors
public constructor(cgp: any, idx: any, name: string, options: any) source
Description
Params:
Name | Type | Attribute | Description |
cgp | any | ||
idx | any | ||
name | string | ||
options | any |
|
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:
Name | Type | Attribute | Description |
uni | * |
public getBindingGroupEntry(gpuDevice: *, inst: *): * source
Params:
Name | Type | Attribute | Description |
gpuDevice | * | ||
inst | * |
Return:
* |
public update(cgp: *, inst: *) source
Params:
Name | Type | Attribute | Description |
cgp | * | ||
inst | * |