Class EntityMeshComputeData
Class that represents the mesh information of an entity using compute shaders.
Inherited Members
Namespace: Evergine.Framework.Particles.Helpers
Assembly: Evergine.Framework.dll
Syntax
public class EntityMeshComputeData : EntityMeshData
Constructors
EntityMeshComputeData(GraphicsContext)
Initializes a new instance of the EntityMeshComputeData class.
Declaration
public EntityMeshComputeData(GraphicsContext graphicsContext)
Parameters
| Type | Name | Description |
|---|---|---|
| GraphicsContext | graphicsContext | The graphics context. |
Properties
IndicesBuffer
Gets the index buffer.
Declaration
public Buffer IndicesBuffer { get; }
Property Value
| Type | Description |
|---|---|
| Buffer |
SKNormalBuffer
Gets the skinned normal buffer.
Declaration
public Buffer SKNormalBuffer { get; }
Property Value
| Type | Description |
|---|---|
| Buffer |
SKPositionBuffer
Gets the skinned position buffer.
Declaration
public Buffer SKPositionBuffer { get; }
Property Value
| Type | Description |
|---|---|
| Buffer |
TransformBuffer
Gets the transformation buffer.
Declaration
public Buffer TransformBuffer { get; }
Property Value
| Type | Description |
|---|---|
| Buffer |
VertexBuffer
Gets the vertex buffer.
Declaration
public Buffer VertexBuffer { get; }
Property Value
| Type | Description |
|---|---|
| Buffer |
Methods
ClearEntity()
Clears the entity's information.
Declaration
public override void ClearEntity()
Overrides
RefreshComputeParameters(CommandBuffer)
Updates the computing parameters.
Declaration
public void RefreshComputeParameters(CommandBuffer commandBuffer)
Parameters
| Type | Name | Description |
|---|---|---|
| CommandBuffer | commandBuffer | The command buffer. |
RefreshEmitTransform(Transform3D, int)
Refresh the mesh transform.
Declaration
protected override void RefreshEmitTransform(Transform3D transform, int tIndex)
Parameters
| Type | Name | Description |
|---|---|---|
| Transform3D | transform | The new transform. |
| int | tIndex | The new index. |
Overrides
RefreshEntityParameters(EmitMeshVertexData[], uint[])
Refreshes the entity parameters.
Declaration
protected override void RefreshEntityParameters(EmitMeshVertexData[] emitVertices, uint[] emitIndices)
Parameters
| Type | Name | Description |
|---|---|---|
| EmitMeshVertexData[] | emitVertices | The emission vertices. |
| uint[] | emitIndices | The emission indices. |