Class: SSRPlugin
Plugins.SSRPlugin
Hierarchy
MultiFilterPlugin
<""
, [IFilter
<SSRPass
,"ssr"
>],ViewerApp
>↳
SSRPlugin
Implements
Properties
PluginType
▪ Static
Readonly
PluginType: "SSReflection"
Defined in
webgi/src/plugins/SSRPlugin.ts:15
dependencies
• dependencies: (typeof AssetManagerPlugin
| typeof ProgressivePlugin
| typeof GBufferPlugin
)[]
Implementation of
Defined in
webgi/src/plugins/SSRPlugin.ts:18
inlineSSR
• inlineSSR: boolean
= true
Defined in
webgi/src/plugins/SSRPlugin.ts:39
_dirty
• Protected
_dirty: boolean
= false
Inherited from
Defined in
webgi/src/core/AViewerPlugin.ts:23
_viewer
• Protected
Optional
_viewer: ViewerApp
Inherited from
Defined in
webgi/src/core/AViewerPlugin.ts:27
Accessors
dirty
• get
dirty(): boolean
Returns
boolean
Implementation of
Inherited from
MultiFilterPlugin.dirty
Defined in
webgi/src/core/AViewerPlugin.ts:16
• set
dirty(value
): void
Parameters
Name | Type |
---|---|
value | boolean |
Returns
void
Implementation of
Inherited from
MultiFilterPlugin.dirty
Defined in
webgi/src/core/AViewerPlugin.ts:20
viewer
• get
viewer(): undefined
| TViewer
Returns
undefined
| TViewer
Inherited from
MultiFilterPlugin.viewer
Defined in
webgi/src/core/AViewerPlugin.ts:29
passes
• get
passes(): TTupleRecord
<TPasses
, "passId"
>
Returns
TTupleRecord
<TPasses
, "passId"
>
Inherited from
MultiFilterPlugin.passes
Defined in
webgi/src/plugins/MultiFilterPlugin.ts:17
pipeline
• get
pipeline(): string
[]
Returns
string
[]
Inherited from
MultiFilterPlugin.pipeline
Defined in
webgi/src/plugins/MultiFilterPlugin.ts:22
• set
pipeline(value
): void
Parameters
Name | Type |
---|---|
value | string [] |
Returns
void
Inherited from
MultiFilterPlugin.pipeline
Defined in
webgi/src/plugins/MultiFilterPlugin.ts:26
ssrTarget
• get
ssrTarget(): undefined
| IRenderTarget
Returns
undefined
| IRenderTarget
Defined in
webgi/src/plugins/SSRPlugin.ts:12
enabled
• get
enabled(): boolean
Returns
boolean
Overrides
MultiFilterPlugin.enabled
Defined in
webgi/src/plugins/SSRPlugin.ts:25
• set
enabled(value
): void
Parameters
Name | Type |
---|---|
value | boolean |
Returns
void
Overrides
MultiFilterPlugin.enabled
Defined in
webgi/src/plugins/SSRPlugin.ts:29
uiConfig
• get
uiConfig(): UiObjectConfig
<any
, string
>
Returns
UiObjectConfig
<any
, string
>
Implementation of
Defined in
webgi/src/plugins/SSRPlugin.ts:66
Methods
onDispose
▸ onDispose(viewer
): Promise
<void
>
Parameters
Name | Type |
---|---|
viewer | ViewerApp |
Returns
Promise
<void
>
Implementation of
Inherited from
Defined in
webgi/src/core/AViewerPlugin.ts:40
exportState
▸ exportState(): any
Returns
any
Inherited from
Defined in
webgi/src/core/AViewerPlugin.ts:68
importState
▸ importState(state
): Promise
<void
>
Parameters
Name | Type |
---|---|
state | any |
Returns
Promise
<void
>
Inherited from
Defined in
webgi/src/core/AViewerPlugin.ts:71
storeState
▸ storeState(prefix?
, storage?
, data?
): void
Parameters
Name | Type |
---|---|
prefix? | string |
storage? | Storage |
data? | any |
Returns
void
Implementation of
Inherited from
Defined in
webgi/src/core/AViewerPlugin.ts:78
loadState
▸ loadState(prefix?
, storage?
): Promise
<void
>
Parameters
Name | Type |
---|---|
prefix? | string |
storage? | Storage |
Returns
Promise
<void
>
Implementation of
Inherited from
Defined in
webgi/src/core/AViewerPlugin.ts:88
toJSON
▸ toJSON(meta?
): any
Parameters
Name | Type |
---|---|
meta? | any |
Returns
any
Implementation of
IViewerPlugin.toJSON
Inherited from
Defined in
webgi/src/plugins/MultiFilterPlugin.ts:65
fromJSON
▸ fromJSON(data
, meta?
): null
| SSRPlugin
Parameters
Name | Type |
---|---|
data | any |
meta? | any |
Returns
null
| SSRPlugin
Implementation of
IViewerPlugin.fromJSON
Inherited from
Defined in
webgi/src/plugins/MultiFilterPlugin.ts:77
onAdded
▸ onAdded(viewer
): Promise
<void
>
Parameters
Name | Type |
---|---|
viewer | ViewerApp |
Returns
Promise
<void
>
Implementation of
Overrides
Defined in
webgi/src/plugins/SSRPlugin.ts:33
createPasses
▸ createPasses(v
): [IFilter
<SSRPass
, "ssr"
>]
Parameters
Name | Type |
---|---|
v | ViewerApp |
Returns
[IFilter
<SSRPass
, "ssr"
>]
Overrides
MultiFilterPlugin.createPasses
Defined in
webgi/src/plugins/SSRPlugin.ts:40
onRemove
▸ onRemove(viewer
): Promise
<void
>
Parameters
Name | Type |
---|---|
viewer | ViewerApp |
Returns
Promise
<void
>
Implementation of
Overrides
Defined in
webgi/src/plugins/SSRPlugin.ts:55
setDirty
▸ setDirty(): void
Returns
void
Defined in
webgi/src/plugins/SSRPlugin.ts:60
_storeKey
▸ Protected
_storeKey(prefix?
): string
Parameters
Name | Type |
---|---|
prefix? | string |
Returns
string
Inherited from
Defined in
webgi/src/core/AViewerPlugin.ts:64
Constructors
constructor
• new SSRPlugin()