ShaderParameter
from noon import ShaderParameter
Source-derived class. Host availability is not inferred from this listing. See reference scope.
Bases: _Immutable. Declared members follow; inherited and dynamically attached members are not expanded.
Immutable typed metadata, checked with the complete program in Rust. Floating fields interpolate; boolean and unsigned fields are discrete. Units are unitless, normalized, scene, pixels, radians or seconds.
ShaderParameter.__init__
ShaderParameter.__init__(self)
| Parameter | Kind | Annotation | Default |
|---|---|---|---|
self | positional or keyword | Not annotated | No default |
Return annotation: Not annotated
No docstring declared here. Consult the source and host reference.
ShaderParameter.scalar
ShaderParameter.scalar(cls, name, *, default, minimum, maximum, unit='unitless')Decorators: classmethod
| Parameter | Kind | Annotation | Default |
|---|---|---|---|
cls | positional or keyword | Not annotated | No default |
name | positional or keyword | Not annotated | No default |
default | keyword-only | Not annotated | No default |
minimum | keyword-only | Not annotated | No default |
maximum | keyword-only | Not annotated | No default |
unit | keyword-only | Not annotated | 'unitless' |
Return annotation: Not annotated
No docstring declared here. Consult the source and host reference.
ShaderParameter.vector2
ShaderParameter.vector2(cls, name, *, default, minimum, maximum, unit='unitless')Decorators: classmethod
| Parameter | Kind | Annotation | Default |
|---|---|---|---|
cls | positional or keyword | Not annotated | No default |
name | positional or keyword | Not annotated | No default |
default | keyword-only | Not annotated | No default |
minimum | keyword-only | Not annotated | No default |
maximum | keyword-only | Not annotated | No default |
unit | keyword-only | Not annotated | 'unitless' |
Return annotation: Not annotated
No docstring declared here. Consult the source and host reference.
ShaderParameter.color
ShaderParameter.color(cls, name, *, default)Decorators: classmethod
| Parameter | Kind | Annotation | Default |
|---|---|---|---|
cls | positional or keyword | Not annotated | No default |
name | positional or keyword | Not annotated | No default |
default | keyword-only | Not annotated | No default |
Return annotation: Not annotated
No docstring declared here. Consult the source and host reference.
ShaderParameter.boolean
ShaderParameter.boolean(cls, name, *, default)Decorators: classmethod
| Parameter | Kind | Annotation | Default |
|---|---|---|---|
cls | positional or keyword | Not annotated | No default |
name | positional or keyword | Not annotated | No default |
default | keyword-only | Not annotated | No default |
Return annotation: Not annotated
No docstring declared here. Consult the source and host reference.
ShaderParameter.unsigned
ShaderParameter.unsigned(cls, name, *, default, minimum=0, maximum=4294967295)Decorators: classmethod
| Parameter | Kind | Annotation | Default |
|---|---|---|---|
cls | positional or keyword | Not annotated | No default |
name | positional or keyword | Not annotated | No default |
default | keyword-only | Not annotated | No default |
minimum | keyword-only | Not annotated | 0 |
maximum | keyword-only | Not annotated | 4294967295 |
Return annotation: Not annotated
No docstring declared here. Consult the source and host reference.