ParameterInfo

Holds information about a material parameter.

Exactly one of type, samplerType and subpassType is set, as isSampler and isSubpass say.

Properties

Link copied to clipboard
val count: Int

Size of the parameter when it is an array.

Link copied to clipboard

Whether the parameter is a sampler (texture).

Link copied to clipboard

Whether the parameter is a subpass type.

Link copied to clipboard

Name of the parameter.

Link copied to clipboard

Requested precision of the parameter.

Link copied to clipboard

Type of the parameter if it is a sampler.

Link copied to clipboard

Type of the parameter if it is a subpass.

Link copied to clipboard

Type of the parameter if it is neither a sampler nor a subpass.