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 |
isValid: boolean |
|
| public |
shader: * |
|
| public |
stage: * |
|
| public |
stageStr: * |
|
| public |
uniforms: *[] |
|
| Private Members | ||
| private |
_buffer: * |
|
| private |
_cgp: * |
|
| private |
_index: * |
|
| private |
_log: * |
|
| private |
_name: * |
|
| private |
_options: * |
|
Method Summary
| Public Methods | ||
| public |
addUniform(uni: *) |
|
| public |
copy(newShader: *): * |
|
| public |
getBindingGroupEntry(gpuDevice: *, inst: *): * |
|
| public |
|
|
| public |
getShaderHeaderCode(): * |
|
| public |
getSizeBytes(): * |
|
| public |
isStruct(): boolean |
|
| public |
update(cgp: *, inst: *) |
|
| Private Methods | ||
| private |
_createCgpuBuffer(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 isValid: boolean source
public shader: * source
public stage: * source
public stageStr: * source
public uniforms: *[] source
Private Members
private _buffer: * source
private _cgp: * source
private _index: * source
private _log: * source
private _name: * source
private _options: * 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 | * |
Private Methods
private _createCgpuBuffer(inst: *) source
Params:
| Name | Type | Attribute | Description |
| inst | * |