Click or drag to resize
AB4D logo

DXSceneCreateCustomRenderingContext(Texture2D, Texture2DDescription, RenderTargetView, DepthStencilView, Int32) Method

Creates a CustomRenderingContext from the specified back buffer, its render target view and depthStencilView. The created CustomRenderingContext can be used in RenderScene(RenderingContext, Boolean) or RenderScene(RenderingContext, Boolean, Boolean, DXScene) methods.

Namespace: Ab3d.DirectX
Assembly: Ab3d.DXEngine (in Ab3d.DXEngine.dll) Version: 7.1.9105.2048 (1.0.0.0)
Syntax
C#
public CustomRenderingContext CreateCustomRenderingContext(
	Texture2D backBuffer,
	Texture2DDescription backBufferDescription,
	RenderTargetView backBufferRenderTargetView,
	DepthStencilView depthStencilView,
	int supersamplingCount
)

Parameters

backBuffer  Texture2D
backBuffer
backBufferDescription  Texture2DDescription
backBufferDescription
backBufferRenderTargetView  RenderTargetView
backBufferRenderTargetView
depthStencilView  DepthStencilView
depthStencilView
supersamplingCount  Int32
super-sampling count of the specified back buffer

Return Value

CustomRenderingContext
CustomRenderingContext with all needed DirectX buffers and views
See Also