Skip to content
On this page

class ShaderParameterTextureArray

ShaderParameterTextureArray defines a texture array, which is used by the evaluation shader to fetch data from a bound textures.

Properties

PropertyDescription
NameThe name of the ShaderParameterTextureArray object. (Inherited from Object)
TextureFormatThe format of the texture object type, as exposed to the shader. Note that this will not modify the contents of the texture, only modify the type which is exposed in the shader. Only a subset of the types are allowed, and is shader language specific, and is exposed differently in HLSL vs GLSL. In general, 4-vector components of signed and unsigned ints, as well as floats are always allowed.
TextureNamesArrayThe string array which contains the bound array of textures. The size of the texture names array equals the size of the string array.
UseLayeredTextureIf LayeredTexture is set, the texture array will be exposed to the evaluation shader as a texture2DArray instead of as an array of texture2D.

Methods

MethodDescription
AddObserverAdds a user-defined observer object to the interface, that will receive events from the interface. (Inherited from Object)
GetClassGet the name of the ShaderParameterTextureArray class. (Inherited from Object)
IsAReturns true if ShaderParameterTextureArray is a or is a descendant of the class named as the type parameter. (Inherited from Object)
IsNullReturns true if the ShaderParameterTextureArray object is invalid. (Inherited from Object)
IsSameObjectAsReturns true if the ShaderParameterTextureArray object is valid. (Inherited from Object)
NonNullReturns true if the ShaderParameterTextureArray object is valid. (Inherited from Object)
PrintInfoPrints the content/info of the ShaderParameterTextureArray object to the log. (Inherited from Object)
RemoveObserverRemoves a previously added observer object. (Inherited from Object)

Static methods

MethodDescription
IsClassAReturns true if the class is a or is a descendant of the class named as the type parameter. (Inherited from Object)
SafeCastSafeCast makes sure the input object is of a class that can be cast into spShaderParameterTextureArray, and if this is the case, returns the object cast into spShaderParameterTextureArray. (Inherited from Object)

Properties details

Name

The name of the ShaderParameterTextureArray object. (Inherited from Object)

TextureFormat

The format of the texture object type, as exposed to the shader. Note that this will not modify the contents of the texture, only modify the type which is exposed in the shader. Only a subset of the types are allowed, and is shader language specific, and is exposed differently in HLSL vs GLSL. In general, 4-vector components of signed and unsigned ints, as well as floats are always allowed.

TextureNamesArray

The string array which contains the bound array of textures. The size of the texture names array equals the size of the string array.

UseLayeredTexture

If LayeredTexture is set, the texture array will be exposed to the evaluation shader as a texture2DArray instead of as an array of texture2D.

Methods details

AddObserver

Adds a user-defined observer object to the interface, that will receive events from the interface. (Inherited from Object)

GetClass

Get the name of the ShaderParameterTextureArray class. (Inherited from Object)

IsA

Returns true if ShaderParameterTextureArray is a or is a descendant of the class named as the type parameter. (Inherited from Object)

IsNull

Returns true if the ShaderParameterTextureArray object is invalid. (Inherited from Object)

IsSameObjectAs

Returns true if the ShaderParameterTextureArray object is valid. (Inherited from Object)

NonNull

Returns true if the ShaderParameterTextureArray object is valid. (Inherited from Object)

PrintInfo

Prints the content/info of the ShaderParameterTextureArray object to the log. (Inherited from Object)

RemoveObserver

Removes a previously added observer object. (Inherited from Object)

Static methods details

IsClassA

Returns true if the class is a or is a descendant of the class named as the type parameter. (Inherited from Object)

SafeCast

SafeCast makes sure the input object is of a class that can be cast into spShaderParameterTextureArray, and if this is the case, returns the object cast into spShaderParameterTextureArray. (Inherited from Object)