Enumeration

MaterialColorParameter

The color parameter applied to a material.

Declaration

enum MaterialColorParameter

Topics

Specifying Color Parameters

case color(NSColor)

A color value in macOS.

case color(UIColor)

A color value in iOS.

class TextureResource

A representation of a texture.

Comparing Material Color Parameters

static func == (MaterialColorParameter, MaterialColorParameter) -> Bool

Indicates whether two color parameters are equal.

static func != (MaterialColorParameter, MaterialColorParameter) -> Bool

Indicates whether two color parameters are not equal.

func hash(into: inout Hasher)

Hashes the essential components of the color parameter by feeding them into the given hash function.

var hashValue: Int

The hashed value of the color parameter.

Relationships

Conforms To

See Also

Configuring the Material

var materials: [Material]

The materials used by the model.

struct SimpleMaterial

A basic material that you can apply to meshes.

struct UnlitMaterial

A simple material that doesn’t respond to lights in the scene.

struct OcclusionMaterial

An invisible material that hides objects rendered behind it.

protocol Material

A type that describes the material aspects of a mesh, like color and texture.

enum MaterialScalarParameter

The scalar parameter applied to a material.