Class TShaderPartNode
Unit
X3DNodes
Declaration
type TShaderPartNode = class(TAbstractNode)
Description
OpenGL Shading Language (GLSL) shader part, used inside TComposedShaderNode.
Hierarchy
Overview
Methods
Properties
Description
Methods
 |
constructor Create(const AX3DName: String = ''; const ABaseUrl: String = ''); override; |
|
 |
procedure CreateNode; override; |
|
 |
class function ClassX3DType: string; override; |
|
 |
procedure SetUrl(const Value: array of string); overload; |
|
Properties
 |
property Contents: string read GetContents write SetContents; |
The shader code.
Getting this automatically loads the shader code pointed by the URL field of this node. The shader code may be specified in an external file, or inline using "data URI", see https://castle-engine.io/manual_network.php . The shader code may also be specified using the XML "CDATA" in X3D XML encoding. Returns '' of no valid URLs are present (loading errors are reported to WritelnWarning).
Setting this overrides the URL field, to specify only the given shader code.
|
 |
property FdUrl: TMFString read FFdUrl; |
Internal wrapper for property Url . This wrapper API may change, we advise to access simpler Url instead.
|
 |
property ShaderType: TShaderType read GetShaderType write SetShaderType; |
|
Generated by PasDoc 0.16.0.