Struct OccluderParameters
Parameters structure for passing to GPUResidentDrawer.UpdateInstanceOccluders.
Inherited Members
Namespace: UnityEngine .Rendering
Assembly: Unity.RenderPipelines.GPUDriven.Runtime.dll
Syntax
public struct OccluderParameters
Constructors
OccluderParameters(int)
Creates a new structure using the given parameters.
Declaration
public OccluderParameters(int viewInstanceID)
Parameters
Type | Name | Description |
---|---|---|
int | viewInstanceID | The instance ID of the camera to associate with these occluders. |
Fields
depthIsArray
True if the depth texture is a texture array, false otherwise.
Declaration
public bool depthIsArray
Field Value
Type | Description |
---|---|
bool |
depthSize
The size in pixels of the area of the depth data to read.
Declaration
public Vector2Int depthSize
Field Value
Type | Description |
---|---|
Vector2Int |
depthTexture
The depth texture to read.
Declaration
public TextureHandle depthTexture
Field Value
Type | Description |
---|---|
Texture |
subviewCount
The total number of subviews for this occluder.
Declaration
public int subviewCount
Field Value
Type | Description |
---|---|
int |
viewInstanceID
The instance ID of the camera, used to identify these occluders for the occlusion test.
Declaration
public int viewInstanceID
Field Value
Type | Description |
---|---|
int |