Struct GraphicsDeviceOptions
- Namespace
- Pie
- Assembly
- Pie.dll
Provides various startup options for a GraphicsDevice.
public struct GraphicsDeviceOptions
- Inherited Members
Constructors
GraphicsDeviceOptions()
Create a new GraphicsDeviceOptions with the default settings.
public GraphicsDeviceOptions()
GraphicsDeviceOptions(bool, Format, Format?)
Create a new GraphicsDeviceOptions.
public GraphicsDeviceOptions(bool debug = false, Format colorBufferFormat = Format.R8G8B8A8_UNorm, Format? depthStencilBufferFormat = Format.D24_UNorm_S8_UInt)
Parameters
debug
boolIf enabled, the graphics device will run in debug mode.
colorBufferFormat
Format- Provides various startup options for a .
depthStencilBufferFormat
Format?- Provides various startup options for a .
Fields
ColorBufferFormat
The format of the main color buffer.
public Format ColorBufferFormat
Field Value
- Format
- Provides various startup options for a .
Debug
If enabled, the graphics device will run in debug mode.
public bool Debug
Field Value
- bool
- Provides various startup options for a .
DepthStencilBufferFormat
The format of the depth-stencil buffer. Set to null to disable the depth-stencil buffer.
public Format? DepthStencilBufferFormat
Field Value
- Format?
- Provides various startup options for a .