Types
Slang’s Standard Library defines the following types:
- AppendStructuredBuffer
- Array
- Atomic
- AtomicAdd
- Buffer
- BuiltInTriangleIntersectionAttributes
- ByteAddressBuffer
- CANDIDATE_TYPE
- COMMITTED_STATUS
- ConstantBuffer
- ConsumeStructuredBuffer
- DefaultDataLayout
- DiffTensorView
- DifferentialPair
- DifferentialPtrPair
- FeedbackTexture2D
- FeedbackTexture2DArray
- HitObject
- InputPatch
- LineStream
- MemoryOrder
- NativeString
- NullDifferential
- Optional
- OutputIndices
- OutputPatch
- OutputPrimitives
- OutputVertices
- ParameterBlock
- PointStream
- Ptr
- RAY_FLAG
- RWBuffer
- RWByteAddressBuffer
- RWSampler1D
- RWSampler1DArray
- RWSampler2D
- RWSampler2DArray
- RWSampler2DMS
- RWSampler2DMSArray
- RWSampler3D
- RWStructuredBuffer
- RWTexture1D
- RWTexture1DArray
- RWTexture2D
- RWTexture2DArray
- RWTexture2DMS
- RWTexture2DMSArray
- RWTexture3D
- RasterizerOrderedBuffer
- RasterizerOrderedByteAddressBuffer
- RasterizerOrderedSampler1D
- RasterizerOrderedSampler1DArray
- RasterizerOrderedSampler2D
- RasterizerOrderedSampler2DArray
- RasterizerOrderedSampler3D
- RasterizerOrderedStructuredBuffer
- RasterizerOrderedTexture1D
- RasterizerOrderedTexture1DArray
- RasterizerOrderedTexture2D
- RasterizerOrderedTexture2DArray
- RasterizerOrderedTexture3D
- RayDesc
- RayQuery
- RaytracingAccelerationStructure
- SAMPLER_FEEDBACK_MIN_MIP
- SAMPLER_FEEDBACK_MIP_REGION_USED
- Sampler1D
- Sampler1DArray
- Sampler2D
- Sampler2DArray
- Sampler2DMS
- Sampler2DMSArray
- Sampler3D
- SamplerComparisonState
- SamplerCube
- SamplerCubeArray
- SamplerState
- ScalarDataLayout
- SideEffectBehavior
- Std140DataLayout
- Std430DataLayout
- String
- StructuredBuffer
- SubpassInput
- SubpassInputMS
- TensorView
- Texture1D
- Texture1DArray
- Texture2D
- Texture2DArray
- Texture2DMS
- Texture2DMSArray
- Texture3D
- TextureBuffer
- TextureCube
- TextureCubeArray
- TextureFootprint
- TextureFootprint2D
- TextureFootprint3D
- TorchTensor
- TriangleStream
- Tuple
- WSampler1D
- WSampler1DArray
- WSampler2D
- WSampler2DArray
- WSampler3D
- WTexture1D
- WTexture1DArray
- WTexture2D
- WTexture2DArray
- WTexture3D
- _AttributeTargets
- _Texture
- __Shape1D
- __Shape2D
- __Shape3D
- __ShapeBuffer
- __ShapeCube
- float16_t
- float32_t
- float64_t
- int32_t
- matrix
- size_t
- ssize_t
- string
- uint32_t
- usize_t
- vector