Ctor.
Namespace: HighGLAssembly: HighGL (in HighGL.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C# |
---|
public ShaderVariable( string name, Type type, int location = 0 ) |
Visual Basic |
---|
Public Sub New ( _ name As String, _ type As Type, _ Optional location As Integer = 0 _ ) |
Visual C++ |
---|
public: ShaderVariable( String^ name, Type^ type, int location = 0 ) |
Parameters
- name
- Type: System..::..String
The name. Must not be null.
- type
- Type: System..::..Type
The type. Must not be null.
- location (Optional)
- Type: System..::..Int32
The GL location (0 if unknown).