|
MultiMapMaterialSetTextureMap(IMultiMapMaterial, TextureMapTypes, ShaderResourceView, SamplerState, String) Method |
Namespace: Ab3d.DirectX.MaterialsAssembly: Ab3d.DXEngine (in Ab3d.DXEngine.dll) Version: 7.0.8865.1045
Syntax public static void SetTextureMap(
IMultiMapMaterial multiMapMaterial,
TextureMapTypes mapType,
ShaderResourceView newShaderResourceView,
SamplerState newSamplerState,
string textureResourceName = null
)
Parameters
- multiMapMaterial IMultiMapMaterial
- IMultiMapMaterial
- mapType TextureMapTypes
- type of texture map - one of TextureMapTypes
- newShaderResourceView ShaderResourceView
- ShaderResourceView
- newSamplerState SamplerState
- SamplerState
- textureResourceName String (Optional)
- File name or resource name of the texture map (optional and can be null)
Return Value
newShaderResourceView
See Also