Gorilla.Material.Shared

Unit Gorilla.Material.Shared.pas

Classes

TGorillaReferenceMaterial

The reference material is just a proxy material forwarding to the linked shared material source.

Ancestors

Members

Fields

Methods

Properties

TGorillaReferenceMaterialSource

A reference material holds a link to a shared material source. It uses the shader, textures and properties of the shared material. Besides that it is able to change current property values, to render parts individually.

Ancestors

Members

TGorillaSharedMaterialSource

A SharedMaterialSource is a shared space, where textures and other resources can be stored centrally. Referenced materials will have access to those data and its shader.

Remarks

All referenced materials will use this shader for drawing.

Remarks

Sometimes it is useful to hold textures or other resources in a shared space, where other materials have access to. For example a static atlas texture with multiple segments, should be stored centrally, where materials have access to and will not load the huge atlas texture over and over again.

Ancestors

Members