Skip to main content
Glama

MCP 3D Printer Server

DataArrayTexture.js713 B
import { Texture } from './Texture.js'; import { ClampToEdgeWrapping, NearestFilter } from '../constants.js'; class DataArrayTexture extends Texture { constructor( data = null, width = 1, height = 1, depth = 1 ) { super( null ); this.isDataArrayTexture = true; this.image = { data, width, height, depth }; this.magFilter = NearestFilter; this.minFilter = NearestFilter; this.wrapR = ClampToEdgeWrapping; this.generateMipmaps = false; this.flipY = false; this.unpackAlignment = 1; this.layerUpdates = new Set(); } addLayerUpdate( layerIndex ) { this.layerUpdates.add( layerIndex ); } clearLayerUpdates() { this.layerUpdates.clear(); } } export { DataArrayTexture };

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