@babylonjs/core 5.35.0 → 5.35.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Engines/Extensions/engine.renderTarget.js +15 -15
- package/Engines/Extensions/engine.renderTarget.js.map +1 -1
- package/Engines/Extensions/engine.renderTargetCube.d.ts +1 -1
- package/Engines/Extensions/engine.renderTargetCube.js.map +1 -1
- package/Engines/Native/nativeHardwareTexture.d.ts +14 -0
- package/Engines/Native/nativeHardwareTexture.js +24 -0
- package/Engines/Native/nativeHardwareTexture.js.map +1 -0
- package/Engines/Native/nativeInterfaces.d.ts +22 -15
- package/Engines/Native/nativeInterfaces.js.map +1 -1
- package/Engines/Native/nativePipelineContext.d.ts +252 -0
- package/Engines/Native/nativePipelineContext.js +502 -0
- package/Engines/Native/nativePipelineContext.js.map +1 -0
- package/Engines/Native/nativeRenderTargetWrapper.d.ts +16 -0
- package/Engines/Native/nativeRenderTargetWrapper.js +33 -0
- package/Engines/Native/nativeRenderTargetWrapper.js.map +1 -0
- package/Engines/WebGPU/Extensions/engine.renderTarget.js +3 -3
- package/Engines/WebGPU/Extensions/engine.renderTarget.js.map +1 -1
- package/Engines/WebGPU/Extensions/engine.renderTargetCube.js.map +1 -1
- package/Engines/engine.d.ts +1 -0
- package/Engines/engine.js +24 -18
- package/Engines/engine.js.map +1 -1
- package/Engines/nativeEngine.d.ts +18 -17
- package/Engines/nativeEngine.js +100 -598
- package/Engines/nativeEngine.js.map +1 -1
- package/Engines/nullEngine.d.ts +1 -1
- package/Engines/nullEngine.js.map +1 -1
- package/Engines/thinEngine.d.ts +1 -1
- package/Engines/thinEngine.js +41 -38
- package/Engines/thinEngine.js.map +1 -1
- package/Engines/webgpuEngine.js.map +1 -1
- package/Materials/Textures/renderTargetTexture.d.ts +53 -3
- package/Materials/Textures/renderTargetTexture.js +25 -25
- package/Materials/Textures/renderTargetTexture.js.map +1 -1
- package/Materials/Textures/textureCreationOptions.d.ts +4 -1
- package/Materials/Textures/textureCreationOptions.js.map +1 -1
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"textureCreationOptions.js","sourceRoot":"","sources":["../../../../../lts/core/generated/Materials/Textures/textureCreationOptions.ts"],"names":[],"mappings":"","sourcesContent":["/**\r\n * Define options used to create an internal texture\r\n */\r\nexport interface InternalTextureCreationOptions {\r\n /**\r\n * Specifies if mipmaps must be created. If undefined, the value from generateMipMaps is taken instead\r\n */\r\n createMipMaps?: boolean;\r\n /**\r\n * Specifies if mipmaps must be generated\r\n */\r\n generateMipMaps?: boolean;\r\n /** Defines texture type (int by default) */\r\n type?: number;\r\n /** Defines sampling mode (trilinear by default) */\r\n samplingMode?: number;\r\n /** Defines format (RGBA by default) */\r\n format?: number;\r\n /** Defines sample count (1 by default) */\r\n samples?: number;\r\n /** Texture creation flags */\r\n creationFlags?: number;\r\n /** Creates the RTT in sRGB space */\r\n useSRGBBuffer?: boolean;\r\n}\r\n\r\n/**\r\n * Define options used to create a render target texture\r\n */\r\nexport interface RenderTargetCreationOptions extends InternalTextureCreationOptions {\r\n /** Specifies whether or not a depth should be allocated in the texture (true by default) */\r\n generateDepthBuffer?: boolean;\r\n /** Specifies whether or not a stencil should be allocated in the texture (false by default)*/\r\n generateStencilBuffer?: boolean;\r\n /** Specifies that no color target should be bound to the render target (useful if you only want to write to the depth buffer, for eg) */\r\n
|
|
1
|
+
{"version":3,"file":"textureCreationOptions.js","sourceRoot":"","sources":["../../../../../lts/core/generated/Materials/Textures/textureCreationOptions.ts"],"names":[],"mappings":"","sourcesContent":["import type { InternalTexture } from \"./internalTexture\";\r\n\r\n/**\r\n * Define options used to create an internal texture\r\n */\r\nexport interface InternalTextureCreationOptions {\r\n /**\r\n * Specifies if mipmaps must be created. If undefined, the value from generateMipMaps is taken instead\r\n */\r\n createMipMaps?: boolean;\r\n /**\r\n * Specifies if mipmaps must be generated\r\n */\r\n generateMipMaps?: boolean;\r\n /** Defines texture type (int by default) */\r\n type?: number;\r\n /** Defines sampling mode (trilinear by default) */\r\n samplingMode?: number;\r\n /** Defines format (RGBA by default) */\r\n format?: number;\r\n /** Defines sample count (1 by default) */\r\n samples?: number;\r\n /** Texture creation flags */\r\n creationFlags?: number;\r\n /** Creates the RTT in sRGB space */\r\n useSRGBBuffer?: boolean;\r\n}\r\n\r\n/**\r\n * Define options used to create a render target texture\r\n */\r\nexport interface RenderTargetCreationOptions extends InternalTextureCreationOptions {\r\n /** Specifies whether or not a depth should be allocated in the texture (true by default) */\r\n generateDepthBuffer?: boolean;\r\n /** Specifies whether or not a stencil should be allocated in the texture (false by default)*/\r\n generateStencilBuffer?: boolean;\r\n /** Specifies that no color target should be bound to the render target (useful if you only want to write to the depth buffer, for eg) */\r\n noColorAttachment?: boolean;\r\n /** Specifies the internal texture to use directly instead of creating one (ignores `noColorAttachment` flag when set) **/\r\n colorAttachment?: InternalTexture;\r\n}\r\n\r\n/**\r\n * Define options used to create a depth texture\r\n */\r\nexport interface DepthTextureCreationOptions {\r\n /** Specifies whether or not a stencil should be allocated in the texture */\r\n generateStencil?: boolean;\r\n /** Specifies whether or not bilinear filtering is enable on the texture */\r\n bilinearFiltering?: boolean;\r\n /** Specifies the comparison function to set on the texture. If 0 or undefined, the texture is not in comparison mode */\r\n comparisonFunction?: number;\r\n /** Specifies if the created texture is a cube texture */\r\n isCube?: boolean;\r\n /** Specifies the sample count of the depth/stencil texture texture */\r\n samples?: number;\r\n /** Specifies the depth texture format to use */\r\n depthTextureFormat?: number;\r\n}\r\n\r\n/**\r\n * Type used to define a texture size (either with a number or with a rect width and height)\r\n */\r\nexport type TextureSize = number | { width: number; height: number; layers?: number };\r\n"]}
|