This topic has not yet been rated - Rate this topic

GraphicsDevice Properties

Name Description
Public Property Adapter Gets the graphics adapter.
Public Property BlendFactor Gets or sets the color used for a constant-blend factor during alpha blending. The default value is Color.White.
Public Property BlendState Gets or sets a system-defined instance of a blend state object initialized for alpha blending. The default value is BlendState.Opaque.
Public Property DepthStencilState Gets or sets a system-defined instance of a depth-stencil state object. The default value is DepthStencilState.Default.
Public Property DisplayMode Retrieves the display mode's spatial resolution, color resolution, and refresh frequency.
Public Property GraphicsDeviceStatus Retrieves the status of the device.
Public Property GraphicsProfile Gets the graphics profile. The default value is GraphicsProfile.Reach.
Public Property Indices Gets or sets index data. The default value is null.
Public Property IsDisposed Gets a value that indicates whether the object is disposed.
Public Property MultiSampleMask Gets or sets a bitmask controlling modification of the samples in a multisample render target. The default value is -1 (0xffffffff).
Public Property PresentationParameters Gets the presentation parameters associated with this graphics device.
Public Property RasterizerState Gets or sets rasterizer state. The default value is RasterizerState.CullCounterClockwise.
Public Property ReferenceStencil Gets or sets a reference value for stencil testing. The default value is zero.
Public Property SamplerStates Retrieves a collection of SamplerState objects for the current GraphicsDevice.
Public Property ScissorRectangle Gets or sets the rectangle used for scissor testing. By default, the size matches the render target size.
Public Property Textures Returns the collection of textures that have been assigned to the texture stages of the device.
Public Property VertexSamplerStates Gets the collection of vertex sampler states.
Public Property VertexTextures Gets the collection of vertex textures that support texture lookup in the vertex shader using the texldl statement. The vertex engine contains four texture sampler stages.
Public Property Viewport Gets or sets a viewport identifying the portion of the render target to receive draw calls.
Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ