Свойство | Тип | Описание | |
---|---|---|---|
Settings |
Метод | Описание | |
---|---|---|
AddFogTexture ( ) : |
Combines original texture with fog texture.
|
|
GetRenderTarget ( int index ) : |
Gets render target with specified index in a list.
|
|
Initialize ( int width, int height ) : void |
Initializes render targets.
|
|
MakeBloomEffect ( |
Makes bloom effect using specified input texture.
|
|
PostProcess ( SlimDX.Direct3D11.Device graphicsDevice, int width, int height ) : System |
Default constructor.
|
Метод | Описание | |
---|---|---|
AddEffect ( string name ) : void |
Adds shader program with specified entry point to the set.
|
|
AddRenderTarget ( int width, int height, Format format ) : void |
Adds new render target to the list.
|
|
Dispatch ( string shader, int outputScale, |
Sets specified shader program and performs computations.
|
public GetRenderTarget ( int index ) : |
||
index | int | List index. |
Результат |
public Initialize ( int width, int height ) : void | ||
width | int | Screen space width. |
height | int | Screen space height. |
Результат | void |
public MakeBloomEffect ( |
||
texture | Texture to apply effect on. | |
Результат | ShaderResourceView |
public PostProcess ( SlimDX.Direct3D11.Device graphicsDevice, int width, int height ) : System | ||
graphicsDevice | SlimDX.Direct3D11.Device | Virtual adapter used to perform rendering. |
width | int | Screen space width. |
height | int | Screen space height. |
Результат | System |