|
PhysicallyBasedMaterialSetTextureMap(TextureMapTypes, ShaderResourceView, SamplerState, String) Method |
Namespace: Ab3d.DirectX.MaterialsAssembly: Ab3d.DXEngine (in Ab3d.DXEngine.dll) Version: 7.0.8865.1045
Syntax public ShaderResourceView SetTextureMap(
TextureMapTypes mapType,
ShaderResourceView newShaderResourceView,
SamplerState newSamplerState,
string textureResourceName = null
)
Parameters
- 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
ShaderResourceViewnewShaderResourceView
See Also