IGraphicsDeviceFactory Interface
Namespace: Stride.GamesAssembly: Stride.Games.dll
public interface IGraphicsDeviceFactory
| Name | Description | |
|---|---|---|
| Methods | ||
| ChangeOrCreateDevice(GraphicsDevice, GraphicsDeviceInformation) | ||
| FindBestDevices(GameGraphicsParameters) | ||
Methods
ChangeOrCreateDevice(GraphicsDevice, GraphicsDeviceInformation)
GraphicsDevice ChangeOrCreateDevice(GraphicsDevice currentDevice, GraphicsDeviceInformation deviceInformation)
Parameters
| Type | Name | Description |
|---|---|---|
| GraphicsDevice | currentDevice | |
| GraphicsDeviceInformation | deviceInformation |
Returns
| Type | Description |
|---|---|
| GraphicsDevice |
FindBestDevices(GameGraphicsParameters)
List<GraphicsDeviceInformation> FindBestDevices(GameGraphicsParameters graphicsParameters)
Parameters
| Type | Name | Description |
|---|---|---|
| GameGraphicsParameters | graphicsParameters |
Returns
| Type | Description |
|---|---|
| System.Collections.Generic.List<GraphicsDeviceInformation> |