rman "-version 1" {
  
Declare param {string rgbm_path} {
    label "BrickMap File"
    description "Path to the brickmap."
    subtype file
    range {*.bkm}
    }
Declare param {int rgbm_ignore} {
    label "Ignore Brickmap"
    description "The proxy surface will be rendered."
    subtype switch
    }
  
Declare param {int rgbm_use_defaultsurface} {
    label "Use Default Brick Shader"
    description "Barebones shading."
    subtype switch
    }
Declare param {int rgbm_trace_visibility} {
    label "Raytrace Visibility"
    description "Attribute \"visibility\" \"int trace\" 0|1."
    subtype switch
    }
    
Declare param {float rgbm_kcs} {
    label "Brightness Scaling"
    description "Applies scaling to defaultbrick->KCs."
    }
  
Declare param {float rgbm_kos} {
    label "Opacity Scaling"
    description "Applies scaling to defaultbrick->KOs."
    }
  
Declare param {float rgbm_prev_shading} {
    label "Preview ShadingRate"
    description "Used only by RMS18 and higher."
    }
            
# The Collection and NodeOptions blocks enable a Pre-Shape MEL script
# to be assigned to "RenderMan Controls->Geometric Settings" panel.
Collection rgbm_OptionalGeometricSettings {
    param rgbm_path {
        default ""
        state optional
        }
    param rgbm_ignore {
        default 0
        state optional
        }
    param rgbm_use_defaultsurface {
        default 0
        state optional
        }
    param rgbm_trace_visibility {
        default 0
        state optional
        }
    param rgbm_kcs {
        default 0.0
        state optional
        }
    param rgbm_kos {
        default 0.0
        state optional
        }
    param rgbm_prev_shading {
        default 0.0
        state optional
        }
    }
NodeOptions {kGeometric kParticle} {
       reference Collection optionalGeometricSettings
       reference Collection rgbm_OptionalGeometricSettings
    }
}