Material class abstract

Base material Resource, it holds the shader library that should be used for the texture.

Inheritance
Implementers

Constructors

Material.new({required Shader vertexShader, required Shader fragmentShader})
Base material Resource, it holds the shader library that should be used for the texture.

Properties

fragmentShader Shader
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
recreateResource bool
getter/setter pairinherited
resource RenderPipeline
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
vertexShader Shader
getter/setter pair

Methods

bind(GraphicsDevice device) → void
createResource() RenderPipeline
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Properties

defaultMaterial Material
getter/setter pair