anchor.diff:    :shader
     :texture
     :particle-effect
  -  :pipeline)
  +  :pipeline
  +  (:sound 200)
  +  )
  +
   
   (defbitfield resource-flags
     "Enum: resource-flags - The available flags used when adding a resource.
  
positive.code:   "Binds a texture to a sampler of a Material resource.
  
  This function binds a texture resource to the specified sampler of the specified material.
  		
  Parameters:
          materialRes  - handle to the Material resource to be accessed
          name         - name of the sampler
          texRes       - handle to texture resource
  			
  Returns:
          true in case of success, otherwise false
  "
  
negative.code: ;; DLL ResHandle getNextResource( int type, ResHandle start );
  (defh3fun ("getNextResource" get-next-resource) resource-handle
    "Returns the next resource of the specified type.
                  
  This function searches the next resource of the specified type and returns its handle.
  The search begins after the specified start handle. If a further resource of the queried type
  does not exist, a zero handle is returned. The function can be used to iterate over all
  resources of a given type by using as start the return value of the previous iteration step.
  The first iteration step should start at 0 and iteration can be ended when the function returns 0.
                  
  Parameters:
          type   - type of resource to be searched (ResourceTypes::Undefined for all types)
          start  - resource handle after which the search begins (can be 0 for beginning of resource list)
                          
  Returns:
          handle to the found resource or 0 if it does not exist
  "
  