- mutable unsigned changes;
-
- static const PipelineState *last_applied;
- static std::vector<int> bound_tex_targets;
-
+ std::vector<BoundTexture> textures;
+ const VertexSetup *vertex_setup = 0;
+ PrimitiveType primitive_type = TRIANGLES;
+ FaceWinding front_face = COUNTERCLOCKWISE;
+ CullMode face_cull = NO_CULL;
+ const DepthTest *depth_test = 0;
+ const StencilTest *stencil_test = 0;
+ const Blend *blend = 0;
+
+ template<typename T>
+ void set(T &, T, unsigned);