pub type Builder = Handle<SkVertices_Builder>;
Aliased Type§
struct Builder(/* private fields */);
Implementations§
Source§impl Builder
impl Builder
pub fn new( mode: VertexMode, vertex_count: usize, index_count: usize, flags: BuilderFlags, ) -> Builder
pub fn positions(&mut self) -> &mut [Point]
pub fn indices(&mut self) -> Option<&mut [u16]>
pub fn tex_coords(&mut self) -> Option<&mut [Point]>
pub fn colors(&mut self) -> Option<&mut [Color]>
pub fn is_volatile(&self) -> bool
👎Deprecated since 0.29.0: returns false
pub fn bone_indices(&mut self) -> Option<&mut [BoneIndices]>
👎Deprecated since 0.29.0: returns None
pub fn bone_weights(&mut self) -> Option<&mut [BoneWeights]>
👎Deprecated since 0.29.0: returns None