 |
Ab4d.SharpEngine.Materials Namespace |
[Missing <summary> documentation for "N:Ab4d.SharpEngine.Materials"]
Classes | Class | Description |
---|
 | DepthOnlyMaterial |
DepthOnlyMaterial can be used to render only depth values into the depth buffers (used for depth pre-pass) and does not execute any fragment shader.
It is using DepthOnlyEffect.
The material can be used on scene nodes that are derived from ModelNode and are using StandardMesh (or TriangleMesh<PositionNormalTextureVertex>) or
optimized TriangleMesh<Vector3> mesh.
|
 | LineBaseMaterial |
LineBaseMaterial is an abstract base material that is used by LineMaterial and PolyLineMaterial.
|
 | LineMaterial |
LineMaterial is a material that can be used to render 3D line.
|
 | Material |
Material is a base abstract class that defines the common properties for all material objects.
|
 | PixelMaterial |
PixelMaterial is a material that can be used to render 3D pixels.
|
 | PolyLineMaterial |
PolyLineMaterial is a material that can be used to render poly-lines.
|
 | PositionColoredLineMaterial |
PositionColoredLineMaterial is a LineMaterial that contains additional properties
that can be used to render 3D lines with different start and end colors.
|
 | SolidColorMaterial |
SolidColorMaterial is a material that is not shaded by lighting and is always rendered exactly as specified by the diffuse material properties.
This means that positions and colors of the lights do not change the appearance.
It is possible to create a texture by using CreateDiffuseTexture(RawImageData, CommonSamplerTypes, String, Single) method.
To lazily load a texture use constructor that takes file name and IBitmapIO or call
LoadDiffuseTexture(String, IBitmapIO, CommonSamplerTypes, Single, Boolean, Boolean, Boolean) method.
To immediately load the texture use the
LoadDiffuseTexture(Scene, String, IBitmapIO, CommonSamplerTypes, Single, Boolean, Boolean) or
LoadDiffuseTexture(VulkanDevice, String, IBitmapIO, CommonSamplerTypes, Single, Boolean) methods.
|
 | StandardMaterial |
StandardMaterial is a material that defines the standard properties to show the diffuse, specular and emissive material properties.
It is possible to create a texture by using CreateDiffuseTexture(RawImageData, CommonSamplerTypes, String, Single) method.
To lazily load a texture use constructor that takes file name, file stream or RawImageData.
It is also possible to load texture by calling LoadDiffuseTexture method.
|
 | StandardMaterialBase |
StandardMaterialBase is a bases class for StandardMaterial and SolidColorMaterial
and provides common functionality for diffuse material and diffuse texture loading.
|
 | StandardMaterials |
StandardMaterials class defines StandardMaterial for known colors.
|
 | VertexColorMaterial |
VertexColorMaterial can be used to render 3D objects with specifying color for each of its position.
|
Interfaces | Interface | Description |
---|
 | IAlphaPreMultipliedMaterial |
IAlphaPreMultipliedMaterial interface defines the IsPreMultipliedAlphaColor property that specifies if the Color4 values are pre-multiplied with alpha value.
|
 | IDiffuseMaterial |
IDiffuseMaterial interface defines properties that define a material that reflect diffuse light.
|
 | IDiffuseTextureMaterial |
IDiffuseTextureMaterial interface defines properties that define a material with textures.
|
 | IEmissiveMaterial |
IEmissiveMaterial interface defines properties that define a material that emit the light in a specified color - the object is always in the EmissiveColor regardless of the lights.
|
 | IHiddenLineMaterial |
IHiddenLineMaterial interface provides a property that specify if the hidden part of the line will be rendered.
|
 | ILineCapMaterial | |
 | ILineMaterial |
ILineMaterial interface defines properties that define a line material - 3D object with this material will be rendered as wireframe.
|
 | ILinePatternMaterial |
ILinePatternMaterial interface can be implemented by a Line material that support line patterns.
|
 | IPixelMaterial |
IPixelMaterial interface defines properties that define a pixel material.
|
 | IPolyLineMaterial |
IPolyLineMaterial interface is used by line materials that can define poly lines (connected line segments).
|
 | ISpecularMaterial |
ISpecularMaterial interface defines properties that define specular properties of the material.
|
 | ITransparentMaterial |
ITransparentMaterial interface defines HasTransparency property that specifies if this material need to be rendered with alpha blending enabled.
|
 | ITwoSidedMaterial |
ITwoSidedMaterial interface defines IsTwoSided property that specifies if this material should be rendered on both front and back side.
|
 | IVertexColorMaterial |
IVertexColorMaterial interface defines the VertexColorsVertexBufferBinding property.
|
 | IVertexScaleMaterial |
IVertexScaleMaterial interface defines the VertexScaleBuffer property that is used to specify vertex buffer that defines scales (as one float value) for each position.
|