Show / Hide Table of Contents

Interface IMeshImp

Interface for Mesh implementations. The implementation should handle typical mesh informations like: vertices, triangles, normals, colors, UV's. It is also required to implement a connection to the current RenderContext in order to apply the Mesh for rendering. The Mesh should preferable use handles for its informations in order to communicate with a RenderContext. The handles are referring to so called BufferObjects.

Namespace: Fusee.Engine.Common
Assembly: Fusee.Engine.Common.dll
Syntax
public interface IMeshImp

Properties

BiTangentsSet

Implementation Tasks: Gets a value indicating whether [BiTangents Set].

Declaration
bool BiTangentsSet { get; }
Property Value
Type Description
System.Boolean

BoneIndicesSet

Implementation Tasks: Gets a value indicating whether [boneindices set].

Declaration
bool BoneIndicesSet { get; }
Property Value
Type Description
System.Boolean

true if BoneIndicesBufferObject is not 0; otherwise, false.

BoneWeightsSet

Implementation Tasks: Gets a value indicating whether [boneweights set].

Declaration
bool BoneWeightsSet { get; }
Property Value
Type Description
System.Boolean

true if BoneWeightsBufferObject is not 0; otherwise, false.

ColorsSet

Implementation Tasks: Gets a value indicating whether [colors set].

Declaration
bool ColorsSet { get; }
Property Value
Type Description
System.Boolean

true if ColorBufferObject is not 0; otherwise, false.

ColorsSet1

Implementation Tasks: Gets a value indicating whether [colors set].

Declaration
bool ColorsSet1 { get; }
Property Value
Type Description
System.Boolean

true if ColorBufferObject1 is not 0; otherwise, false.

ColorsSet2

Implementation Tasks: Gets a value indicating whether [colors set].

Declaration
bool ColorsSet2 { get; }
Property Value
Type Description
System.Boolean

true if ColorBufferObject2 is not 0; otherwise, false.

FlagsSet

Implementation Tasks: Gets a value indicating whether [Flags Set].

Declaration
bool FlagsSet { get; }
Property Value
Type Description
System.Boolean

MeshType

Type of data of this mesh (e.g. Triangles, Points, Lines, etc.)

Declaration
PrimitiveType MeshType { get; set; }
Property Value
Type Description
PrimitiveType

NormalsSet

Implementation Tasks: Gets a value indicating whether [normals set].

Declaration
bool NormalsSet { get; }
Property Value
Type Description
System.Boolean

true if NormalBufferObject is not 0; otherwise, false.

TangentsSet

Implementation Tasks: Gets a value indicating whether [Tangents Set].

Declaration
bool TangentsSet { get; }
Property Value
Type Description
System.Boolean

TrianglesSet

Implementation Tasks: Gets a value indicating whether [triangles set].

Declaration
bool TrianglesSet { get; }
Property Value
Type Description
System.Boolean

true if ElementBufferObject is not 0; otherwise, false.

UVsSet

Implementation Tasks: Gets a value indicating whether [UVs set].

Declaration
bool UVsSet { get; }
Property Value
Type Description
System.Boolean

true if UVBufferObject is not 0; otherwise, false.

VertexArrayObjectSet

Implementation Tasks: Get a value indicating whether [VertexArrayObject set].

Declaration
bool VertexArrayObjectSet { get; }
Property Value
Type Description
System.Boolean

true if VertexArrayObject is not 0; otherwise, false.

VerticesSet

Implementation Tasks: Get a value indicating whether [vertices set].

Declaration
bool VerticesSet { get; }
Property Value
Type Description
System.Boolean

true if VertexBufferObject is not 0; otherwise, false.

Methods

InvalidateBiTangents()

Implementation Tasks: Invalidates the bitangents of the mesh, e.g. reset the buffer object by setting it to 0.

Declaration
void InvalidateBiTangents()

InvalidateBoneIndices()

Implementation Tasks: Invalidates the bone indices of the mesh, e.g. reset the BoneIndicesBufferObject of this instance by setting it to 0.

Declaration
void InvalidateBoneIndices()

InvalidateBoneWeights()

Implementation Tasks: Invalidates the bone weights of the mesh, e.g. reset the BoneWeightsBufferObject of this instance by setting it to 0.

Declaration
void InvalidateBoneWeights()

InvalidateColors()

Implementation Tasks: Invalidates the colors, e.g. reset the ColorBufferObject of this instance by setting it to 0.

Declaration
void InvalidateColors()

InvalidateColors1()

Implementation Tasks: Invalidates the colors, e.g. reset the ColorBufferObject1 of this instance by setting it to 0.

Declaration
void InvalidateColors1()

InvalidateColors2()

Implementation Tasks: Invalidates the colors, e.g. reset the ColorBufferObject2 of this instance by setting it to 0.

Declaration
void InvalidateColors2()

InvalidateFlags()

Implementation Tasks: Invalidates the flags of the mesh, e.g. reset the buffer object by setting it to 0.

Declaration
void InvalidateFlags()

InvalidateNormals()

Implementation Tasks: Invalidates the normals of the mesh, e.g. reset the NormalBufferObject of this instance by setting it to 0.

Declaration
void InvalidateNormals()

InvalidateTangents()

Implementation Tasks: Invalidates the tangents of the mesh, e.g. reset the buffer object by setting it to 0.

Declaration
void InvalidateTangents()

InvalidateTriangles()

Implementation Tasks: Invalidates the triangles, e.g. reset the ElementBufferObject of this instance by setting it to 0.

Declaration
void InvalidateTriangles()

InvalidateUVs()

Implementation Tasks: Invalidates the UV's, e.g. reset the UVBufferObject of this instance by setting it to 0.

Declaration
void InvalidateUVs()

InvalidateVertexArrayObject()

Implementation Task: Invalidates the VertexArrayObject of the mesh.

Declaration
void InvalidateVertexArrayObject()

InvalidateVertices()

Implementation Task: Invalidates the vertices of the mesh, e.g. reset the VertexBufferObject of this instance by setting it to 0.

Declaration
void InvalidateVertices()
Generated by DocFX
GitHub Repo
Back to top