Click or drag to resize
AB4D logo

PhysicallyBasedMaterial Methods

The PhysicallyBasedMaterial type exposes the following members.

Methods
 NameDescription
Public methodHasTextureMap Returns true if this PhysicallyBasedMaterial defines the specified map type (has specified MapType in TextureMaps and it has a ShaderResourceView that is not null).
Public methodRemoveTextureMap Removes all TextureMapInfo structs with the specified mapType from the TextureMaps.
Public methodSetTextureMap(TextureMapTypes, ShaderResourceView, String) SetTextureMap updates existing TextureMapInfo (when TextureMapInfo with the same mapType was already added) or adds a new TextureMapInfo to the TextureMaps list. To also set the SamplerState, you can use SetTextureMap(TextureMapTypes, ShaderResourceView, SamplerState, String) method.
Public methodSetTextureMap(TextureMapTypes, ShaderResourceView, SamplerState, String) SetTextureMap updates existing TextureMapInfo (when TextureMapInfo with the same mapType was already added) or adds a new TextureMapInfo to the TextureMaps list. To preserve the existing SamplerState, you can use SetTextureMap(TextureMapTypes, ShaderResourceView, String) method.
Public methodToString ToString
(Overrides MaterialToString)
Top
See Also