Shader

Inheritance diagram of rumba.Shader
class Shader

Gather shading parameters.

Variables

default_value (Shader) – Static. The default value.

Methods

__init__

Constructor(s)

parameters()

Return the shader parameters.

set_parameters(parameters)

Set the shader parameters.

__init__()

Constructor(s)

Value (arg1: bool)

Create a boolean value.

Value (arg1: int)

Create an integer value.

Value (arg1: float)

Create a float value.

Value (arg1: double)

Create a double value.

Value (string: unicode)

Create a string value.

Value (string: wchar_t)

Create a string value.

Value (string: unicode)

Create a string value.

Value (string: unicode)

Create a wide string value.

Value (arg1: Imath.V2f)

Create a Imath::V2f value.

Value (arg1: Imath.V3f)

Create a Imath::V3f value.

Value (arg1: Imath.V4f)

Create a Imath::V4f value.

Value (arg1: Imath.V2d)

Create a Imath::V2d value.

Value (arg1: Imath.V3d)

Create a Imath::V3d value.

Value (arg1: Imath.V4d)

Create a Imath::V4d value.

Value (arg1: Imath.V2i)

Create a Imath::V2i value.

Value (arg1: Imath.V3i)

Create a Imath::V3i value.

Value (arg1: Imath.V4i)

Create a Imath::V4i value.

Value (arg1: Imath.Color4f)

Create a Imath::Color4f value.

Value (arg1: Imath.M44f)

Create a Imath::M44f value.

Value (arg1: Imath.M44d)

Create a Imath::M44d value.

Value (arg1: Imath.Box3f)

Create a Imath::Box3f value.

Value (arg1: Imath.Quatf)

Create a Imath::Quatf value.

Value (arg1: Imath.Quatd)

Create a Imath::Quatd value.

Value (user_data: UserData)

Create a user data value.

parameters() Dict

Return the shader parameters.

Return type

Dict

set_parameters(parameters: Dict) None

Set the shader parameters.