Click or drag to resize
AB4D logo

RenderTextureRenderingStepRenderTexture(RenderingContext, ShaderResourceView, ViewportF) Method

RenderTexture static method rendered the specified sourceShaderResourceView to the viewport and on the current render targets in the renderingContext.

Namespace: Ab3d.DirectX
Assembly: Ab3d.DXEngine (in Ab3d.DXEngine.dll) Version: 7.0.8865.1045
Syntax
C#
public static void RenderTexture(
	RenderingContext renderingContext,
	ShaderResourceView sourceShaderResourceView,
	ViewportF viewport
)

Parameters

renderingContext  RenderingContext
RenderingContext
sourceShaderResourceView  ShaderResourceView
ShaderResourceView that will be rendered
viewport  ViewportF
the target position where the texture will be rendered (in NDC space - (0, 0, 1, 1) represents the whole scree)
See Also