Click or drag to resize
Ab4d.SharpEngine logo

Ab4d.SharpEngine.Materials Namespace

[Missing <summary> documentation for "N:Ab4d.SharpEngine.Materials"]

Classes
 ClassDescription
Public classDepthOnlyMaterial 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.
Public classLineBaseMaterial LineBaseMaterial is an abstract base material that is used by LineMaterial and PolyLineMaterial.
Public classLineMaterial LineMaterial is a material that can be used to render 3D line.
Public classMaterial Material is a base abstract class that defines the common properties for all material objects.
Public classPixelMaterial PixelMaterial is a material that can be used to render 3D pixels.
Public classPolyLineMaterial PolyLineMaterial is a material that can be used to render poly-lines.
Public classPositionColoredLineMaterial PositionColoredLineMaterial is a LineMaterial that contains additional properties that can be used to render 3D lines with different start and end colors.
Public classSolidColorMaterial 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.
Public classStandardMaterial 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.
Public classStandardMaterialBase StandardMaterialBase is a bases class for StandardMaterial and SolidColorMaterial and provides common functionality for diffuse material and diffuse texture loading.
Public classStandardMaterials StandardMaterials class defines StandardMaterial for known colors.
Public classVertexColorMaterial VertexColorMaterial can be used to render 3D objects with specifying color for each of its position.
Interfaces
 InterfaceDescription
Public interfaceIAlphaPreMultipliedMaterial IAlphaPreMultipliedMaterial interface defines the IsPreMultipliedAlphaColor property that specifies if the Color4 values are pre-multiplied with alpha value.
Public interfaceIDiffuseMaterial IDiffuseMaterial interface defines properties that define a material that reflect diffuse light.
Public interfaceIDiffuseTextureMaterial IDiffuseTextureMaterial interface defines properties that define a material with textures.
Public interfaceIEmissiveMaterial 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.
Public interfaceIHiddenLineMaterial IHiddenLineMaterial interface provides a property that specify if the hidden part of the line will be rendered.
Public interfaceILineCapMaterial 
Public interfaceILineMaterial ILineMaterial interface defines properties that define a line material - 3D object with this material will be rendered as wireframe.
Public interfaceILinePatternMaterial ILinePatternMaterial interface can be implemented by a Line material that support line patterns.
Public interfaceIPixelMaterial IPixelMaterial interface defines properties that define a pixel material.
Public interfaceIPolyLineMaterial IPolyLineMaterial interface is used by line materials that can define poly lines (connected line segments).
Public interfaceISpecularMaterial ISpecularMaterial interface defines properties that define specular properties of the material.
Public interfaceITransparentMaterial ITransparentMaterial interface defines HasTransparency property that specifies if this material need to be rendered with alpha blending enabled.
Public interfaceITwoSidedMaterial ITwoSidedMaterial interface defines IsTwoSided property that specifies if this material should be rendered on both front and back side.
Public interfaceIVertexColorMaterial IVertexColorMaterial interface defines the VertexColorsVertexBufferBinding property.
Public interfaceIVertexScaleMaterial IVertexScaleMaterial interface defines the VertexScaleBuffer property that is used to specify vertex buffer that defines scales (as one float value) for each position.