Class: ProfilerUtil
Constructors
Properties
Methods
- startView
- viewCount
- viewCount_vertex
- viewCount_indices
- viewCount_tri
- viewCount_instance
- viewCount_draw
- viewCount_pipeline
- start
- end
- countStart
- countEnd
Constructors
constructor
• new ProfilerUtil(): ProfilerUtil
Returns
Properties
viewMap
▪ Static
viewMap: Map
<View3D
, ProfilerDraw
>
Defined in
testObj
▪ Static
testObj: Object
Type declaration
Name | Type |
---|---|
testValue1 | number |
testValue2 | number |
testValue3 | number |
testValue4 | number |
Defined in
Methods
startView
▸ startView(view
): void
Parameters
Name | Type |
---|---|
view | View3D |
Returns
void
Defined in
viewCount
▸ viewCount(view
): ProfilerDraw
Parameters
Name | Type |
---|---|
view | View3D |
Returns
Defined in
viewCount_vertex
▸ viewCount_vertex(view
, pass
, v
): void
Parameters
Name | Type |
---|---|
view | View3D |
pass | string |
v | number |
Returns
void
Defined in
viewCount_indices
▸ viewCount_indices(view
, pass
, v
): void
Parameters
Name | Type |
---|---|
view | View3D |
pass | string |
v | number |
Returns
void
Defined in
viewCount_tri
▸ viewCount_tri(view
, pass
, v
): void
Parameters
Name | Type |
---|---|
view | View3D |
pass | string |
v | number |
Returns
void
Defined in
viewCount_instance
▸ viewCount_instance(view
, pass
, v
): void
Parameters
Name | Type |
---|---|
view | View3D |
pass | string |
v | number |
Returns
void
Defined in
viewCount_draw
▸ viewCount_draw(view
, pass
): void
Parameters
Name | Type |
---|---|
view | View3D |
pass | string |
Returns
void
Defined in
viewCount_pipeline
▸ viewCount_pipeline(view
, pass
): void
Parameters
Name | Type |
---|---|
view | View3D |
pass | string |
Returns
void
Defined in
start
▸ start(id
): void
Parameters
Name | Type |
---|---|
id | string |
Returns
void
Defined in
end
▸ end(id
): void
Parameters
Name | Type |
---|---|
id | string |
Returns
void
Defined in
countStart
▸ countStart(id
, id2?
): void
Parameters
Name | Type | Default value |
---|---|---|
id | string | undefined |
id2 | string | "" |
Returns
void
Defined in
countEnd
▸ countEnd(id
, id2
): void
Parameters
Name | Type |
---|---|
id | string |
id2 | string |
Returns
void
Defined in
print
▸ print(id
): void
Parameters
Name | Type |
---|---|
id | string |
Returns
void