Skip to content
On this page

class ShaderParameterBuffer ​

ShaderParameterBuffer defines a custom buffer which is used by the evaluation shader. The buffer data is served to the shader as is, and is not interpolated.

Properties ​

PropertyDescription
FieldNameThe name of the custom field in the scene or caster source object which is mapped to the shader.
NameThe name of the ShaderParameterBuffer object. (Inherited from Object)
TypeThe user-specified type which is used to map the buffer. The type is shader language-specific and must have been declared in the ShaderHeader of the shader object, or be one of the build in types of the shader language.

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 ShaderParameterBuffer class. (Inherited from Object)
IsAReturns true if ShaderParameterBuffer is a or is a descendant of the class named as the type parameter. (Inherited from Object)
IsNullReturns true if the ShaderParameterBuffer object is invalid. (Inherited from Object)
IsSameObjectAsReturns true if the ShaderParameterBuffer object is valid. (Inherited from Object)
NonNullReturns true if the ShaderParameterBuffer object is valid. (Inherited from Object)
PrintInfoPrints the content/info of the ShaderParameterBuffer 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 spShaderParameterBuffer, and if this is the case, returns the object cast into spShaderParameterBuffer. (Inherited from Object)

Properties details ​

FieldName ​

The name of the custom field in the scene or caster source object which is mapped to the shader.

Name ​

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

Type ​

The user-specified type which is used to map the buffer. The type is shader language-specific and must have been declared in the ShaderHeader of the shader object, or be one of the build in types of the shader language.

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 ShaderParameterBuffer class. (Inherited from Object)

IsA ​

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

IsNull ​

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

IsSameObjectAs ​

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

NonNull ​

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

PrintInfo ​

Prints the content/info of the ShaderParameterBuffer 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 spShaderParameterBuffer, and if this is the case, returns the object cast into spShaderParameterBuffer. (Inherited from Object)