Class MeshImp
This is the implementation of the IMeshImp interface. It is used to check the status of the informations of a mesh and flush informations if required.
Inheritance
Implements
Inherited Members
Namespace: Fusee.Engine.Imp.Blazor
Assembly: Fusee.Engine.Imp.Graphics.Blazor.dll
Syntax
public class MeshImp : IMeshImp
Properties
BiTangentsSet
Returns whether be bi-tangents have been set.
Declaration
public bool BiTangentsSet { get; }
Property Value
| Type | Description |
|---|---|
| System.Boolean |
BoneIndicesSet
Gets a value indicating whether [bone indices set].
Declaration
public bool BoneIndicesSet { get; }
Property Value
| Type | Description |
|---|---|
| System.Boolean |
|
BoneWeightsSet
Gets a value indicating whether [bone weights set].
Declaration
public bool BoneWeightsSet { get; }
Property Value
| Type | Description |
|---|---|
| System.Boolean |
|
ColorsSet
Gets a value indicating whether [colors set].
Declaration
public bool ColorsSet { get; }
Property Value
| Type | Description |
|---|---|
| System.Boolean |
|
ColorsSet1
Returns whether the second color buffer is created on the GPU.
Declaration
public bool ColorsSet1 { get; }
Property Value
| Type | Description |
|---|---|
| System.Boolean |
ColorsSet2
Returns whether the third color buffer is created on the GPU.
Declaration
public bool ColorsSet2 { get; }
Property Value
| Type | Description |
|---|---|
| System.Boolean |
FlagsSet
Returns whether the flags buffer is created on the GPU.
Declaration
public bool FlagsSet { get; }
Property Value
| Type | Description |
|---|---|
| System.Boolean |
MeshType
Type of data of this mesh (e.g. Triangles, Points, Lines, etc.)
Declaration
public PrimitiveType MeshType { get; set; }
Property Value
| Type | Description |
|---|---|
| PrimitiveType |
NormalsSet
Gets a value indicating whether [normals set].
Declaration
public bool NormalsSet { get; }
Property Value
| Type | Description |
|---|---|
| System.Boolean |
|
TangentsSet
Returns whether the tangents have been set.
Declaration
public bool TangentsSet { get; }
Property Value
| Type | Description |
|---|---|
| System.Boolean |
TrianglesSet
Gets a value indicating whether [triangles set].
Declaration
public bool TrianglesSet { get; }
Property Value
| Type | Description |
|---|---|
| System.Boolean |
|
UVsSet
Gets a value indicating whether [u vs set].
Declaration
public bool UVsSet { get; }
Property Value
| Type | Description |
|---|---|
| System.Boolean |
|
VertexArrayObjectSet
Returns whether the VAO is created on the GPU.
Declaration
public bool VertexArrayObjectSet { get; }
Property Value
| Type | Description |
|---|---|
| System.Boolean |
VerticesSet
Gets a value indicating whether [vertices set].
Declaration
public bool VerticesSet { get; }
Property Value
| Type | Description |
|---|---|
| System.Boolean |
|
Methods
InvalidateBiTangents()
Invalidates the BiTangents.
Declaration
public void InvalidateBiTangents()
InvalidateBoneIndices()
Invalidates the BoneIndices.
Declaration
public void InvalidateBoneIndices()
InvalidateBoneWeights()
Invalidates the BoneWeight's.
Declaration
public void InvalidateBoneWeights()
InvalidateColors()
Implementation Tasks: Invalidates the colors, e.g. reset the ColorBufferObject of this instance by setting it to 0.
Declaration
public void InvalidateColors()
InvalidateColors1()
Removes the second color array object from GPU
Declaration
public void InvalidateColors1()
InvalidateColors2()
Removes the third color buffer from GPU
Declaration
public void InvalidateColors2()
InvalidateFlags()
Removes the flags buffer from the GPU.
Declaration
public void InvalidateFlags()
InvalidateNormals()
Invalidates the normals.
Declaration
public void InvalidateNormals()
InvalidateTangents()
Invalidates the Tangents.
Declaration
public void InvalidateTangents()
InvalidateTriangles()
Invalidates the triangles.
Declaration
public void InvalidateTriangles()
InvalidateUVs()
Invalidates the UV's.
Declaration
public void InvalidateUVs()
InvalidateVertexArrayObject()
Remove vertex array object from GPU
Declaration
public void InvalidateVertexArrayObject()
Exceptions
| Type | Condition |
|---|---|
| System.NotImplementedException |
InvalidateVertices()
Invalidates the vertices.
Declaration
public void InvalidateVertices()