Skip to content

Commit 501d9f2

Browse files
StartAutomatingStartAutomating
StartAutomating
authored and
StartAutomating
committed
fix: Improving obs-powershell startup time ( Fixes #214 )
1 parent f44cede commit 501d9f2

File tree

1 file changed

+35
-42
lines changed

1 file changed

+35
-42
lines changed

Diff for: docs/Set-OBSTwoPassDropShadowShader.md

+35-42
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ Get-OBSTwoPassDropShadowShader
22
------------------------------
33

44
### Synopsis
5-
65
Get-OBSTwoPassDropShadowShader [[-ViewProj] <float[][]>] [[-Image] <string>] [[-ElapsedTime] <float>] [[-UvOffset] <float[]>] [[-UvScale] <float[]>] [[-UvPixelInterval] <float[]>] [[-RandF] <float>] [[-UvSize] <float[]>] [[-ShadowOffsetX] <int>] [[-ShadowOffsetY] <int>] [[-ShadowBlurSize] <int>] [[-ShadowColor] <string>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-IsAlphaPremultiplied] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>]
76

87
---
@@ -16,121 +15,121 @@ Get-OBSTwoPassDropShadowShader [[-ViewProj] <float[][]>] [[-Image] <string>] [[-
1615

1716
|Type |Required|Position|PipelineInput|Aliases |
1817
|---------|--------|--------|-------------|------------|
19-
|`[float]`|false |2 |false |elapsed_time|
18+
|`[Float]`|false |named |False |elapsed_time|
2019

2120
#### **FilterName**
2221

23-
|Type |Required|Position|PipelineInput |
24-
|----------|--------|--------|---------------------|
25-
|`[string]`|false |13 |true (ByPropertyName)|
22+
|Type |Required|Position|PipelineInput|
23+
|----------|--------|--------|-------------|
24+
|`[String]`|false |named |False |
2625

2726
#### **Force**
2827

2928
|Type |Required|Position|PipelineInput|
3029
|----------|--------|--------|-------------|
31-
|`[switch]`|false |Named |false |
30+
|`[Switch]`|false |named |False |
3231

3332
#### **Image**
3433

3534
|Type |Required|Position|PipelineInput|
3635
|----------|--------|--------|-------------|
37-
|`[string]`|false |1 |false |
36+
|`[String]`|false |named |False |
3837

3938
#### **IsAlphaPremultiplied**
4039

4140
|Type |Required|Position|PipelineInput|Aliases |
4241
|----------|--------|--------|-------------|----------------------|
43-
|`[switch]`|false |Named |false |is_alpha_premultiplied|
42+
|`[Switch]`|false |named |False |is_alpha_premultiplied|
4443

4544
#### **NoResponse**
4645

4746
|Type |Required|Position|PipelineInput|
4847
|----------|--------|--------|-------------|
49-
|`[switch]`|false |Named |false |
48+
|`[Switch]`|false |named |False |
5049

5150
#### **PassThru**
5251

5352
|Type |Required|Position|PipelineInput|
5453
|----------|--------|--------|-------------|
55-
|`[switch]`|false |Named |false |
54+
|`[Switch]`|false |named |False |
5655

5756
#### **RandF**
5857

5958
|Type |Required|Position|PipelineInput|Aliases|
6059
|---------|--------|--------|-------------|-------|
61-
|`[float]`|false |6 |false |rand_f |
60+
|`[Float]`|false |named |False |rand_f |
6261

6362
#### **ShaderText**
6463

6564
|Type |Required|Position|PipelineInput|Aliases |
6665
|----------|--------|--------|-------------|-------------|
67-
|`[string]`|false |14 |false |ShaderContent|
66+
|`[String]`|false |named |False |ShaderContent|
6867

6968
#### **ShadowBlurSize**
7069

7170
|Type |Required|Position|PipelineInput|Aliases |
7271
|-------|--------|--------|-------------|----------------|
73-
|`[int]`|false |10 |false |shadow_blur_size|
72+
|`[Int]`|false |named |False |shadow_blur_size|
7473

7574
#### **ShadowColor**
7675

7776
|Type |Required|Position|PipelineInput|Aliases |
7877
|----------|--------|--------|-------------|------------|
79-
|`[string]`|false |11 |false |shadow_color|
78+
|`[String]`|false |named |False |shadow_color|
8079

8180
#### **ShadowOffsetX**
8281

8382
|Type |Required|Position|PipelineInput|Aliases |
8483
|-------|--------|--------|-------------|---------------|
85-
|`[int]`|false |8 |false |shadow_offset_x|
84+
|`[Int]`|false |named |False |shadow_offset_x|
8685

8786
#### **ShadowOffsetY**
8887

8988
|Type |Required|Position|PipelineInput|Aliases |
9089
|-------|--------|--------|-------------|---------------|
91-
|`[int]`|false |9 |false |shadow_offset_y|
90+
|`[Int]`|false |named |False |shadow_offset_y|
9291

9392
#### **SourceName**
9493

95-
|Type |Required|Position|PipelineInput |Aliases |
96-
|----------|--------|--------|---------------------|-------------|
97-
|`[string]`|false |12 |true (ByPropertyName)|SceneItemName|
94+
|Type |Required|Position|PipelineInput|Aliases |
95+
|----------|--------|--------|-------------|-------------|
96+
|`[String]`|false |named |False |SceneItemName|
9897

9998
#### **UseShaderTime**
10099

101100
|Type |Required|Position|PipelineInput|
102101
|----------|--------|--------|-------------|
103-
|`[switch]`|false |Named |false |
102+
|`[Switch]`|false |named |False |
104103

105104
#### **UvOffset**
106105

107-
|Type |Required|Position|PipelineInput|Aliases |
108-
|-----------|--------|--------|-------------|---------|
109-
|`[float[]]`|false |3 |false |uv_offset|
106+
|Type |Required|Position|PipelineInput|Aliases |
107+
|-------------------|--------|--------|-------------|---------|
108+
|`[System.Single[]]`|false |named |False |uv_offset|
110109

111110
#### **UvPixelInterval**
112111

113-
|Type |Required|Position|PipelineInput|Aliases |
114-
|-----------|--------|--------|-------------|-----------------|
115-
|`[float[]]`|false |5 |false |uv_pixel_interval|
112+
|Type |Required|Position|PipelineInput|Aliases |
113+
|-------------------|--------|--------|-------------|-----------------|
114+
|`[System.Single[]]`|false |named |False |uv_pixel_interval|
116115

117116
#### **UvScale**
118117

119-
|Type |Required|Position|PipelineInput|Aliases |
120-
|-----------|--------|--------|-------------|--------|
121-
|`[float[]]`|false |4 |false |uv_scale|
118+
|Type |Required|Position|PipelineInput|Aliases |
119+
|-------------------|--------|--------|-------------|--------|
120+
|`[System.Single[]]`|false |named |False |uv_scale|
122121

123122
#### **UvSize**
124123

125-
|Type |Required|Position|PipelineInput|Aliases|
126-
|-----------|--------|--------|-------------|-------|
127-
|`[float[]]`|false |7 |false |uv_size|
124+
|Type |Required|Position|PipelineInput|Aliases|
125+
|-------------------|--------|--------|-------------|-------|
126+
|`[System.Single[]]`|false |named |False |uv_size|
128127

129128
#### **ViewProj**
130129

131-
|Type |Required|Position|PipelineInput|
132-
|-------------|--------|--------|-------------|
133-
|`[float[][]]`|false |0 |false |
130+
|Type |Required|Position|PipelineInput|
131+
|---------------------|--------|--------|-------------|
132+
|`[System.Single[][]]`|false |named |False |
134133

135134
---
136135

@@ -146,11 +145,5 @@ System.String
146145

147146
### Syntax
148147
```PowerShell
149-
syntaxItem
150-
```
151-
```PowerShell
152-
----------
153-
```
154-
```PowerShell
155-
{@{name=Get-OBSTwoPassDropShadowShader; CommonParameters=True; parameter=System.Object[]}}
148+
Get-OBSTwoPassDropShadowShader [[-ViewProj] <System.Single[][]>] [[-Image] <String>] [[-ElapsedTime] <Float>] [[-UvOffset] <System.Single[]>] [[-UvScale] <System.Single[]>] [[-UvPixelInterval] <System.Single[]>] [[-RandF] <Float>] [[-UvSize] <System.Single[]>] [[-ShadowOffsetX] <Int>] [[-ShadowOffsetY] <Int>] [[-ShadowBlurSize] <Int>] [[-ShadowColor] <String>] [-IsAlphaPremultiplied <Switch>] [[-SourceName] <String>] [[-FilterName] <String>] [[-ShaderText] <String>] [-Force <Switch>] [-PassThru <Switch>] [-NoResponse <Switch>] [-UseShaderTime <Switch>] [<CommonParameters>]
156149
```

0 commit comments

Comments
 (0)