Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


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

BufferThe shader resource is a raw buffer or a structured buffer.
CombinedTextureSamplerThe shader resource is a combined texture sampler object.
ConstantBufferThe shader resource is a constant buffer.
RayTracingAccelerationStructureThe shader resource is a Ray Tracing Acceleration Structure (RTAS).
SamplerThe shader resource is a sampler object.
TextureThe shader resource is a texture.
TypedBufferThe shader resource is a typed buffer or texel buffer.