VisualEffectAsset.GetTextureDimension

Declaration

public Rendering.TextureDimension GetTextureDimension(int nameID);

Declaration

public Rendering.TextureDimension GetTextureDimension(string name);

Parameters

nameID The ID of the property. This is the same ID that Shader.PropertyToID returns.
name The name of the property.

Description

Gets the TextureDimension of a named exposed Texture.

Additional resources:TextureDimension.


Did you find this page useful? Please give it a rating: