@antv/g-webgpu-core
Advanced tools
Comparing version 0.7.1 to 0.7.2
import { gl } from './gl'; | ||
import { IAttribute } from './IAttribute'; | ||
import { IElements } from './IElements'; | ||
import { IUniform } from './IUniform'; | ||
import type { IAttribute } from './IAttribute'; | ||
import type { IElements } from './IElements'; | ||
import type { IUniform } from './IUniform'; | ||
export interface IBlendOptions { | ||
@@ -6,0 +6,0 @@ enable: boolean; |
import { Component, ComponentManager } from './ComponentManager'; | ||
import { gl } from './components/renderer/gl'; | ||
import { IAttribute, IAttributeInitializationOptions } from './components/renderer/IAttribute'; | ||
import { IBuffer, IBufferInitializationOptions } from './components/renderer/IBuffer'; | ||
import { IComputeModel } from './components/renderer/IComputeModel'; | ||
import { IElements, IElementsInitializationOptions } from './components/renderer/IElements'; | ||
import { IFramebuffer, IFramebufferInitializationOptions } from './components/renderer/IFramebuffer'; | ||
import { IModel, IModelDrawOptions, IModelInitializationOptions } from './components/renderer/IModel'; | ||
import { IRenderbuffer, IRenderbufferInitializationOptions } from './components/renderer/IRenderbuffer'; | ||
import { BufferData, IClearOptions, IReadPixelsOptions, IRendererConfig, IRendererService, IViewport } from './components/renderer/IRendererService'; | ||
import { ITexture2D, ITexture2DInitializationOptions } from './components/renderer/ITexture2D'; | ||
import { IUniform } from './components/renderer/IUniform'; | ||
export type { IAttribute, IAttributeInitializationOptions, } from './components/renderer/IAttribute'; | ||
export type { IBuffer, IBufferInitializationOptions, } from './components/renderer/IBuffer'; | ||
export type { IComputeModel } from './components/renderer/IComputeModel'; | ||
export type { IElements, IElementsInitializationOptions, } from './components/renderer/IElements'; | ||
export type { IFramebuffer, IFramebufferInitializationOptions, } from './components/renderer/IFramebuffer'; | ||
export type { IModel, IModelDrawOptions, IModelInitializationOptions, } from './components/renderer/IModel'; | ||
export type { IRenderbuffer, IRenderbufferInitializationOptions, } from './components/renderer/IRenderbuffer'; | ||
export type { BufferData, IClearOptions, IReadPixelsOptions, IRendererConfig, IRendererService, IViewport, } from './components/renderer/IRendererService'; | ||
export type { ITexture2D, ITexture2DInitializationOptions, } from './components/renderer/ITexture2D'; | ||
export type { IUniform } from './components/renderer/IUniform'; | ||
import { createEntity } from './Entity'; | ||
import { ConfigService } from './services/config/ConfigService'; | ||
import { IConfig, IConfigService } from './services/config/IConfigService'; | ||
import { IShaderModuleService } from './services/shader-module/IShaderModuleService'; | ||
export type { IConfig, IConfigService } from './services/config/IConfigService'; | ||
export type { IShaderModuleService } from './services/shader-module/IShaderModuleService'; | ||
import { isSafari } from './utils/isSafari'; | ||
@@ -174,2 +174,2 @@ declare type Entity = number; | ||
} | ||
export { createEntity, Component, ComponentManager, Entity, IUniform, isSafari, gl, IAttribute, IAttributeInitializationOptions, IBuffer, IBufferInitializationOptions, IClearOptions, IElements, IElementsInitializationOptions, IFramebuffer, IFramebufferInitializationOptions, IRenderbuffer, IRenderbufferInitializationOptions, IModel, IModelInitializationOptions, IModelDrawOptions, IReadPixelsOptions, IRendererConfig, IRendererService, ITexture2D, ITexture2DInitializationOptions, IComputeModel, BufferData, IShaderModuleService, IConfigService, ConfigService, IConfig, AST_TOKEN_TYPES, AST_NODE_TYPES, STORAGE_CLASS, GLSLContext, DataType, Target, DefineValuePlaceholder, KernelBundle, IViewport, }; | ||
export { createEntity, Component, ComponentManager, Entity, isSafari, gl, ConfigService, AST_TOKEN_TYPES, AST_NODE_TYPES, STORAGE_CLASS, GLSLContext, DataType, Target, DefineValuePlaceholder, KernelBundle, }; |
import { Component, ComponentManager } from './ComponentManager'; | ||
import { gl } from './components/renderer/gl'; | ||
import { IAttribute, IAttributeInitializationOptions } from './components/renderer/IAttribute'; | ||
import { IBuffer, IBufferInitializationOptions } from './components/renderer/IBuffer'; | ||
import { IComputeModel } from './components/renderer/IComputeModel'; | ||
import { IElements, IElementsInitializationOptions } from './components/renderer/IElements'; | ||
import { IFramebuffer, IFramebufferInitializationOptions } from './components/renderer/IFramebuffer'; | ||
import { IModel, IModelDrawOptions, IModelInitializationOptions } from './components/renderer/IModel'; | ||
import { IRenderbuffer, IRenderbufferInitializationOptions } from './components/renderer/IRenderbuffer'; | ||
import { BufferData, IClearOptions, IReadPixelsOptions, IRendererConfig, IRendererService, IViewport } from './components/renderer/IRendererService'; | ||
import { ITexture2D, ITexture2DInitializationOptions } from './components/renderer/ITexture2D'; | ||
import { IUniform } from './components/renderer/IUniform'; | ||
import { createEntity } from './Entity'; | ||
import { ConfigService } from './services/config/ConfigService'; | ||
import { IConfig, IConfigService } from './services/config/IConfigService'; | ||
import { IShaderModuleService } from './services/shader-module/IShaderModuleService'; | ||
import { isSafari } from './utils/isSafari'; | ||
@@ -100,5 +88,5 @@ var AST_TOKEN_TYPES; | ||
var DefineValuePlaceholder = '__DefineValuePlaceholder__'; | ||
export { createEntity, Component, ComponentManager, IUniform, isSafari, | ||
export { createEntity, Component, ComponentManager, isSafari, | ||
// renderer service | ||
gl, IAttribute, IAttributeInitializationOptions, IBuffer, IBufferInitializationOptions, IClearOptions, IElements, IElementsInitializationOptions, IFramebuffer, IFramebufferInitializationOptions, IRenderbuffer, IRenderbufferInitializationOptions, IModel, IModelInitializationOptions, IModelDrawOptions, IReadPixelsOptions, IRendererConfig, IRendererService, ITexture2D, ITexture2DInitializationOptions, IComputeModel, BufferData, IShaderModuleService, IConfigService, ConfigService, IConfig, AST_TOKEN_TYPES, AST_NODE_TYPES, STORAGE_CLASS, Target, DefineValuePlaceholder, IViewport }; | ||
gl, ConfigService, AST_TOKEN_TYPES, AST_NODE_TYPES, STORAGE_CLASS, Target, DefineValuePlaceholder }; | ||
//# sourceMappingURL=index.js.map |
@@ -1,2 +0,2 @@ | ||
import { IUniform } from '../../components/renderer/IUniform'; | ||
import type { IUniform } from '../../components/renderer/IUniform'; | ||
/** | ||
@@ -3,0 +3,0 @@ * 提供 ShaderModule 管理服务 |
171
lib/index.js
@@ -7,8 +7,2 @@ "use strict"; | ||
exports.AST_TOKEN_TYPES = exports.AST_NODE_TYPES = void 0; | ||
Object.defineProperty(exports, "BufferData", { | ||
enumerable: true, | ||
get: function get() { | ||
return _IRendererService.BufferData; | ||
} | ||
}); | ||
Object.defineProperty(exports, "Component", { | ||
@@ -32,154 +26,3 @@ enumerable: true, | ||
}); | ||
exports.DefineValuePlaceholder = void 0; | ||
Object.defineProperty(exports, "IAttribute", { | ||
enumerable: true, | ||
get: function get() { | ||
return _IAttribute.IAttribute; | ||
} | ||
}); | ||
Object.defineProperty(exports, "IAttributeInitializationOptions", { | ||
enumerable: true, | ||
get: function get() { | ||
return _IAttribute.IAttributeInitializationOptions; | ||
} | ||
}); | ||
Object.defineProperty(exports, "IBuffer", { | ||
enumerable: true, | ||
get: function get() { | ||
return _IBuffer.IBuffer; | ||
} | ||
}); | ||
Object.defineProperty(exports, "IBufferInitializationOptions", { | ||
enumerable: true, | ||
get: function get() { | ||
return _IBuffer.IBufferInitializationOptions; | ||
} | ||
}); | ||
Object.defineProperty(exports, "IClearOptions", { | ||
enumerable: true, | ||
get: function get() { | ||
return _IRendererService.IClearOptions; | ||
} | ||
}); | ||
Object.defineProperty(exports, "IComputeModel", { | ||
enumerable: true, | ||
get: function get() { | ||
return _IComputeModel.IComputeModel; | ||
} | ||
}); | ||
Object.defineProperty(exports, "IConfig", { | ||
enumerable: true, | ||
get: function get() { | ||
return _IConfigService.IConfig; | ||
} | ||
}); | ||
Object.defineProperty(exports, "IConfigService", { | ||
enumerable: true, | ||
get: function get() { | ||
return _IConfigService.IConfigService; | ||
} | ||
}); | ||
Object.defineProperty(exports, "IElements", { | ||
enumerable: true, | ||
get: function get() { | ||
return _IElements.IElements; | ||
} | ||
}); | ||
Object.defineProperty(exports, "IElementsInitializationOptions", { | ||
enumerable: true, | ||
get: function get() { | ||
return _IElements.IElementsInitializationOptions; | ||
} | ||
}); | ||
Object.defineProperty(exports, "IFramebuffer", { | ||
enumerable: true, | ||
get: function get() { | ||
return _IFramebuffer.IFramebuffer; | ||
} | ||
}); | ||
Object.defineProperty(exports, "IFramebufferInitializationOptions", { | ||
enumerable: true, | ||
get: function get() { | ||
return _IFramebuffer.IFramebufferInitializationOptions; | ||
} | ||
}); | ||
Object.defineProperty(exports, "IModel", { | ||
enumerable: true, | ||
get: function get() { | ||
return _IModel.IModel; | ||
} | ||
}); | ||
Object.defineProperty(exports, "IModelDrawOptions", { | ||
enumerable: true, | ||
get: function get() { | ||
return _IModel.IModelDrawOptions; | ||
} | ||
}); | ||
Object.defineProperty(exports, "IModelInitializationOptions", { | ||
enumerable: true, | ||
get: function get() { | ||
return _IModel.IModelInitializationOptions; | ||
} | ||
}); | ||
Object.defineProperty(exports, "IReadPixelsOptions", { | ||
enumerable: true, | ||
get: function get() { | ||
return _IRendererService.IReadPixelsOptions; | ||
} | ||
}); | ||
Object.defineProperty(exports, "IRenderbuffer", { | ||
enumerable: true, | ||
get: function get() { | ||
return _IRenderbuffer.IRenderbuffer; | ||
} | ||
}); | ||
Object.defineProperty(exports, "IRenderbufferInitializationOptions", { | ||
enumerable: true, | ||
get: function get() { | ||
return _IRenderbuffer.IRenderbufferInitializationOptions; | ||
} | ||
}); | ||
Object.defineProperty(exports, "IRendererConfig", { | ||
enumerable: true, | ||
get: function get() { | ||
return _IRendererService.IRendererConfig; | ||
} | ||
}); | ||
Object.defineProperty(exports, "IRendererService", { | ||
enumerable: true, | ||
get: function get() { | ||
return _IRendererService.IRendererService; | ||
} | ||
}); | ||
Object.defineProperty(exports, "IShaderModuleService", { | ||
enumerable: true, | ||
get: function get() { | ||
return _IShaderModuleService.IShaderModuleService; | ||
} | ||
}); | ||
Object.defineProperty(exports, "ITexture2D", { | ||
enumerable: true, | ||
get: function get() { | ||
return _ITexture2D.ITexture2D; | ||
} | ||
}); | ||
Object.defineProperty(exports, "ITexture2DInitializationOptions", { | ||
enumerable: true, | ||
get: function get() { | ||
return _ITexture2D.ITexture2DInitializationOptions; | ||
} | ||
}); | ||
Object.defineProperty(exports, "IUniform", { | ||
enumerable: true, | ||
get: function get() { | ||
return _IUniform.IUniform; | ||
} | ||
}); | ||
Object.defineProperty(exports, "IViewport", { | ||
enumerable: true, | ||
get: function get() { | ||
return _IRendererService.IViewport; | ||
} | ||
}); | ||
exports.Target = exports.STORAGE_CLASS = void 0; | ||
exports.Target = exports.STORAGE_CLASS = exports.DefineValuePlaceholder = void 0; | ||
Object.defineProperty(exports, "createEntity", { | ||
@@ -205,16 +48,4 @@ enumerable: true, | ||
var _gl = require("./components/renderer/gl"); | ||
var _IAttribute = require("./components/renderer/IAttribute"); | ||
var _IBuffer = require("./components/renderer/IBuffer"); | ||
var _IComputeModel = require("./components/renderer/IComputeModel"); | ||
var _IElements = require("./components/renderer/IElements"); | ||
var _IFramebuffer = require("./components/renderer/IFramebuffer"); | ||
var _IModel = require("./components/renderer/IModel"); | ||
var _IRenderbuffer = require("./components/renderer/IRenderbuffer"); | ||
var _IRendererService = require("./components/renderer/IRendererService"); | ||
var _ITexture2D = require("./components/renderer/ITexture2D"); | ||
var _IUniform = require("./components/renderer/IUniform"); | ||
var _Entity = require("./Entity"); | ||
var _ConfigService = require("./services/config/ConfigService"); | ||
var _IConfigService = require("./services/config/IConfigService"); | ||
var _IShaderModuleService = require("./services/shader-module/IShaderModuleService"); | ||
var _isSafari = require("./utils/isSafari"); | ||
@@ -221,0 +52,0 @@ var AST_TOKEN_TYPES; |
{ | ||
"name": "@antv/g-webgpu-core", | ||
"version": "0.7.1", | ||
"version": "0.7.2", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
283106
3069