@@ -380,15 +380,16 @@ vector<T,N+1> __makeVector(vector<T,N> vec, T scalar);
380
380
/// @see `Texture1D`, `Texture2D`, `Texture3D`, `TextureCube`, `Texture1DArray`,
381
381
/// `Texture2DArray`, `TextureCubeArray`, `Sampler1D`, `Sampler2D`, `Sampler3D`, `SamplerCube`, `Sampler1DArray`, `Sampler2DArray`, `SamplerCubeArray`,
382
382
/// `Texture2DMS`, `Texture2DMSArray`, `RWTexture1D`, `RWTexture2D`, `RWTexture3D`, `RWTexture1DArray`, `RWTexture2DArray`,
383
- /// `RWTexture2DMS`, `RWTexture2DMSArray`, `RWTextureBuffer `, `FeedbackTexture2D`, `FeedbackTexture2DArray`.
383
+ /// `RWTexture2DMS`, `RWTexture2DMSArray`, `Buffer`, `RWBuffer `, `FeedbackTexture2D`, `FeedbackTexture2DArray`.
384
384
/// @remarks
385
385
/// HLSL texture types are implemented as typealiases to the builtin `_Texture` type. Users
386
386
/// are advised to use the HLSL-specific texture types instead of `_Texture` directly.
387
387
///
388
388
/// For read-write textures, Slang will automatically infer `format` from `T`.
389
389
/// To explicitly specify texel storage formats for read-write textures,
390
- /// use the `[format("...")]` attribute on the texture parameter declaration.
391
- /// Allowed `format` values are:
390
+ /// use the `[format("formatString")]` attribute on the texture parameter declaration.
391
+ /// Allowed `formatString` values are:
392
+ ///
392
393
/// |id | Format string | Meaning |
393
394
/// |:--|:---------------------|:------------------|
394
395
/// |1 |`"rgba32f"` | 4 channel 32-bit floating point texture |
0 commit comments