Class TAbstractShaderNode

Unit

Declaration

type TAbstractShaderNode = class(TAbstractAppearanceChildNode)

Description

Base type for all node types that specify a programmable shader.

Source: scene/x3d/x3dnodes_standard_shaders.inc (line 25).

Hierarchy

Overview

Methods

Public procedure CreateNode; override;
Public class function ClassX3DType: String; override;

Properties

Public property EventActivate: TSFBoolEvent read FEventActivate;
Public property EventIsSelected: TSFBoolEvent read FEventIsSelected;
Public property EventIsValid: TSFBoolEvent read FEventIsValid;
Public property FdLanguage: TSFStringEnum read FFdLanguage;
Public property Language: TShaderLanguage read GetLanguage write SetLanguage;

Description

Methods

Public procedure CreateNode; override;

Create node fields and events.

Source: scene/x3d/auto_generated_node_helpers/x3dnodes_x3dshadernode.inc (line 31).

Public class function ClassX3DType: String; override;

This item has no description. Showing description inherited from TX3DNode.ClassX3DType.

Node type name in VRML/X3D, for this class. Normal VRML/X3D node classes should override this to return something non-empty, and then X3DType automatically will return the same value.

Empty for classes that don't have a hardcoded VRML/X3D node name, like a special TX3DUnknownNode. Such special classes should override then X3DType to return actual non-empty name there.

You usually should call X3DType. The only use of this method is that it works on classes (it's "class function"), without needing at actual instance.

Source: scene/x3d/auto_generated_node_helpers/x3dnodes_x3dshadernode.inc (line 32).

Properties

Public property EventActivate: TSFBoolEvent read FEventActivate;

This item has no description.

Source: scene/x3d/auto_generated_node_helpers/x3dnodes_x3dshadernode.inc (line 36).

Public property EventIsSelected: TSFBoolEvent read FEventIsSelected;

This item has no description.

Source: scene/x3d/auto_generated_node_helpers/x3dnodes_x3dshadernode.inc (line 40).

Public property EventIsValid: TSFBoolEvent read FEventIsValid;

This item has no description.

Source: scene/x3d/auto_generated_node_helpers/x3dnodes_x3dshadernode.inc (line 44).

Public property FdLanguage: TSFStringEnum read FFdLanguage;

Internal wrapper for property Language. This wrapper API may change, we advise to access simpler Language instead, if it is defined (TODO: for now, some field types do not have a simpler counterpart).

Source: scene/x3d/auto_generated_node_helpers/x3dnodes_x3dshadernode.inc (line 48).

Public property Language: TShaderLanguage read GetLanguage write SetLanguage;

Shading language. Only the GLSL (OpenGL Shading Language) is actually supported. The default value, empty string, is equivalent to GLSL.

Source: scene/x3d/auto_generated_node_helpers/x3dnodes_x3dshadernode.inc (line 50).


Generated by PasDoc 0.17.0.snapshot.