Skip to content

Class: ProfilerUtil

Constructors

Properties

Methods

Constructors

constructor

new ProfilerUtil(): ProfilerUtil

Returns

ProfilerUtil

Properties

viewMap

Static viewMap: Map<View3D, ProfilerDraw>

Defined in

src/util/ProfilerUtil.ts:37


testObj

Static testObj: Object

Type declaration

NameType
testValue1number
testValue2number
testValue3number
testValue4number

Defined in

src/util/ProfilerUtil.ts:39

Methods

startView

startView(view): void

Parameters

NameType
viewView3D

Returns

void

Defined in

src/util/ProfilerUtil.ts:46


viewCount

viewCount(view): ProfilerDraw

Parameters

NameType
viewView3D

Returns

ProfilerDraw

Defined in

src/util/ProfilerUtil.ts:81


viewCount_vertex

viewCount_vertex(view, pass, v): void

Parameters

NameType
viewView3D
passstring
vnumber

Returns

void

Defined in

src/util/ProfilerUtil.ts:86


viewCount_indices

viewCount_indices(view, pass, v): void

Parameters

NameType
viewView3D
passstring
vnumber

Returns

void

Defined in

src/util/ProfilerUtil.ts:90


viewCount_tri

viewCount_tri(view, pass, v): void

Parameters

NameType
viewView3D
passstring
vnumber

Returns

void

Defined in

src/util/ProfilerUtil.ts:94


viewCount_instance

viewCount_instance(view, pass, v): void

Parameters

NameType
viewView3D
passstring
vnumber

Returns

void

Defined in

src/util/ProfilerUtil.ts:98


viewCount_draw

viewCount_draw(view, pass): void

Parameters

NameType
viewView3D
passstring

Returns

void

Defined in

src/util/ProfilerUtil.ts:102


viewCount_pipeline

viewCount_pipeline(view, pass): void

Parameters

NameType
viewView3D
passstring

Returns

void

Defined in

src/util/ProfilerUtil.ts:106


start

start(id): void

Parameters

NameType
idstring

Returns

void

Defined in

src/util/ProfilerUtil.ts:110


end

end(id): void

Parameters

NameType
idstring

Returns

void

Defined in

src/util/ProfilerUtil.ts:129


countStart

countStart(id, id2?): void

Parameters

NameTypeDefault value
idstringundefined
id2string""

Returns

void

Defined in

src/util/ProfilerUtil.ts:137


countEnd

countEnd(id, id2): void

Parameters

NameType
idstring
id2string

Returns

void

Defined in

src/util/ProfilerUtil.ts:160


print

print(id): void

Parameters

NameType
idstring

Returns

void

Defined in

src/util/ProfilerUtil.ts:181