Struct TextureHandle
Texture resource handle.
Namespace: UnityEngine.Experimental.Rendering.RenderGraphModule
Syntax
public struct TextureHandle
Methods
Equals(Object)
Equals Override.
Declaration
public override bool Equals(object obj)
Parameters
Type | Name | Description |
---|---|---|
Object | obj | Other handle to test against. |
Returns
Type | Description |
---|---|
Boolean | True if both handle are equals. |
Overrides
GetHashCode()
GetHashCode override.
Declaration
public override int GetHashCode()
Returns
Type | Description |
---|---|
Int32 |
Overrides
IsValid()
Return true if the handle is valid.
Declaration
public bool IsValid()
Returns
Type | Description |
---|---|
Boolean | True if the handle is valid. |
Operators
Implicit(TextureHandle to Int32)
Conversion to int.
Declaration
public static implicit operator int (TextureHandle handle)
Parameters
Type | Name | Description |
---|---|---|
TextureHandle | handle | Texture handle to convert. |
Returns
Type | Description |
---|---|
Int32 | The integer representation of the handle. |