Attributes¶ Slang’s Standard Library defines the following attributes: AutoPyBindCUDA BackwardDerivative BackwardDerivativeOf BackwardDifferentiable COM CUDADeviceExport CUDAHost CUDAKernel CudaDeviceExport CudaHost CudaKernel DerivativeGroupLinear DerivativeGroupQuad DerivativeMember Differentiable DllExport DllImport Flags ForceInline ForceUnroll ForwardDerivative ForwardDerivativeOf ForwardDifferentiable KnownBuiltin MaxIters MaximallyReconverges NoDiffThis NonUniformReturn NumThreads OverloadRank PreferCheckpoint PreferRecompute PrimalSubstitute PrimalSubstituteOf PyExport QuadDerivatives RequireFullQuads RequirePrelude Shader SpecializationConstant Specialize TorchEntryPoint TreatAsDifferentiable UnscopedEnum WaveSize allow allow_uav_condition anyValueSize branch builtin call constref deprecated disable_array_flattening domain earlydepthstencil fastopt flatten forcecase format gl_binding instance loop maxtessfactor maxvertexcount mutating noRefInline noinline nonmutating numthreads open outputcontrolpoints outputtopology partitioning patchconstantfunc payload push_constant raypayload require sealed shader shader_record spv_target_env_1_3 unroll vk_binding vk_constant_id vk_image_format vk_location vk_offset vk_push_constant vk_shader_record vk_specialization_constant vk_spirv_instruction