modelVertexOutput.glsl 436 B

12345678910111213141516
  1. /**
  2. * Struct for representing the output of a custom vertex shader.
  3. *
  4. * @name czm_modelVertexOutput
  5. * @glslStruct
  6. *
  7. * @see {@link CustomShader}
  8. * @see {@link Model}
  9. *
  10. * @property {vec3} positionMC The position of the vertex in model coordinates
  11. * @property {float} pointSize A custom value for gl_PointSize. This is only used for point primitives.
  12. */
  13. struct czm_modelVertexOutput {
  14. vec3 positionMC;
  15. float pointSize;
  16. };