Home Reference Source
import Uniform from './core/cgp/cgp_uniform.js'
public class | source

Uniform

Extends:

CgUniform → Uniform

Constructor Summary

Public Constructor
public

Member Summary

Public Members
public

needsUpdate: boolean

Private Members
private

_cgl: *

private

_loc: *

private

_value: *

Method Summary

Public Methods
public
public

setValue2F(v: *)

public

setValue3F(v: *)

public

setValue4F(v: *)

public

setValueF(v: *)

public
public
public
public

Inherited Summary

From class CgUniform
public

comment: *

public

needsUpdate: boolean

public

set: *

public
public
private

_log: *

private

_name: *

private
private

_port: *

private

_port2: *

private

_port3: *

private

_port4: *

private
private

_shader: *

private
private
private

_type: *

private

_value: number

public

getName(): *

public
public

getType(): *

public

getValue(): *

public
public
public
public
public

Public Constructors

public constructor() source

Override:

CgUniform#constructor

Public Members

public needsUpdate: boolean source

Override:

CgUniform#needsUpdate

Private Members

private _cgl: * source

private _loc: * source

private _value: * source

Override:

CgUniform#_value

Public Methods

public getSizeBytes(): * source

Return:

*

public setValue2F(v: *) source

Params:

NameTypeAttributeDescription
v *

public setValue3F(v: *) source

Params:

NameTypeAttributeDescription
v *

public setValue4F(v: *) source

Params:

NameTypeAttributeDescription
v *

public setValueF(v: *) source

Params:

NameTypeAttributeDescription
v *

public updateValue2F() source

public updateValue3F() source

public updateValue4F() source

public updateValueF() source