TZPostRender2Add_Pass(TZShader, String, Int32, Int32, eTexFormat, Boolean, eTexFormat, Boolean) Méthode
Ajoute une étape au rendu
Espace de nom: Tzu3D.GraphicsAssembly: Tzu3D (in Tzu3D.dll) Version: 1.0.9025.34810
public void Add_Pass(
TZShader Shader,
string Technique,
int Width,
int Height,
eTexFormat Format,
bool UseDepthStencil,
eTexFormat DepthStencilFormat,
bool WithSource
)
Public Sub Add_Pass (
Shader As TZShader,
Technique As String,
Width As Integer,
Height As Integer,
Format As eTexFormat,
UseDepthStencil As Boolean,
DepthStencilFormat As eTexFormat,
WithSource As Boolean
)
Parameters
- Shader TZShader
- Shader de post-rendu
- Technique String
- Technique du shader à utiliser
- Width Int32
- Largeur de la texture
- Height Int32
- Hauteur de la texture
- 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