Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
Microsoft.Xna.Framework.Graphics.GraphicsAdapter Class Referencesealed

Classes

class  CleanupHelper
 

Public Member Functions

bool QueryBackBufferFormat (GraphicsProfile graphicsProfile, SurfaceFormat format, DepthFormat depthFormat, int multiSampleCount, out SurfaceFormat selectedFormat, out DepthFormat selectedDepthFormat, out int selectedMultiSampleCount)
 
bool QueryRenderTargetFormat (GraphicsProfile graphicsProfile, SurfaceFormat format, DepthFormat depthFormat, int multiSampleCount, out SurfaceFormat selectedFormat, out DepthFormat selectedDepthFormat, out int selectedMultiSampleCount)
 
unsafe bool IsProfileSupported (GraphicsProfile graphicsProfile)
 

Package Functions

bool QueryFormat ([MarshalAs(UnmanagedType.U1)] bool isBackBuffer, _D3DDEVTYPE deviceType, GraphicsProfile graphicsProfile, SurfaceFormat format, DepthFormat depthFormat, int multiSampleCount, out SurfaceFormat selectedFormat, out DepthFormat selectedDepthFormat, out int selectedMultiSampleCount)
 
unsafe bool IsProfileSupported (_D3DDEVTYPE deviceType, GraphicsProfile graphicsProfile)
 

Package Attributes

uint adapter
 

Static Package Attributes

static unsafe IDirect3D9pComPtr
 

Properties

static _D3DDEVTYPE CurrentDeviceType [get]
 
static bool UseReferenceDevice [get, set]
 
static bool UseNullDevice [get, set]
 
unsafe IntPtr MonitorHandle [get]
 
unsafe DisplayModeCollection SupportedDisplayModes [get]
 
unsafe DisplayMode CurrentDisplayMode [get]
 
bool IsWideScreen [get]
 
bool IsDefaultAdapter [get]
 
int Revision [get]
 
int SubSystemId [get]
 
int DeviceId [get]
 
int VendorId [get]
 
string DeviceName [get]
 
string Description [get]
 
static GraphicsAdapter DefaultAdapter [get]
 
static ReadOnlyCollection< GraphicsAdapterAdapters [get]
 

Private Member Functions

unsafe GraphicsAdapter (uint adapterOrdinal)
 
unsafe SurfaceFormat QuerySurfaceFormat (SurfaceFormat format, [MarshalAs(UnmanagedType.U1)] bool isBackBuffer, _D3DDEVTYPE deviceType, ProfileCapabilities profileCapabilities)
 
unsafe DepthFormat QueryDepthFormat (DepthFormat depthFormat, SurfaceFormat surfaceFormat, _D3DDEVTYPE deviceType, ProfileCapabilities profileCapabilities)
 
unsafe int QueryMultiSampleCount (int multiSampleCount, SurfaceFormat surfaceFormat, _D3DDEVTYPE deviceType)
 
unsafe bool IsValidSurfaceFormat (SurfaceFormat format, [MarshalAs(UnmanagedType.U1)] bool isBackBuffer, _D3DDEVTYPE deviceType, ProfileCapabilities profileCapabilities)
 
unsafe bool IsValidDepthFormat (DepthFormat depthFormat, SurfaceFormat surfaceFormat, _D3DDEVTYPE deviceType, ProfileCapabilities profileCapabilities)
 

Static Private Member Functions

static GraphicsAdapter ()
 
static unsafe void InitalizeGraphics ()
 
static unsafe void InitializeAdapterList ()
 

Private Attributes

DisplayMode _currentDisplayMode
 
DisplayModeCollection _supportedDisplayModes
 
string _description
 
string _deviceName
 
int _vendorId
 
int _deviceId
 
int _subSystemId
 
int _revision
 

Static Private Attributes

static ReadOnlyCollection< GraphicsAdapterpAdapterList
 
static CleanupHelper pCleanupHelper
 
static bool _003Cbacking_store_003EUseNullDevice
 
static bool _003Cbacking_store_003EUseReferenceDevice
 

Detailed Description

Definition at line 13 of file GraphicsAdapter.cs.


The documentation for this class was generated from the following file: