cesium
Version:
CesiumJS is a JavaScript library for creating 3D globes and 2D maps in a web browser without a plugin.
18 lines (17 loc) • 643 B
JavaScript
//This file is automatically rebuilt by the Cesium build process.
export default "void customShaderStage(\n\
inout czm_modelVertexOutput vsOutput, \n\
inout ProcessedAttributes attributes, \n\
FeatureIds featureIds,\n\
Metadata metadata\n\
) {\n\
// VertexInput and initializeInputStruct() are dynamically generated in JS, \n\
// see CustomShaderPipelineStage.js\n\
VertexInput vsInput;\n\
initializeInputStruct(vsInput, attributes);\n\
vsInput.featureIds = featureIds;\n\
vsInput.metadata = metadata;\n\
vertexMain(vsInput, vsOutput);\n\
attributes.positionMC = vsOutput.positionMC;\n\
}\n\
";