<ShaderResourceNode>

Implements a container that can control whether or not it is rendered by determining if the host GPU supports the specified GLSL version and all of the specified extensions.

Registration

Class registration and implementation information is as follows:

Category Documentation
ImplementationC++
ModulePlugin-Nodes-Glsl
Class HierarchyNode » Group » ShaderResourceNode
Data Interface NameShaderResourceNode
Type StatusActive
Is Final TypeYes

<ShaderResourceNode> Properties

Properties are as follows:

Property Documentation
NamespaceIf specified, this is a Simdify Scripting Language namespace such as LibResourceValidation.
FunctionIf specified, this is a Simdify Scripting Language function implemented in the specified namespace. This means the function must be in a Simdify Scripting Language file that declares the namespace at the top with something such as: library LibResourceValidation;.
Shading Language VersionA list of GLSL shading language versions. This is used to insert the #version directive in the shader source code.
Shading Language ProfileA list of GLSL shading language profiles. This is used to insert the #version directive in the shader source code.
GPU Resource Mode: NoneSpecifies no resource mode.
GPU Resource Mode: Compute ShaderThis is a hint about the purpose of this resource. This property is provided for compatibility purposes only. In all other cases it should be set to None.
GPU Resource Mode: Compute ResourcesThis is a hint about the purpose of this resource. This property is provided for compatibility purposes only. In all other cases it should be set to None.
GPU Resource Mode: Visual ShaderThis is a hint about the purpose of this resource. This property is provided for compatibility purposes only. In all other cases it should be set to None.
GPU Resource Mode: Visual ResourcesThis is a hint about the purpose of this resource. This property is provided for compatibility purposes only. In all other cases it should be set to None.
GPU Resource Mode: Debug ShaderThis is a hint about the purpose of this resource. This property is provided for compatibility purposes only. In all other cases it should be set to None.
GPU Resource Mode: Debug ResourcesThis is a hint about the purpose of this resource. This property is provided for compatibility purposes only. In all other cases it should be set to None.
GPU Resource Mode: Task/Mesh ShaderThis is a hint about the purpose of this resource. This property is provided for compatibility purposes only. In all other cases it should be set to None.
GPU Resource Mode: Task/Mesh ResourcesThis is a hint about the purpose of this resource. This property is provided for compatibility purposes only. In all other cases it should be set to None.
ExtensionIf any are specified, this parameter enumerates the name of an OpenGL extension, the presence of which is required for this node to render. You might see multiple extensions listed here, but you cannot edit them. To add an extension requirement, right click the <ShaderResourceNode>.

<Group> Properties

Properties are as follows:

Property Documentation
VisibleToggles the <Group>'s visible/invisible". Child nodes are not visible when their parent <Group>'s is invisible.
CollisionsToggles collision detection on the <Group> node and its children". This is used for runtime export and has no effect in Simdify applications.
CullToggles view volume culling on/off". modifying this parameter may cause incorrect culling and other unexpected consequences.
Preserve CameraThis option is undocumented at present.
Generic Data SourceThis option provides the capability to connect a <Group>'s to a node that serves as a generic data source.
Bounding Box FrozenFreezes the bounding box at its current size. This is often used as a runtime flag, and modifying this parameter may cause incorrect culling.
Minimum XDisplays the minimum bounding box coordinate on the X axis.
Minimum YDisplays the minimum bounding box coordinate on the Y axis.
Minimum ZDisplays the minimum bounding box coordinate on the Z axis.
Maximum XDisplays the maximum bounding box coordinate on the X axis.
Maximum YDisplays the maximum bounding box coordinate on the Y axis.
Maximum ZDisplays the maximum bounding box coordinate on the Z axis.
Transform LockedLocks the node and prevents transformation of the node and its children. This is a runtime flag and has no effect in Simdify applications.
Position XDisplays the node's position on the X axis.
Position YDisplays the node's position on the Y axis.
Position ZDisplays the node's position on the Z axis.
Orientation XDisplays the node's orientation on the X axis.
Orientation YDisplays the node's orientation on the Y axis.
Orientation ZDisplays the node's orientation on the Z axis.
Scale XDisplays the node's scale on the X axis.
Scale YDisplays the node's scale on the Y axis.
Scale ZDisplays the node's scale on the Z axis.
BillboardSets the node as a billboard. Billboards rotate to face the camera. This feature has been preserved for compatibility purposes, but this functionality should be implemented with geometry shaders.

<Node> Properties

Properties are as follows:

Property Documentation
NameSets orthe name of the node. Do not use / or \ [forward slash and backslash] in the node name as this produces conflicts with resolving link nodes that reference external files.
ClassSets the class of the node.
IDSets the ID of the node. This must be unique for each document, but different documents can use the same ID.
Import DisabledDetermines whether or not the node is imported during an import process such as when nodes are imported from a template during document creation. Note that this flag is mostly in Simdify Scripting language.
Export DisabledDetermines whether or not the node is exported during an export process, or possibly other purposes. This flag is set to No and current Simdify exporters ignore it (but it can be very useful if you need to modify the exporters).
GuidEnumerates the Node's GUID.