Méthode | Description | |
---|---|---|
ConvertNewPixelShaderToOld ( byte shaderData, int mode ) : byte[] |
Converts a new (1.235640+) pixel shader to one compatible with the 1.106708 pipeline.
|
|
ConvertNewVertexShaderToOld ( byte shaderData, int mode, VertexType type ) : byte[] |
Converts a new (1.235640+) vertex shader to one compatible with the 1.106708 pipeline. Note that this requires that models have binormals set so that X = Position.W and Y = Tangent.W.
|
public static ConvertNewPixelShaderToOld ( byte shaderData, int mode ) : byte[] | ||
shaderData | byte | The shader bytecode to convert. |
mode | int | The drawing mode. |
Résultat | byte[] |
public static ConvertNewVertexShaderToOld ( byte shaderData, int mode, VertexType type ) : byte[] | ||
shaderData | byte | The shader bytecode to convert. |
mode | int | The drawing mode. |
type | VertexType | The vertex type. |
Résultat | byte[] |