ShaderData.ResourceKind
The kind of resource described by a ShaderData.ResourceBindingInfo.
Read time 1 minuteLast updated 6 days ago
Definition
- Type: Enum
- Namespace: UnityEditor
- Assembly: UnityEditor.CoreModule
public enum ShaderData.ResourceKind
Fields
Value | Description |
|---|---|
| Buffer | The shader resource is a raw buffer or a structured buffer. |
| CombinedTextureSampler | The shader resource is a combined texture sampler object. |
| ConstantBuffer | The shader resource is a constant buffer. |
| RayTracingAccelerationStructure | The shader resource is a Ray Tracing Acceleration Structure (RTAS). |
| Sampler | The shader resource is a sampler object. |
| Texture | The shader resource is a texture. |
| TypedBuffer | The shader resource is a typed buffer or texel buffer. |