Property | Type | Description | |
---|---|---|---|
backBufferTexture | Texture2D | ||
camera | |||
depthStencilView | DepthStencilView | ||
depthTexture | Texture2D | ||
fillMode | FillMode | ||
graphicsDevice | SlimDX.Direct3D11.Device | ||
keyboard | Keyboard | ||
mouse | System.IO.Mouse | ||
postProcess | |||
quadRenderer | |||
renderTargetView | RenderTargetView | ||
swapChain | SwapChain | ||
textures | List |
Method | Description | |
---|---|---|
CheckInput ( double deltaTime ) : void |
Checks keyboard and mouse input.
|
|
ClearScreen ( SlimDX.Color4 color ) : void |
Clears render target and depth views with specified color.
|
|
DisposeFramework ( ) : void |
Removes all unmanaged objects loaded by SlimDX.
|
|
FrameworkForm ( ) : System |
Default constructor.
|
|
FrameworkForm ( string caption ) : System |
Initializes SlimDX and input devices.
|
|
Initialize ( ) : void |
Initializes application.
|
|
RenderFrame ( double deltaTime ) : void |
Renders frame on the screen.
|
|
SetBackBufferRenderTarget ( ) : void |
Sets original render target conntected with back buffer.
|
|
SetFillMode ( FillMode fillMode ) : void |
Sets rendering fill mode.
|
|
UpdateFrame ( double deltaTime ) : void |
Updates frame logic.
|
Method | Description | |
---|---|---|
LoadTexture ( string path ) : ShaderResourceView |
Loads texture from file.
|
|
SetRasterizerState ( ) : void |
Sets rasterizer state.
|
|
ShowFrame ( ) : void |
Shows frame on the screen.
|
Method | Description | |
---|---|---|
InitializeOutputMerger ( ) : void |
Initializes various graphics device resources.
|
|
MakeScreenshot ( string directory ) : void |
Makes screenshot and saves it in specified directory.
|
|
SetDepthStencilView ( ) : void |
Sets depth stencil view.
|
public CheckInput ( double deltaTime ) : void | ||
deltaTime | double | |
return | void |
public ClearScreen ( SlimDX.Color4 color ) : void | ||
color | SlimDX.Color4 | Clear color. |
return | void |
public FrameworkForm ( string caption ) : System | ||
caption | string | Window caption string. |
return | System |
protected LoadTexture ( string path ) : ShaderResourceView | ||
path | string | File path. |
return | ShaderResourceView |
public RenderFrame ( double deltaTime ) : void | ||
deltaTime | double | |
return | void |
public SetFillMode ( FillMode fillMode ) : void | ||
fillMode | FillMode | Desired fill mode. |
return | void |
public UpdateFrame ( double deltaTime ) : void | ||
deltaTime | double | |
return | void |
protected DepthStencilView depthStencilView | ||
return | DepthStencilView |
protected Device,SlimDX.Direct3D11 graphicsDevice | ||
return | SlimDX.Direct3D11.Device |
protected QuadRenderer,VoxelTerrain quadRenderer | ||
return |
protected RenderTargetView renderTargetView | ||
return | RenderTargetView |