Gorilla.Material.Layered

Unit Gorilla.Material.Layered.pas

Classes

TGorillaLayeredMaterialItem

A single sub material collection entry.

Ancestors

Members

Fields

Properties

TGorillaLayeredMaterialCollection

The material collections holds all renderable sub materials. All materials in this collection will be rendered in order!

Ancestors

TGorillaLayeredMaterialSource

A LayeredMaterialSource is a container of multiple sub materials.

Remarks

It is important that those sub materials do not clear the context, otherwise it will produce unexpected behaviour. If the materials collection is empty, the renderer will render the complete buffer with black color. To add sub materials simply add those to the material collection: SubMaterialEntry := MyLayeredMaterialSource.Materials.Add(); SubMaterialEntry.Material := MySubMaterialSource;

Ancestors

Members

TLayeredTextureMaterialSource

Use this texture material source as first texture to be rendered.

Ancestors