GraphicsContextFactory
Description
- Derived from
- Extended by
-
DirectX11ContextFactory sealed
DirectX12ContextFactory sealed
DirectX9ContextFactory sealed
OpenGLContextFactory sealed
OpenGLESContextFactory sealed
Abstract base class for IGraphicsContextFactory implementations.
Public / Methods
CannotCreateGraphicsContext
Predicate methods that returns true
for all IGraphicsContextFactory objects that cannot create a graphics context (see IGraphicsContextFactory.CanCreateGraphicsContext).
Use this method to created filtered lists of viable graphics context factories (see IBag.RemoveWhere).
ConfigRead
Configures the defaults settings of the GraphicsContextFactory class from the given config value.
- ConfigException
-
If no configurator object has been found for the type of config in or if config in specifies malformed configuration data.
- ValidatingException
-
If config in is invalid (IValidatable.Validate).
- IOException
-
If an unexpected I/O error has occurred while creating the native value.
ConfigWrite
Creates a config value of the given type and populates it with the default settings of the GraphicsContextFactory class.
- ConfigException
-
If an unexpected error has occurred while building the config value.
Protected / Methods
DoCreateGraphicsContext
Creates the IGraphicsContext object.
- RenderException
-
If a graphics subsystem error has occurred.