[]
Gets the shader currently assigned to the device.
public T Get()
Public Function [Get]() As T
| Type | Description |
|---|---|
| T | The shader (null if no shader is assigned). |
Gets the shader currently assigned to the device.
public T Get(ClassInstance[] classInstances)
Public Function [Get](classInstances As ClassInstance()) As T
| Type | Name | Description |
|---|---|---|
| ClassInstance[] | classInstances | An array that will be used to contain any class instances currently active. |
| Type | Description |
|---|---|
| T | The shader (null if no shader is assigned). |