TZPostRender2Add_Pass(TZShader, String, Vector2, eTexFormat, Boolean, eTexFormat, Boolean) Méthode

Ajoute une étape au rendu

Definition

Espace de nom: Tzu3D.Graphics
Assembly: Tzu3D (in Tzu3D.dll) Version: 1.0.9025.34810
C#
public void Add_Pass(
	TZShader Shader,
	string Technique,
	Vector2 Ratio,
	eTexFormat Format,
	bool UseDepthStencil,
	eTexFormat DepthStencilFormat,
	bool WithSource
)

Parameters

Shader  TZShader
Shader de post-rendu
Technique  String
Technique du shader à utiliser
Ratio  Vector2
Ratio de taille par rapport à la texture source
Format  eTexFormat
Format de la texture
UseDepthStencil  Boolean
Utilise le test de profondeur
DepthStencilFormat  eTexFormat
Format de la texture du test de profondeur
WithSource  Boolean
Ajoute la source lors du rendu

Voir aussi