Mojo struct
PipelineState
@register_passable(trivial)
struct PipelineState[num_stages: Int]
Implemented traits
AnyType
,
Copyable
,
ExplicitlyCopyable
,
Movable
,
UnknownDestructibility
Methods
__init__
__init__() -> Self
index
index(self) -> Int
phase
phase(self) -> SIMD[uint32, 1]
step
step(mut self)
This function increase the index and count. Index will circle back to 0 when it equals to the num_stage.
Was this page helpful?
Thank you! We'll create more content like this.
Thank you for helping us improve!