From a508b264eda4bc3c99ba1f44eab1dec6e5ce06c0 Mon Sep 17 00:00:00 2001 From: Jay Kwak <82421531+jkwak-work@users.noreply.github.com> Date: Fri, 25 Oct 2024 21:12:37 -0700 Subject: Swap the term StdLib with Core-Module or Standard-Module in documents (#5414) This PR is limited to documents. All use of "Standard library" or "StdLib" are replaced with either "core module" or "standard modules", depending on the context. --- docs/language-reference/04-types.md | 6 +++--- docs/language-reference/07-declarations.md | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'docs/language-reference') diff --git a/docs/language-reference/04-types.md b/docs/language-reference/04-types.md index bef9f2d31..3ccc7bdcb 100644 --- a/docs/language-reference/04-types.md +++ b/docs/language-reference/04-types.md @@ -92,7 +92,7 @@ The alignment of a vector type may vary by target platforms. The alignment of `vector` will be at least the alignment of `T` and may be at most `N` times the alignment of `T`. As a convenience, Slang defines built-in type aliases for vectors of the built-in scalar types. -E.g., declarations equivalent to the following are provided by the Slang standard library: +E.g., declarations equivalent to the following are provided by the Slang core module: ```hlsl typealias float4 = vector; @@ -139,7 +139,7 @@ Under column-major layout, a matrix is laid out in memory equivalent to the row- This means it will be laid out equivalently to a `C`-element array of `vector` elements. As a convenience, Slang defines built-in type aliases for matrices of the built-in scalar types. -E.g., declarations equivalent to the following are provided by the Slang standard library: +E.g., declarations equivalent to the following are provided by the Slang core module: ```hlsl typealias float3x4 = matrix; @@ -311,7 +311,7 @@ Opaque Types _Opaque_ types are built-in types that (depending on the target platform) may not have a well-defined size or representation in memory. Similar languages may refer to these as "resource types" or "object types." -The full list of opaque types supported by Slang can be found in the standard library reference, but important examples are: +The full list of opaque types supported by Slang can be found in the core module reference, but important examples are: * Texture types such as `Texture2D`, `TextureCubeArray`, and `RWTexture2DMS` * Sampler state types: `SamplerState` and `SamplerComparisonState` diff --git a/docs/language-reference/07-declarations.md b/docs/language-reference/07-declarations.md index 2df87b8a6..e3b7aa60d 100644 --- a/docs/language-reference/07-declarations.md +++ b/docs/language-reference/07-declarations.md @@ -642,7 +642,7 @@ float f = v.getLength(); int n = MyVector.getDimensionality(); ``` -An extension declaration need not be placed in the same module as the type being extended; it is possible to extend a type from third-party or standard-library code. +An extension declaration need not be placed in the same module as the type being extended; it is possible to extend a type from third-party or standard module code. The members of an extension are only visible inside of modules that `import` the module declaring the extension; extension members are *not* automatically visible wherever the type being extended is visible. -- cgit v1.2.3