|
Classes |
| class | Framework |
| | Managed Utility Framework Class. More...
|
| interface | IFrameworkCallback |
| | Interface that the framework will use to call into samples. More...
|
| interface | IDeviceCreation |
| | Interface that the framework will use to determine if a device is acceptable. More...
|
| class | DeviceEventArgs |
| | Event arguments for device creation/reset. More...
|
| class | DeviceSettings |
| | Holds the settings for creating a device. More...
|
| struct | TimerData |
| | Stores timer callback information. More...
|
| struct | MatchOptions |
| | Options on how to match items. More...
|
| class | FrameworkData |
| | Holds data for the Framework class, and all of the properties. More...
|
| class | GraphicsWindow |
| | The main window that will be used for the sample framework. More...
|
| class | Enumeration |
| | Enumerates available Direct3D adapters, devices, modes, etc. Singleton. More...
|
| class | EnumAdapterInformation |
| | Class describing an adapter which contains a unique adapter ordinal that is installed on the system. More...
|
| class | EnumDeviceInformation |
| | Class describing a Direct3D device that contains a unique supported device type. More...
|
| class | EnumDeviceSettingsCombo |
| | Class describing device settings that contain a unique combination of adapter format, back buffer format, and windowed that is compatible with a particular Direct3D device and the application. More...
|
| struct | EnumDepthStencilMultisampleConflict |
| | A depth/stencil buffer format that is incompatible with a multisample type. More...
|
| class | DisplayModeSorter |
| | Used to sort display modes. More...
|
| class | ManagedUtility |
| | Helper methods. More...
|
| class | DirectXSampleException |
| | Base class for sample exceptions. More...
|
| class | NoDirect3DException |
| | The No Direct3D exception. Something really had to go wrong for this to occur. More...
|
| class | NoCompatibleDevicesException |
| | No compatible devices were found for this application. More...
|
| class | MediaNotFoundException |
| | Media couldn't be found. More...
|
| class | CreatingDeviceException |
| | Creating the device failed. More...
|
| class | ResettingDeviceException |
| | Resetting the device failed. More...
|
| class | CreatingDeviceObjectsException |
| | Creating the device objects failed. More...
|
| class | ResettingDeviceObjectsException |
| | Resetting the device failed. More...
|
| struct | BlendColor |
| | Blends colors. More...
|
| struct | ElementHolder |
| | Contains all the display information for a given control type. More...
|
| class | Element |
| | Contains all the display tweakables for a sub-control. More...
|
| class | TextureNode |
| | Structure for shared textures. More...
|
| class | FontNode |
| | Structure for shared fonts. More...
|
| class | DialogResourceManager |
| | Manages shared resources of dialogs. More...
|
| class | Dialog |
| | All controls must be assigned to a dialog, which handles input and rendering for the controls. More...
|
| class | Control |
| | Base class for all controls. More...
|
| class | StaticText |
| | StaticText text control. More...
|
| class | Button |
| | Button control. More...
|
| class | Checkbox |
| | Checkbox control. More...
|
| class | RadioButton |
| | Radio button control. More...
|
| class | ScrollBar |
| | A scroll bar control. More...
|
| struct | ComboBoxItem |
| | Stores data for a combo box item. More...
|
| class | ComboBox |
| | Combo box control. More...
|
| class | Slider |
| | Slider control. More...
|
| struct | ListBoxItem |
| | Stores data for a list box item. More...
|
| class | ListBox |
| | List box control. More...
|
| class | EditBox |
| | A basic edit box. More...
|
| class | FrameworkMesh |
| | Class for loading and rendering file-based meshes. More...
|
| class | SwitchRefDialog |
| class | NativeMethods |
| | Will hold native methods which are interop'd. More...
|
| class | FrameworkTimer |
| struct | CachedTexture |
| | Information about a cached texture. More...
|
| struct | CachedEffect |
| | Information about a cached effect. More...
|
| class | ResourceCache |
| | Will be a resource cache for any resources that may be required by a sample This class will be 'static'. More...
|
| class | ArcBall |
| | Class holds arcball data. More...
|
| class | Camera |
| | Simple base camera class that moves and rotates. The base class records mouse and keyboard input for use by a derived class, and keeps common state. More...
|
| class | FirstPersonCamera |
| | Simple first person camera class that moves and rotates. It allows yaw and pitch but not roll. It uses keyboard and cursor to respond to keyboard and mouse input and updates the view matrix based on input. More...
|
| class | ModelViewerCamera |
| | Simple model viewing camera class that rotates around the object. More...
|
| struct | TextHelper |
| | Manages the intertion point when drawing text. More...
|
| class | Utility |
| | Misc utility functionality. More...
|
| class | DirectionWidget |
| | Widget for controlling direction. More...
|
| class | SettingsDialog |
| | Dialog for selection of device settings. More...
|
Enumerations |
| enum | MatchType {
IgnoreInput,
PreserveInput,
ClosestToInput,
IgnoreInput,
PreserveInput,
ClosestToInput,
IgnoreInput,
PreserveInput,
ClosestToInput
} |
| | Used when finding valid device settings. More...
|
| enum | ControlType {
StaticText,
Button,
CheckBox,
RadioButton,
ComboBox,
Slider,
ListBox,
EditBox,
Scrollbar,
StaticText,
Button,
CheckBox,
RadioButton,
ComboBox,
Slider,
ListBox,
EditBox,
Scrollbar,
StaticText,
Button,
CheckBox,
RadioButton,
ComboBox,
Slider,
ListBox,
EditBox,
Scrollbar
} |
| | Predefined control types. More...
|
| enum | ControlState {
Normal,
Disabled,
Hidden,
Focus,
MouseOver,
Pressed,
LastState,
Normal,
Disabled,
Hidden,
Focus,
MouseOver,
Pressed,
LastState,
Normal,
Disabled,
Hidden,
Focus,
MouseOver,
Pressed,
LastState
} |
| | Possible states of a control. More...
|
| enum | ListBoxStyle {
SingleSelection,
Multiselection,
SingleSelection,
Multiselection,
SingleSelection,
Multiselection
} |
| | Style of the list box. More...
|
| enum | CameraKeys {
StrafeLeft,
StrafeRight,
MoveForward,
MoveBackward,
MoveUp,
MoveDown,
Reset,
ControlDown,
MaxKeys,
Unknown = 0xff,
StrafeLeft,
StrafeRight,
MoveForward,
MoveBackward,
MoveUp,
MoveDown,
Reset,
ControlDown,
MaxKeys,
Unknown = 0xff,
StrafeLeft,
StrafeRight,
MoveForward,
MoveBackward,
MoveUp,
MoveDown,
Reset,
ControlDown,
MaxKeys,
Unknown = 0xff
} |
| | Used to map keys to the camera. More...
|
| enum | MouseButtonMask {
None = 0,
Left = 0x01,
Middle = 0x02,
Right = 0x04,
Wheel = 0x08,
None = 0,
Left = 0x01,
Middle = 0x02,
Right = 0x04,
Wheel = 0x08,
None = 0,
Left = 0x01,
Middle = 0x02,
Right = 0x04,
Wheel = 0x08
} |
| | Mouse button mask values. More...
|
| enum | SettingsDialogControlIds {
Static = -1,
None,
OK,
Cancel,
Adapter,
DeviceType,
Windowed,
Fullscreen,
AdapterFormat,
AdapterFormatLabel,
Resolution,
ResolutionLabel,
RefreshRate,
RefreshRateLabel,
BackBufferFormat,
DepthStencil,
MultisampleType,
MultisampleQuality,
VertexProcessing,
PresentInterval,
DeviceClip,
RadioButtonGroup = 0x100,
Static = -1,
None,
OK,
Cancel,
Adapter,
DeviceType,
Windowed,
Fullscreen,
AdapterFormat,
AdapterFormatLabel,
Resolution,
ResolutionLabel,
RefreshRate,
RefreshRateLabel,
BackBufferFormat,
DepthStencil,
MultisampleType,
MultisampleQuality,
VertexProcessing,
PresentInterval,
DeviceClip,
RadioButtonGroup = 0x100,
Static = -1,
None,
OK,
Cancel,
Adapter,
DeviceType,
IsWindowed,
Fullscreen,
AdapterFormat,
AdapterFormatLabel,
Resolution,
ResolutionLabel,
RefreshRate,
RefreshRateLabel,
BackBufferFormat,
DepthStencil,
MultisampleType,
MultisampleQuality,
VertexProcessing,
PresentInterval,
DeviceClip,
RadioButtonGroup = 0x100
} |
| enum | MatchType {
IgnoreInput,
PreserveInput,
ClosestToInput,
IgnoreInput,
PreserveInput,
ClosestToInput,
IgnoreInput,
PreserveInput,
ClosestToInput
} |
| | Used when finding valid device settings. More...
|
| enum | ControlType {
StaticText,
Button,
CheckBox,
RadioButton,
ComboBox,
Slider,
ListBox,
EditBox,
Scrollbar,
StaticText,
Button,
CheckBox,
RadioButton,
ComboBox,
Slider,
ListBox,
EditBox,
Scrollbar,
StaticText,
Button,
CheckBox,
RadioButton,
ComboBox,
Slider,
ListBox,
EditBox,
Scrollbar
} |
| | Predefined control types. More...
|
| enum | ControlState {
Normal,
Disabled,
Hidden,
Focus,
MouseOver,
Pressed,
LastState,
Normal,
Disabled,
Hidden,
Focus,
MouseOver,
Pressed,
LastState,
Normal,
Disabled,
Hidden,
Focus,
MouseOver,
Pressed,
LastState
} |
| | Possible states of a control. More...
|
| enum | ListBoxStyle {
SingleSelection,
Multiselection,
SingleSelection,
Multiselection,
SingleSelection,
Multiselection
} |
| | Style of the list box. More...
|
| enum | CameraKeys {
StrafeLeft,
StrafeRight,
MoveForward,
MoveBackward,
MoveUp,
MoveDown,
Reset,
ControlDown,
MaxKeys,
Unknown = 0xff,
StrafeLeft,
StrafeRight,
MoveForward,
MoveBackward,
MoveUp,
MoveDown,
Reset,
ControlDown,
MaxKeys,
Unknown = 0xff,
StrafeLeft,
StrafeRight,
MoveForward,
MoveBackward,
MoveUp,
MoveDown,
Reset,
ControlDown,
MaxKeys,
Unknown = 0xff
} |
| | Used to map keys to the camera. More...
|
| enum | MouseButtonMask {
None = 0,
Left = 0x01,
Middle = 0x02,
Right = 0x04,
Wheel = 0x08,
None = 0,
Left = 0x01,
Middle = 0x02,
Right = 0x04,
Wheel = 0x08,
None = 0,
Left = 0x01,
Middle = 0x02,
Right = 0x04,
Wheel = 0x08
} |
| | Mouse button mask values. More...
|
| enum | SettingsDialogControlIds {
Static = -1,
None,
OK,
Cancel,
Adapter,
DeviceType,
Windowed,
Fullscreen,
AdapterFormat,
AdapterFormatLabel,
Resolution,
ResolutionLabel,
RefreshRate,
RefreshRateLabel,
BackBufferFormat,
DepthStencil,
MultisampleType,
MultisampleQuality,
VertexProcessing,
PresentInterval,
DeviceClip,
RadioButtonGroup = 0x100,
Static = -1,
None,
OK,
Cancel,
Adapter,
DeviceType,
Windowed,
Fullscreen,
AdapterFormat,
AdapterFormatLabel,
Resolution,
ResolutionLabel,
RefreshRate,
RefreshRateLabel,
BackBufferFormat,
DepthStencil,
MultisampleType,
MultisampleQuality,
VertexProcessing,
PresentInterval,
DeviceClip,
RadioButtonGroup = 0x100,
Static = -1,
None,
OK,
Cancel,
Adapter,
DeviceType,
IsWindowed,
Fullscreen,
AdapterFormat,
AdapterFormatLabel,
Resolution,
ResolutionLabel,
RefreshRate,
RefreshRateLabel,
BackBufferFormat,
DepthStencil,
MultisampleType,
MultisampleQuality,
VertexProcessing,
PresentInterval,
DeviceClip,
RadioButtonGroup = 0x100
} |
| enum | MatchType {
IgnoreInput,
PreserveInput,
ClosestToInput,
IgnoreInput,
PreserveInput,
ClosestToInput,
IgnoreInput,
PreserveInput,
ClosestToInput
} |
| | Used when finding valid device settings. More...
|
| enum | ControlType {
StaticText,
Button,
CheckBox,
RadioButton,
ComboBox,
Slider,
ListBox,
EditBox,
Scrollbar,
StaticText,
Button,
CheckBox,
RadioButton,
ComboBox,
Slider,
ListBox,
EditBox,
Scrollbar,
StaticText,
Button,
CheckBox,
RadioButton,
ComboBox,
Slider,
ListBox,
EditBox,
Scrollbar
} |
| | Predefined control types. More...
|
| enum | ControlState {
Normal,
Disabled,
Hidden,
Focus,
MouseOver,
Pressed,
LastState,
Normal,
Disabled,
Hidden,
Focus,
MouseOver,
Pressed,
LastState,
Normal,
Disabled,
Hidden,
Focus,
MouseOver,
Pressed,
LastState
} |
| | Possible states of a control. More...
|
| enum | ListBoxStyle {
SingleSelection,
Multiselection,
SingleSelection,
Multiselection,
SingleSelection,
Multiselection
} |
| | Style of the list box. More...
|
| enum | CameraKeys {
StrafeLeft,
StrafeRight,
MoveForward,
MoveBackward,
MoveUp,
MoveDown,
Reset,
ControlDown,
MaxKeys,
Unknown = 0xff,
StrafeLeft,
StrafeRight,
MoveForward,
MoveBackward,
MoveUp,
MoveDown,
Reset,
ControlDown,
MaxKeys,
Unknown = 0xff,
StrafeLeft,
StrafeRight,
MoveForward,
MoveBackward,
MoveUp,
MoveDown,
Reset,
ControlDown,
MaxKeys,
Unknown = 0xff
} |
| | Used to map keys to the camera. More...
|
| enum | MouseButtonMask {
None = 0,
Left = 0x01,
Middle = 0x02,
Right = 0x04,
Wheel = 0x08,
None = 0,
Left = 0x01,
Middle = 0x02,
Right = 0x04,
Wheel = 0x08,
None = 0,
Left = 0x01,
Middle = 0x02,
Right = 0x04,
Wheel = 0x08
} |
| | Mouse button mask values. More...
|
| enum | SettingsDialogControlIds {
Static = -1,
None,
OK,
Cancel,
Adapter,
DeviceType,
Windowed,
Fullscreen,
AdapterFormat,
AdapterFormatLabel,
Resolution,
ResolutionLabel,
RefreshRate,
RefreshRateLabel,
BackBufferFormat,
DepthStencil,
MultisampleType,
MultisampleQuality,
VertexProcessing,
PresentInterval,
DeviceClip,
RadioButtonGroup = 0x100,
Static = -1,
None,
OK,
Cancel,
Adapter,
DeviceType,
Windowed,
Fullscreen,
AdapterFormat,
AdapterFormatLabel,
Resolution,
ResolutionLabel,
RefreshRate,
RefreshRateLabel,
BackBufferFormat,
DepthStencil,
MultisampleType,
MultisampleQuality,
VertexProcessing,
PresentInterval,
DeviceClip,
RadioButtonGroup = 0x100,
Static = -1,
None,
OK,
Cancel,
Adapter,
DeviceType,
IsWindowed,
Fullscreen,
AdapterFormat,
AdapterFormatLabel,
Resolution,
ResolutionLabel,
RefreshRate,
RefreshRateLabel,
BackBufferFormat,
DepthStencil,
MultisampleType,
MultisampleQuality,
VertexProcessing,
PresentInterval,
DeviceClip,
RadioButtonGroup = 0x100
} |
Functions |
| delegate void | DeviceEventHandler (object sender, DeviceEventArgs e) |
| | Event Handler delegate for device creation/reset.
|
| delegate IntPtr | WndProcCallback (IntPtr hWnd, NativeMethods.WindowMessage msg, IntPtr wParam, IntPtr lParam, ref bool NoFurtherProcessing) |
| delegate void | TimerCallback (uint eventId) |