# Migration Guide

Following an overview about interface changes between [Candera](http://dev.doc.cgistudio.at/APILINK/namespace_candera.html "[DataBinding_RefTypeSample]") V3.1.0 and [Candera](http://dev.doc.cgistudio.at/APILINK/namespace_candera.html "[DataBinding_RefTypeSample]") V3.1.1.

<div class="contents" id="bkmrk-description-candera-"><div class="textblock"><table class="doxtable" style="width: 100%;"><tbody><tr><th style="width: 44.7477%;">**Description**</th><th style="width: 29.9124%;">**[Candera](http://dev.doc.cgistudio.at/APILINK/namespace_candera.html "[DataBinding_RefTypeSample]") V3.1.0**</th><th style="width: 25.3399%;">**[Candera](http://dev.doc.cgistudio.at/APILINK/namespace_candera.html "[DataBinding_RefTypeSample]") V3.1.1**

</th></tr><tr><td style="width: 44.7477%;">Render Device deprecated texture parameter functions are replaced with a single function.</td><td style="width: 29.9124%;">RenderDevice::SetTextureLodMode  
RenderDevice::SetTextureFilter  
RenderDevice::SetTextureWrapMode</td><td style="width: 25.3399%;">RenderDevice::ActivateTexture

</td></tr><tr><td style="width: 44.7477%;">[Scene](http://dev.doc.cgistudio.at/APILINK/class_candera_1_1_scene.html "The class Scene represents a top level scene graph node. Multiple Scenes are allowed. A Scene can not be part of any other Scene. To render a Scene, at least one Camera must be part of this Scene and the Camera must have rendering enabled. A Scene can have more than one Camera. Note: Lights added to a Scene apply for that Scene only and do not affect 3D objects in any other Scene.") deprecated funtions are replaced with [Camera](http://dev.doc.cgistudio.at/APILINK/class_candera_1_1_camera.html "A Camera provides Modelview and Projection matrices. Camera is a Transformable.* The eye point is set...") functions (Note: Every [Camera](http://dev.doc.cgistudio.at/APILINK/class_candera_1_1_camera.html "A Camera provides Modelview and Projection matrices. Camera is a Transformable.* The eye point is set...") requires its own RenderOrder!)</td><td style="width: 29.9124%;">Scene::SetRenderOrder  
Scene::GetRenderOrder</td><td style="width: 25.3399%;">[Camera::SetRenderOrder](http://dev.doc.cgistudio.at/APILINK/class_candera_1_1_camera.html#ac04b157f871bc3c6d5874549e3f88057)  
[Camera::GetRenderOrder](http://dev.doc.cgistudio.at/APILINK/class_candera_1_1_camera.html#a9c87d86273969e6debc6347eba4425bf)

</td></tr><tr><td style="width: 44.7477%;">[PointSprite](http://dev.doc.cgistudio.at/APILINK/class_candera_1_1_point_sprite.html "PointSprite represents a GL point primitive. The size (glPointSize) of the point is calculated by def...") deprecated functions are replaced by using the corresponding functions of the PointSprite's [Material](http://dev.doc.cgistudio.at/APILINK/class_candera_1_1_material.html "The class Material describes the color attributes of an object's surface and is primarily used for li...")</td><td style="width: 29.9124%;">PointSprite::SetColor  
PointSprite::GetColor</td><td style="width: 25.3399%;">[Material::SetDiffuse](http://dev.doc.cgistudio.at/APILINK/class_candera_1_1_material.html#ac34c9a69521f4c7679b023d94fb800bc)  
[Material::GetDiffuse](http://dev.doc.cgistudio.at/APILINK/class_candera_1_1_material.html#a2738be952a792729e68b636d8ef292fe)

</td></tr><tr><td style="width: 44.7477%;">PointSprites share a single [VertexBuffer](http://dev.doc.cgistudio.at/APILINK/class_candera_1_1_vertex_buffer.html "The VertexBuffer encapsulates the attributes of an uploaded VertexGeometry. It holds the actual handl...") by default to facilitate drawcall batching. Custom VertexBuffers can still be set, but getting the [VertexBuffer](http://dev.doc.cgistudio.at/APILINK/class_candera_1_1_vertex_buffer.html "The VertexBuffer encapsulates the attributes of an uploaded VertexGeometry. It holds the actual handl...") returns a const pointer now.</td><td style="width: 29.9124%;">VertexBuffer\* [PointSprite::GetVertexBuffer](http://dev.doc.cgistudio.at/APILINK/class_candera_1_1_point_sprite.html#a7fbaf650d1c5962126f89b56d212cbe3)</td><td style="width: 25.3399%;">const VertexBuffer\* [PointSprite::GetVertexBuffer](http://dev.doc.cgistudio.at/APILINK/class_candera_1_1_point_sprite.html#a7fbaf650d1c5962126f89b56d212cbe3)

</td></tr></tbody></table>

</div></div>---