Uniform
Extends:
Constructor Summary
Public Constructor | ||
public |
|
Member Summary
Public Members | ||
public |
gpuBuffer: * |
|
public |
needsUpdate: boolean |
Private Members | ||
private |
_cgp: * |
|
private |
_value: * |
Method Summary
Public Methods | ||
public |
copyToBuffer(buff: *, pos: number) |
|
public |
getSizeBytes(): number |
|
public |
setGpuBuffer(b: *) |
|
public |
setValue2F(v: *) |
|
public |
setValue3F(v: *) |
|
public |
setValue4F(v: *) |
|
public |
setValueAny(v: *) |
|
public |
setValueArrayF(v: *) |
|
public |
setValueF(v: *) |
|
public |
setValueM4(v: *) |
|
public |
setValueT(v: *) |
|
public |
|
|
public |
|
|
public |
|
|
public |
|
|
public |
|
|
public |
|
|
public |
updateValueM4(v: *) |
|
public |
|
Inherited Summary
From class CgUniform | ||
public |
comment: * |
|
public |
needsUpdate: boolean |
|
public |
set: * |
|
public |
shaderType: * |
|
public |
updateValue: * |
|
private |
_log: * |
|
private |
_name: * |
|
private |
_oldValue: * |
|
private |
_port: * |
|
private |
_port2: * |
|
private |
_port3: * |
|
private |
_port4: * |
|
private |
|
|
private |
_shader: * |
|
private |
_structName: * |
|
private |
|
|
private |
_type: * |
|
private |
_value: number |
|
public |
getName(): * |
|
public |
getShaderType(): * |
|
public |
getType(): * |
|
public |
getValue(): * |
|
public |
isStructMember(): * |
|
public |
|
|
public |
|
|
public |
|
|
public |
|
Public Constructors
Public Methods
public copyToBuffer(buff: *, pos: number) source
Params:
Name | Type | Attribute | Description |
buff | * | ||
pos | number |
|
public setGpuBuffer(b: *) source
Params:
Name | Type | Attribute | Description |
b | * |
public setValue2F(v: *) source
Params:
Name | Type | Attribute | Description |
v | * |
public setValue3F(v: *) source
Params:
Name | Type | Attribute | Description |
v | * |
public setValue4F(v: *) source
Params:
Name | Type | Attribute | Description |
v | * |
public setValueAny(v: *) source
Params:
Name | Type | Attribute | Description |
v | * |
public setValueArrayF(v: *) source
Params:
Name | Type | Attribute | Description |
v | * |
public setValueF(v: *) source
Params:
Name | Type | Attribute | Description |
v | * |
public setValueM4(v: *) source
Params:
Name | Type | Attribute | Description |
v | * |
public setValueT(v: *) source
Params:
Name | Type | Attribute | Description |
v | * |
public updateValue2F() source
public updateValue3F() source
public updateValue4F() source
public updateValueAny() source
public updateValueArrayF() source
public updateValueF() source
public updateValueM4(v: *) source
Params:
Name | Type | Attribute | Description |
v | * |