Class TShaderPartNode

DescriptionHierarchyFieldsMethodsProperties

Unit

Declaration

type TShaderPartNode = class(TAbstractNode, IAbstractUrlObject)

Description

no description available, TAbstractNode description follows

Base X3D node.

Almost all X3D nodes inherit from this. (Exception: X3DMetadataObject. So you cannot have metadata of metadata of...)

Hierarchy

Overview

Methods

Public procedure CreateNode; override;
Public class function ClassNodeTypeName: string; override;
Public class function URNMatching(const URN: string): boolean; override;
Public function LoadContents: string;

Properties

Public property FdUrl: TMFString read FFdUrl;
Public property FdType: TSFStringShaderType read FFdType;
Public property UsedFullUrl: string read FUsedFullUrl;

Description

Methods

Public procedure CreateNode; override;
 
Public class function ClassNodeTypeName: string; override;
 
Public class function URNMatching(const URN: string): boolean; override;
 
Public function LoadContents: string;

Load shader code from node's URLs. Will return '' if no valid URLs present. (Assuming that OnWarning will not raise an exception. If OnWarning will raise exception, then this will propagate this exception).

Sets UsedFullUrl.

Properties

Public property FdUrl: TMFString read FFdUrl;
 
Public property FdType: TSFStringShaderType read FFdType;
 
Public property UsedFullUrl: string read FUsedFullUrl;

Once the LoadContents is called, this is set to the URL that was used to load the shader contents, or '' if no URL was used, or something special if shader contents came inlined inside URL.

This is always a full, expanded (i.e. not relative) URL.


Generated by PasDoc 0.12.1 on 2013-02-04 20:26:56