Table of Contents

Class BoneUploaderCore

Namespace
HelixToolkit.SharpDX.Core
Assembly
HelixToolkit.SharpDX.dll
public sealed class BoneUploaderCore : RenderCore, IDisposable, IGUID, IThrowingShadow
Inheritance
BoneUploaderCore
Implements
Inherited Members

Constructors

BoneUploaderCore()

public BoneUploaderCore()

Fields

boneSkinSB

public StructuredBufferProxy? boneSkinSB

Field Value

StructuredBufferProxy

Properties

BoneMatrices

public Matrix4x4[]? BoneMatrices { get; set; }

Property Value

Matrix4x4[]

BoneSkinSB

public StructuredBufferProxy? BoneSkinSB { get; }

Property Value

StructuredBufferProxy

Methods

BindBuffer(DeviceContextProxy, int)

public void BindBuffer(DeviceContextProxy deviceContext, int slot)

Parameters

deviceContext DeviceContextProxy
slot int

InvalidateBoneMatrices()

public void InvalidateBoneMatrices()

OnAttach(IRenderTechnique?)

During attatching render core. Create all local resources. Use Collect(resource) to let object be released automatically during Detach().

protected override bool OnAttach(IRenderTechnique? technique)

Parameters

technique IRenderTechnique

Returns

bool

OnDetach()

On detaching, default is to release all resources

protected override void OnDetach()

OnDispose(bool)

Disposes of object resources.

protected override void OnDispose(bool disposeManagedResources)

Parameters

disposeManagedResources bool

If true, managed resources should be disposed of in addition to unmanaged resources.

OnUpdate(RenderContext, DeviceContextProxy)

Only used for running compute shader such as in particle system.

protected override void OnUpdate(RenderContext context, DeviceContextProxy deviceContext)

Parameters

context RenderContext
deviceContext DeviceContextProxy

Render(RenderContext, DeviceContextProxy)

Render routine

public override void Render(RenderContext context, DeviceContextProxy deviceContext)

Parameters

context RenderContext
deviceContext DeviceContextProxy

Events

BoneChanged

public event EventHandler? BoneChanged

Event Type

EventHandler