Click or drag to resize
AB4D logo

DXDevice Properties

The DXDevice type exposes the following members.

Properties
 NameDescription
Public propertyAdapter Gets an adapter (graphics card) that is used by the created Device. Adapter is null if the Device is not yet created.
Public propertyBackgroundThreadsManager Gets or sets a BackgroundThreadsManager that is used for background rendering in DXScene objects (if DXScene does not provide its onw instance of BackgroundThreadsManager).
Public propertyCommonStates CommonStates that store all common states
Public propertyConfiguration DXDeviceConfiguration configuration used for creation of DirectX Device and SwapChain.
Public propertyDevice Gets a DirectX device that is used by this DXDevice
Public propertyDeviceCapabilities DeviceCapabilities for this DirectX device
Public propertyDeviceDescription Gets device description that is retrieved from the Adapter.Description.Description.
Public propertyDeviceId Gets device id that is retrieved from the Adapter.Description.DeviceId.
Public propertyDXGIVersion Gets the DXGI version supported by the Device and operating system. The versions can be from 1.1 to 1.4.
Public propertyEffectsManager EffectsManager that stores all registered effects
Public propertyImmediateContext Gets a DirectX Immediate Device context
Public propertyImmediateContextStatesManager ContextStatesManager that is used for the immediate contex
Public propertyIsDebugDevice Gets a boolean that specifies if the created Device was created with Debug layer. Note that this property can be false even when the CreateDebugDirectXDevice is true. This indicates that the debug device cannot be created. This can be cased because debug layer is disabled in "DirectX Control panel" or the Debug layer is not installer on the system (it is usually installed with Visual Studio or with Windows SDK).
Public propertyIsMeasuringMeshUpdateStatistics Gets or set a Boolean that specifies if mesh updates are tracked during DXScene's Update phase. This value is automatically to true when IsCollectingStatistics is true. In this case the engine is setting MeshUpdatesCount and MeshBytesUploaded properties that are then set to RenderingStatistics object.
Public propertyIsRemoteDevice Gets a boolean that specifies if the device is a remote device (Adapter.Description1.Flags has Remote flag set).
Public propertyMeshBytesUploaded Gets the total uploaded bytes that were uploaded from CPU to GPU memory to update meshes. This value is automatically set by various parts of DXEngine when IsMeasuringMeshUpdateStatistics is true. This value is used to set the MeshBytesUploaded.
Public propertyMeshUpdatesCount Gets the number of mesh buffers that were updated during Update phase. This value is automatically set by various parts of DXEngine when IsMeasuringMeshUpdateStatistics is true. This value is used to set the MeshUpdatesCount.
Public propertyTextureCache TextureCache is used to cache the textures
Top
See Also