sokol-d ~master (2026-11-25T19:43:58.4305504)
Dub
Repo
sshape_element_range
sokol
shape
extract sokol-gfx desc structs and primitive ranges from build state
extern (
C
) @
system
@
nogc
nothrow pure
ElementRange
sshape_element_range
(
const
State
*
state
)
Meta
Source
See Implementation
sokol
shape
functions
boxSizes
buildBox
buildCylinder
buildPlane
buildSphere
buildTorus
color3b
color3f
color4b
color4f
colorVertexAttrState
cylinderSizes
elementRange
indexBufferDesc
mat4
mat4Transpose
normalVertexAttrState
planeSizes
positionVertexAttrState
sphereSizes
sshape_box_sizes
sshape_build_box
sshape_build_cylinder
sshape_build_plane
sshape_build_sphere
sshape_build_torus
sshape_color_3b
sshape_color_3f
sshape_color_4b
sshape_color_4f
sshape_color_vertex_attr_state
sshape_cylinder_sizes
sshape_element_range
sshape_index_buffer_desc
sshape_mat4
sshape_mat4_transpose
sshape_normal_vertex_attr_state
sshape_plane_sizes
sshape_position_vertex_attr_state
sshape_sphere_sizes
sshape_texcoord_vertex_attr_state
sshape_torus_sizes
sshape_vertex_buffer_desc
sshape_vertex_buffer_layout_state
sshape_vertex_size
texcoordVertexAttrState
torusSizes
vertexBufferDesc
vertexBufferLayoutState
vertexSize
manifest constants
max_vertex_size
min_vertex_size
structs
Box
BufferState
Cylinder
ElementRange
Mat4
OptionalComponents
Plane
Range
Sizes
SizesItem
Sphere
State
Torus
extract sokol-gfx desc structs and primitive ranges from build state