Skip to main content
Glama

MCP 3D Printer Server

Binding.js1.04 kB
/** * A binding represents the connection between a resource (like a texture, sampler * or uniform buffer) and the resource definition in a shader stage. * * This module is an abstract base class for all concrete bindings types. * * @abstract * @private */ class Binding { /** * Constructs a new binding. * * @param {String} [name=''] - The binding's name. */ constructor( name = '' ) { /** * The binding's name. * * @type {String} */ this.name = name; /** * A bitmask that defines in what shader stages the * binding's resource is accessible. * * @type {Number} */ this.visibility = 0; } /** * Makes sure binding's resource is visible for the given shader stage. * * @param {Number} visibility - The shader stage. */ setVisibility( visibility ) { this.visibility |= visibility; } /** * Clones the binding. * * @return {Binding} The cloned binding. */ clone() { return Object.assign( new this.constructor(), this ); } } export default Binding;

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/DMontgomery40/mcp-3D-printer-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server