XnaDevice ClassDelta Engine Documentation
XNA graphics device.
Inheritance Hierarchy

System Object
  DeltaEngine.Graphics Device
    DeltaEngine.Graphics.Xna XnaDevice

Namespace: DeltaEngine.Graphics.Xna
Assembly: DeltaEngine.Graphics.Xna (in DeltaEngine.Graphics.Xna.dll) Version: 1.1.1.0 (1.1.1)
Syntax

public sealed class XnaDevice : Device

The XnaDevice type exposes the following members.

Constructors

  NameDescription
Public methodXnaDevice
Initializes a new instance of the XnaDevice class
Top
Methods

  NameDescription
Public methodClear (Overrides Device Clear .)
Public methodCreateCircularBuffer (Overrides Device CreateCircularBuffer(ShaderWithFormat, BlendMode, VerticesMode).)
Protected methodDisableCulling (Overrides Device DisableCulling .)
Public methodDisableDepthTest (Overrides Device DisableDepthTest .)
Public methodDispose
Releases all resources used by the XnaDevice
(Overrides Device Dispose .)
Protected methodEnableClockwiseBackfaceCulling (Overrides Device EnableClockwiseBackfaceCulling .)
Public methodEnableDepthTest (Overrides Device EnableDepthTest .)
Protected methodOnFullscreenChanged (Overrides Device OnFullscreenChanged(Size, Boolean).)
Public methodPresent (Overrides Device Present .)
Public methodSet2DMode (Inherited from Device.)
Public methodSet3DMode (Inherited from Device.)
Public methodSetBlendMode (Overrides Device SetBlendMode(BlendMode).)
Public methodSetDiffuseTexture
Public methodSetModelMatrix
Public methodSetModelViewProjectionMatrixFor2D
The -0.5 pixel offset is needed in DirectX 9 to correctly match the texture coordinates: http://msdn.microsoft.com/en-us/library/windows/desktop/bb219690(v=vs.85).aspx
(Overrides Device SetModelViewProjectionMatrixFor2D .)
Public methodSetProjectionMatrix
Public methodSetShaderStates
Public methodSetViewMatrix
Public methodSetViewport (Overrides Device SetViewport(Size).)
Top
Fields

  NameDescription
Protected fieldwindow (Inherited from Device.)
Top
Properties

  NameDescription
Public propertyCameraInvertedViewMatrix (Inherited from Device.)
Public propertyCameraProjectionMatrix (Inherited from Device.)
Public propertyCameraViewMatrix (Inherited from Device.)
Public propertyCullingMode (Inherited from Device.)
Public propertyCurrentlyUsedShader (Inherited from Device.)
Public propertyModelViewProjectionMatrix (Inherited from Device.)
Public propertyNativeContent
Public propertyNativeDevice
Public propertyShaderEffect
Top
Events

  NameDescription
Public eventOnSet3DMode (Inherited from Device.)
Top
See Also