ComputeSharp.Interop
Namespace with 4 public types
Structures
ShaderInfo
A model representing reflection info for a given compute shader.
Static Classes
InteropServices
Provides methods to interoperate with the native APIs and the managed types in this library.
None of the APIs in perform input validation, and it is responsibility
of consumers to ensure the input arguments are in a correct state to be used (eg. not disposed).
Manually interfering with the underlying COM objects for any of these types can result in issues if
the operations are not done correctly, which can prevent other APIs from functioning as expected.
Consumers should ensure the executed operations do not result in any errors. Furthermore, even when
the reference count to the returned COM object is incremented, consumers should ensure that the owning
objects will remain alive as long as the returned pointers are in use, to avoid unexpected issues. This
is because the lifecycle of certain COM objects (eg. resources) is delegated to an internal allocator
that relies on resources being disposed as soon as the relative allocation object is disposed.
ReflectionServices
Provides methods to extract reflection info on compute shaders generated using this library.
Abstract Classes
NativeObject
Base class for a class.