Home Reference Source

src/volume/sdf/SDFType.js

/**
 * An enumeration of SDF types.
 *
 * @type {Object}
 * @property {String} HEIGHTFIELD - A heightfield description.
 * @property {String} FRACTAL_NOISE - A fractal noise description.
 * @property {String} SUPER_PRIMITIVE - A super primitive description.
 */

export const SDFType = {

	HEIGHTFIELD: "sdf.heightfield",
	FRACTAL_NOISE: "sdf.fractalnoise",
	SUPER_PRIMITIVE: "sdf.superprimitive"

};