Struct bind_t
Runtime rendering data for each iteration in rendering loop. It manipulates geometry transformation, such as moving, rotatingand scaling. It also deal with color and picking. A bind_t object is generated by rendering in the every beginning of each rendering iteration.
public struct bind_t
- Inherited Members
- Extension Methods
Fields
height
Canvas height.
public int height
Field Value
is_picking_mode
Is picking mode.
public int is_picking_mode
Field Value
models
Model matrixes in MVP convention.
public mat_stack_t models
Field Value
picking_id
Current picking id.
public int picking_id
Field Value
pixelProj
Pixel mapping part of the projection matrix in MVP convention.
public mat4d_t pixelProj
Field Value
- See Also
pixel_width_on_model
Pixel width on model layer.
public double pixel_width_on_model
Field Value
projMat
public mat4d_t projMat
Field Value
rgb
Current color (rgb).
public vec3f_t rgb
Field Value
scaleProj
Scale part of the projection matrix in MVP convention.
public mat4d_t scaleProj
Field Value
- See Also
sparkle_rate
Sparkle rate of specular light. The rate only effects on the Drawing which contains N(normal) value.
public float sparkle_rate
Field Value
view
View matrix in MVP convention.
public mat4d_t view
Field Value
vpMat
public mat4d_t vpMat
Field Value
width
Canvas width.
public int width