Click or drag to resize
Ab4d.SharpEngine logo

TextureMapInfo Class

TextureMapInfo class defines fields that describe one texture. The texture usage is defined in the MapType property. The class is used in IMultiMapMaterial that is used by PhysicallyBasedMaterial. When the texture is specified by a file name, stream or RawImageData, then the Texture may be lazily created when the parent material is initialized. In this case the IsLazyLoaded is true before the initialize method is called.
Inheritance Hierarchy
SystemObject
  Ab4d.SharpEngine.MaterialsTextureMapInfo

Namespace: Ab4d.SharpEngine.Materials
Assembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 4.0.9584+ba1aaa26d4181dd3fa8ed7b6398391d1affa36c8
Syntax
C#
public class TextureMapInfo

The TextureMapInfo type exposes the following members.

Constructors
Properties
 NameDescription
Public propertyIsLazyLoaded True when this texture will be lazily loaded when the parent's material is initialized. After the Texture is created, this property returns false.
Public propertyMapType Type of texture map
Public propertyTexture GpuImage objects that define the texture. When this texture is lazily loaded, then this property is created when the parent Material is initialized.
Public propertyTextureSampler GpuSampler of the texture. When this texture is lazily loaded, then this property is created when the parent Material is initialized.
Public propertyTextureSamplerType Gets or sets the sampler type for the diffuse texture. Sampler type defines how the texture is read by the graphics card. Default value is Mirror. Setting this property sets the TextureSampler with the actual GpuSampler when the parent Material is initialized.
Public propertyTextureSource Gets the source of the Texture
Top
Methods
 NameDescription
Public methodToString
(Overrides ObjectToString)
Top
See Also