Visual3D Game EngineAPI Documentation for XNA, C#, VB, and .NET
Holds the settings for creating a graphics device.

Namespace: Visual3D.Graphics3D
Assembly: Visual3D.Engine (in Visual3D.Engine.dll) Version: 1.0.0.0 (1.0.0.0)

Syntax

      
 C#  Visual Basic 
public class DeviceSettings : ICloneable
Public Class DeviceSettings _
	Implements ICloneable

Members

               
 All Members  Constructors   Fields   Properties   Methods  
 Public

 Protected
 Instance

 Static 
 Declared

 Inherited
 XNA Framework Only 

 .NET Compact Framework Only 

 MemberDescription
DeviceSettings()()()()
Creates device settings from the current world configuration.
DeviceSettings(Control)
Creates device settings for rendering on specified WinForms control.
AdapterOrdinal
Zero-based index of graphics adapter (corresponds to GraphicsAdapter.Adapters collection).
AntialiasingCSAAMultiplier
Gets/sets multisampling quality (also know as anti-aliasing quality). Generally, use MultiSamplingType instead of this advanced property.
AntialiasingLevel
Gets/sets multisampling type (also know as anti-aliasing type).
BackBufferFormat
Preferred color format of back buffer.
Clone()()()()
Returns exact copy of DeviceSettings.
DefaultWindowsFormIconType
DepthStencilBufferFormat
Preferred depth/stencil buffer format.
DeviceType
Preferred type of graphics device.
ExplicitBackBufferSize
FullScreenRefreshRateInHz
Gets/sets full-screen refresh rate, in Hz.
FullScreenResolution
Gets/sets screen resolution in full-screen mode.
Icon
If specified, will be assigned as icon (Icon property) of render window root form.
IsAnisotropicFilterAllowed
Gets/sets whether anisotropic filtering is allowed or not.
IsAntialiasingCSAAEnabled
IsForcedLowQualityMode
Low-quality render mode: no textures, simple Phong materials with 1 light applied to all scene objects. Default is false.
IsFullScreen
If set to true, full-screen mode will be set upon device creation.
IsWindowed
If set to true, windowed mode will be set upon device creation.
MaxAnisotropyLevel
Gets/sets upper bound of anisotropic filtering.
PresentationParams
Parameters of graphics output (such as back buffer format, width and height etc). You may also use several properties of DeviceSettingsNew object to control individual parameters.
RenderWindow
If contains non-null value, this WinForm control will be used as render surface in *WINDOWED MODE*. Otherwise, V3D will create and use new instance of GraphicsForm and nested Control as a render surface. Consider that for full-screen mode V3D will always use own GraphicsForm. Setting this property to new value also updates WindowedResolution.
RenderWindowHandle
Gets/sets a handle to the assigned RenderWindow. Setting this property to the new value will attach RenderWindow control to the given handle. Unmanaged window handles are allowed. May return IntPtr.Zero if no RenderWindow is assigned.
Screen
ScreenBounds
SetAdapterByFormBounds(Rectangle)
SetAdapterByScreen(Screen)
SetDefaultIconForAllWindowsForms()()()()
ShowWindowOnCreateDevice
If set to true, render window will be made visible right after graphics device creation. Otherwise, you should call RenderPipeline.WindowForm.Show method manually after device is created. Used to defer showing a window until loading/creation sequence is finished. Default is false (window should be shown manually).
Title
If specified, will be assigned as a title (Text property) of render window root form.
ToString()()()() (Overrides Object..::..ToString()()()().)
UseExplicitBackBufferSize
WindowedResolution
Gets/sets render target size in windowed mode.

Inheritance Hierarchy

System..::..Object
  Visual3D.Graphics3D..::..DeviceSettings

See Also