GraphicsDevice Methods

NameDescription
Public MethodClearOverloaded. Clears the viewport depth buffer, and erases the stencil buffer.
Public MethodDisposeOverloaded. Immediately releases the unmanaged resources used by this object.
Public MethodDrawIndexedPrimitivesRenders the specified geometric primitive, based on indexing into an array of vertices.
Public MethodDrawPrimitivesRenders a sequence of non-indexed geometric primitives of the specified type from the current set of data input streams.
Public MethodDrawUserIndexedPrimitivesOverloaded. Renders the specified geometric primitive with data specified by the user.
Public MethodDrawUserPrimitivesRenders the given geometric primitive with data specified by the user.
Public MethodEquals (Inherited from Object.)
Public MethodEvictManagedResourcesEvicts all managed resources, including Microsoft Direct3D resources and those that are driver managed.
Public MethodGetGammaRampGets the gamma correction ramp.
Public MethodGetHashCode (Inherited from Object.)
Public MethodGetPixelShaderBooleanConstantGets an array of Boolean values from the pixel shader constant Boolean registers.
Public MethodGetPixelShaderInt32Constant Gets an array of Int32 values from the pixel shader constant integer registers.
Public MethodGetPixelShaderMatrixArrayConstant Gets an array of Matrix values from the pixel shader constant float registers.
Public MethodGetPixelShaderMatrixConstant Gets a Matrix value from the pixel shader constant float registers.
Public MethodGetPixelShaderQuaternionArrayConstant Gets an array of Quaternion values from the pixel shader constant float registers.
Public MethodGetPixelShaderQuaternionConstant Gets a Quaternion value from the pixel shader constant float registers.
Public MethodGetPixelShaderSingleConstant Gets an array of Single values from the pixel shader constant float registers.
Public MethodGetPixelShaderVector2ArrayConstant Gets an array of Vector2 values from the pixel shader constant float registers.
Public MethodGetPixelShaderVector2Constant Gets a Vector2 value from the pixel shader constant float registers.
Public MethodGetPixelShaderVector3ArrayConstant Gets an array of Vector3 values from the pixel shader constant float registers.
Public MethodGetPixelShaderVector3Constant Gets a Vector3 value from the pixel shader constant float registers.
Public MethodGetPixelShaderVector4ArrayConstant Gets an array of Vector4 values from the pixel shader constant float registers.
Public MethodGetPixelShaderVector4Constant Gets a Vector4 value from the pixel shader constant float registers.
Public MethodGetRenderTargetGets a render target surface.
Public MethodGetType (Inherited from Object.)
Public MethodGetVertexShaderBooleanConstant Gets an array of Boolean values from the vertex shader constant Boolean registers.
Public MethodGetVertexShaderInt32Constant Gets an array of Int32 values from the vertex shader constant integer registers.
Public MethodGetVertexShaderMatrixArrayConstant Gets an array of Matrix values from the vertex shader constant float registers.
Public MethodGetVertexShaderMatrixConstant Gets a Matrix value from the vertex shader constant float registers.
Public MethodGetVertexShaderQuaternionArrayConstant Gets an array of Quaternion values from the vertex shader constant float registers.
Public MethodGetVertexShaderQuaternionConstant Gets a Quaternion value from the vertex shader constant float registers.
Public MethodGetVertexShaderSingleConstant Gets an array of Single values from the vertex shader constant float registers.
Public MethodGetVertexShaderVector2ArrayConstant Gets an array of Vector2 values from the vertex shader constant float registers.
Public MethodGetVertexShaderVector2Constant Gets a Vector2 value from the vertex shader constant float registers.
Public MethodGetVertexShaderVector3ArrayConstant Gets an array of Vector3 values from the vertex shader constant float registers.
Public MethodGetVertexShaderVector3Constant Gets a Vector3 value from the vertex shader constant float registers.
Public MethodGetVertexShaderVector4ArrayConstant Gets an array of Vector4 values from the vertex shader constant float registers.
Public MethodGetVertexShaderVector4Constant Gets a Vector4 value from the vertex shader constant float registers.
Public MethodPresentOverloaded. Presents the display with the contents of the next buffer in the sequence of back buffers owned by the GraphicsDevice.
Public MethodReferenceEquals (Inherited from Object.)
Public MethodResetOverloaded. Resets the presentation parameters for the current GraphicsDevice.
Public MethodResolveBackBufferOverloaded. Copies the current back buffer contents to a texture.
Public MethodSetGammaRampSets the gamma correction ramp.
Public MethodSetPixelShaderConstantOverloaded. Sets a pixel shader constant.
Public MethodSetRenderTargetOverloaded. Sets a new color buffer for a GraphicsDevice.
Public MethodSetVertexShaderConstantOverloaded. Sets a vertex shader constant.
Public MethodToStringRetrieves a string representation of this object.

NameDescription
Protected MethodFinalize Allows this object to attempt to free resources and perform other cleanup operations before garbage collection reclaims the object.
Protected MethodMemberwiseClone (Inherited from Object.)
Protected Methodraise_DeviceLostOccurs when a GraphicsDevice is about to be lost (for example, immediately before a reset).
Protected Methodraise_DeviceResetOccurs after a GraphicsDevice is reset, allowing an application to re-create all resources.
Protected Methodraise_DeviceResettingOccurs when a GraphicsDevice is resetting
Protected Methodraise_Disposing Raises the Disposing event when called from within a derived class.
Protected Methodraise_ResourceCreated Occurs when ResourceCreated is called.
Protected Methodraise_ResourceDestroyed Occurs when ResourceDestroyed is called.

Community Additions

ADD
Show: