ShadingMethodBase provides an abstract base method for shading methods, used by compiled passes to compile the final shading program.

Constructor

new()

Create a new ShadingMethodBase object.

Parameters:

needsNormals

Defines whether or not the method requires normals.

needsView

Defines whether or not the method requires the view direction.

Variables

Methods

copyFrom(method:ShadingMethodBase):Void

Copies the state from a ShadingMethodBase object into the current object.

dispose():Void

Cleans up any resources used by the current object.

Inherited Variables

Defined by NamedAssetBase

read onlyassetFullPath:Array<Dynamic>

read onlyassetNamespace:String

id:String

name:String

read onlyoriginalName:String

Inherited Methods

Defined by NamedAssetBase

assetPathEquals(name:String, ns:String):Bool

@:value({ overrideOriginal : true, ns : null })resetAssetPath(name:String, ?ns:String, overrideOriginal:Bool = true):Void