- 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;
+ DepthTest depth_test;
+ StencilTest stencil_test;
+ Blend blend;
+
+ template<typename T>
+ void set(T &, const T &, unsigned);