Home Reference Source
import {ShaderTextureMath} from './libs/cgl/texturemath/cgl_texturemath.js'
public class | source

ShaderTextureMath

Constructor Summary

Public Constructor
public

Member Summary

Private Members
private

_cgl: *

private

_fb: *

private

_h: number

private

_mesh: *

private

_prevViewPort: number[]

private
private

_w: number

Method Summary

Public Methods
public
public

render(shader: *): *

public

setSize(w: *, h: *)

Private Methods
private

_initFb(w: *, h: *)

Public Constructors

public constructor() source

Private Members

private _cgl: * source

private _fb: * source

private _h: number source

private _mesh: * source

private _prevViewPort: number[] source

private _texPort: * source

private _w: number source

Public Methods

public dispose() source

public render(shader: *): * source

Params:

NameTypeAttributeDescription
shader *

Return:

*

public setSize(w: *, h: *) source

Params:

NameTypeAttributeDescription
w *
h *

Private Methods

private _initFb(w: *, h: *) source

Params:

NameTypeAttributeDescription
w *
h *