D3D11Control Class |
Namespace: SlimDX.Windows
public class D3D11Control : UserControl
The D3D11Control type exposes the following members.
Name | Description | |
---|---|---|
![]() | D3D11Control |
Creates a new instance of the D3D11Control class.
|
![]() | D3D11Control(DriverType, DeviceCreationFlags, FeatureLevel, NullableSwapChainDescription) |
Creates a new instance of the D3D11Controll class with the specified device and swapchain
properties.
|
Name | Description | |
---|---|---|
![]() | AspectRatio |
Gets the aspect ratio of this D3D11Control instance.
|
![]() | AutoAdjustViewPort |
Indicates whether the viewport will automatically size itself when the control is resized.
|
![]() | Context |
Gets the DeviceContext instance which generates rendering commands.
|
![]() | CullMode |
Gets or sets which triangles are to be culled.
|
![]() | DepthStencilView |
Gets the DepthStencilView instance associated with the output merger.
|
![]() | Device |
Gets the virtual adapter used to perform rendering and create resources.
|
![]() | FillMode |
Gets or sets the fill mode to use when rendering.
|
![]() | FrontCounterClockwise |
Determines if a triangle is front- or back-facing.
|
![]() | RenderTargetView |
Gets the RenderTargetView instance associated with the output merger.
|
![]() | SwapChain |
Gets the SwapChain instance associated with the device.
|
![]() | VSync |
Gets or sets a value indicating whether vertical synchronization (vsync) is active.
|
Name | Description | |
---|---|---|
![]() | Clear |
Clears the back buffer and optionally the depth- and stencil buffers.
|
![]() | Present |
Swaps the front and back buffers, presenting the rendered scene to the screen.
|
![]() | ResizeViewport |
Resizes the viewport to the specified dimensions.
|
Name | Description | |
---|---|---|
![]() | AspectRatioChanged |
Occurs when the aspect ratio of the viewport has changed.
|