Table of Contents

Class FullBrightGltfMaterialAdapter

Namespace
ReFuel.Graphics.OpenGL
Assembly
ReFuel.dll
public class FullBrightGltfMaterialAdapter : IMaterialAdapter<GltfMaterial, FullBrightMaterial>, IMaterialAdapter
Inheritance
FullBrightGltfMaterialAdapter
Implements
Inherited Members

Properties

BackMaterial

Type of the back material.

public Type BackMaterial { get; }

Property Value

Type

FrontMaterial

Type of the front material.

public Type FrontMaterial { get; }

Property Value

Type

Methods

BackAnnotate(string, GltfMaterial, FullBrightMaterial)

Annotate changes from the back material to the front material.

public void BackAnnotate(string property, GltfMaterial destination, FullBrightMaterial source)

Parameters

property string

The name of the modified material property in the back material.

destination GltfMaterial

The front material to update.

source FullBrightMaterial

The back material that updated.

BackAnnotate(string, Material, Material)

Annotate changes from the back material to the front material.

public void BackAnnotate(string property, Material destination, Material source)

Parameters

property string

The name of the modified material property in the back material.

destination Material

The front material to update.

source Material

The back material that updated.

CopyAndConvert(GltfMaterial)

Copy and convert a front material to a back material.

public FullBrightMaterial CopyAndConvert(GltfMaterial source)

Parameters

source GltfMaterial

The front material source.

Returns

FullBrightMaterial

The new back material.

CopyAndConvert(Material)

Copy and convert a front material to a back material.

public Material CopyAndConvert(Material source)

Parameters

source Material

The front material source.

Returns

Material

The new back material.

ForwardAnnotate(string, GltfMaterial, FullBrightMaterial)

Annotate changes from the front material to the back material.

public void ForwardAnnotate(string property, GltfMaterial source, FullBrightMaterial destination)

Parameters

property string

The name of the modified material property in the front material.

source GltfMaterial

The front material that updated.

destination FullBrightMaterial

The destination material to update.

ForwardAnnotate(string, Material, Material)

Annotate changes from the front material to the back material.

public void ForwardAnnotate(string property, Material source, Material destination)

Parameters

property string

The name of the modified material property in the front material.

source Material

The front material that updated.

destination Material

The destination material to update.