créé la classe shader
Namespace: Tzu_Engine.Shader
Assembly: Tzu_Engine (in Tzu_Engine.dll)
Syntax
Visual Basic (Declaration) |
---|
Public Sub New( _ ByVal Path As String, _ ByVal Name As String, _ ByVal GetStructure As Boolean _ ) |
C# |
---|
public TZShader( string Path, string Name, bool GetStructure ) |
C++ |
---|
public: TZShader( String Path, String Name, bool GetStructure ) sealed |
J# |
---|
public TZShader( string Path, string Name, bool GetStructure ) |
JScript |
---|
public function TZShader( Path : String, Name : String, GetStructure : bool ) |
Parameters
- Path
- >emplacement du fichier .fx
- Name
- indiquez un nom pour le shader (insensible à la casse)
- GetStructure
- récupérer la structure du vertex shader automatiquement?