Home Reference Source
import {CubemapFramebuffer} from './libs/cgl/cubemapframebuffer/cubemapframebuffer.js'
public class | source

CubemapFramebuffer

Constructor Summary

Public Constructor
public

Member Summary

Public Members
public

camPos: *

public

height: *

public

name: *

public

texture: *

public

width: *

Private Members
private

_cgl: *

private

_cubemapProperties: undefined[]

private
private
private
private
private
private
private
private
private

Method Summary

Public Methods
public

checkErrorsByStatus(status: *)

public

delete()

public
public
public
public

getHeight(): *

public
public
public

getWidth(): *

public
public
public
public
public
public

setCamPos(camPos: *)

public

setFilter(filter: *)

public

setMatrices(M: *, V: *, P: *)

public
public

setSize(width: *, height: *)

public

Public Constructors

public constructor() source

Public Members

public camPos: * source

public height: * source

public name: * source

public texture: * source

public width: * source

Private Members

private _cgl: * source

private _cubemapProperties: undefined[] source

private _depthRenderbuffer: * source

private _depthbuffer: * source

private _framebuffer: * source

private _lookAtTemp: * source

private _modelMatrix: * source

private _options: * source

private _projectionMatrix: * source

private _textureDepth: * source

private _viewMatrix: * source

Public Methods

public checkErrorsByStatus(status: *) source

Params:

NameTypeAttributeDescription
status *

public delete() source

public dispose() source

public getDepthRenderBuffer(): * source

Return:

*

public getGlFrameBuffer(): * source

Return:

*

public getHeight(): * source

Return:

*

public getTextureColor(): * source

Return:

*

public getTextureDepth(): * source

Return:

*

public getWidth(): * source

Return:

*

public initializeRenderbuffers() source

public renderEnd() source

public renderEndCubemapFace() source

public renderStart() source

public renderStartCubemapFace(index: *) source

Params:

NameTypeAttributeDescription
index *

public setCamPos(camPos: *) source

Params:

NameTypeAttributeDescription
camPos *

public setFilter(filter: *) source

Params:

NameTypeAttributeDescription
filter *

public setMatrices(M: *, V: *, P: *) source

Params:

NameTypeAttributeDescription
M *
V *
P *

public setMatricesCubemapFace(index: *) source

Params:

NameTypeAttributeDescription
index *

public setSize(width: *, height: *) source

Params:

NameTypeAttributeDescription
width *
height *

public updateMipMap() source