Is there any documentation for shader source editor in Xcode 9 beta?

Hi.


Is there any documentaiton for the shader editor that is available in the SceneKit editor in the Xcode 9 beta?


Searching the Xocde help docs has not revealed anything aside for adding shders to sprite kit scenes.


The editor is made available when a node in the scene graph is selected. A pane is displayed which allows you to edit actions or shaders for each material belonging to the selected node.


When I clcik the help button in the source code window, the folliwing is displayed in a popover.


/
Access: ReadWrite
Stages: Vertex shader only
*/
    struct {
    float4x4    viewTransform;
    float4x4    inverseViewTransform; /
    float4x4    projectionTransform;
    float4x4    viewProjectionTransform;
    float4x4    viewToCubeTransform; /
    float4      ambientLightingColor;
    float4        fogColor;
    float3        fogParameters; /
    float2      inverseResolution;
    float       time;
    float       sinTime;
    float       cosTime;
    float       random01;
/
    float       environmentIntensity;
    float4x4    inverseProjectionTransform;
    float4x4    inverseViewProjectionTransform;
} scn_frame;
struct {
    float4x4 modelTransform;
    float4x4 inverseModelTransform;
    float4x4 modelViewTransform;
    float4x4 inverseModelViewTransform;
    float4x4 normalTransform; /
    float4x4 modelViewProjectionTransform;
    float4x4 inverseModelViewProjectionTransform;
    float2x3 boundingBox;
    float2x3 worldBoundingBox;
} scn_node;
struct SCNShaderGeometry {
    vec4 position;
    vec3 normal;
    vec4 tangent;
    vec4 color;
    vec2 texcoords[kSCNTexcoordCount];
} _geometry;



 



What is the main entrty point for the shader program for a geometry modifer?


Some clues would be greatly appericated as to how a shader should be constructed to be added to a scene file.


I really want to use this new feature as being able to develop and test shaders from within Xcocei could be a real time saver. I have done a bit of Open GL shader programing with Sprtie Kit in the past; my knowledge of metal shders is minimal .