Class TAbstractShaderNode

Unit

Declaration

type TAbstractShaderNode = class(TAbstractAppearanceChildNode)

Description

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

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.

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.

Properties

Public property EventActivate: TSFBoolEvent read FEventActivate;

This item has no description.

Public property EventIsSelected: TSFBoolEvent read FEventIsSelected;

This item has no description.

Public property EventIsValid: TSFBoolEvent read FEventIsValid;

This item has no description.

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).

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.


Generated by PasDoc 0.16.0-snapshot.