Click or drag to resize
Ab4d.SharpEngine logo

PhysicallyBasedMaterialGetTextureMap(TextureMapTypes, GpuSampler) Method

Returns the GpuImage for the specified map type. The method also sets the gpuSampler as an out parameter. If the map type is not found, then null is returned.

Namespace: Ab4d.SharpEngine.Materials
Assembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 4.0.9584+ba1aaa26d4181dd3fa8ed7b6398391d1affa36c8
Syntax
C#
public GpuImage? GetTextureMap(
	TextureMapTypes mapType,
	out GpuSampler?? gpuSampler
)

Parameters

mapType  TextureMapTypes
TextureMapTypes
gpuSampler  GpuSampler
out GpuSampler or null

Return Value

GpuImage
GpuImage for the specified map type or null if the specified map type is not defined
See Also