-
-const int ANIMATION_MEMORY_SIZE(
- sizeof( Internal::Animation ) +
- sizeof( Internal::AnimatorConnector<float> ) +
- sizeof( Internal::SceneGraph::Animation ) );
-const int CONSTRAINT_MEMORY_SIZE(
- sizeof( Internal::Constraint ) +
- sizeof( Internal::SceneGraph::Constraint<float, Internal::PropertyAccessor<float> > ) +
- sizeof( Internal::ActiveConstraint<float> ) );
-const int ACTOR_MEMORY_SIZE(
- sizeof( Internal::Actor ) +
- sizeof( Internal::ActorAttachment ) +
- sizeof( Internal::SceneGraph::Node ) +
- sizeof( Internal::SceneGraph::NodeAttachment ));
-const int CAMERA_ACTOR_MEMORY_SIZE(
- sizeof( Internal::CameraActor ) +
- sizeof( Internal::CameraAttachment ) +
- sizeof( Internal::SceneGraph::Node ) +
- sizeof( Internal::SceneGraph::CameraAttachment ) );
-const int TEXT_ACTOR_MEMORY_SIZE(
- sizeof( Internal::TextActor ) +
- sizeof( Internal::TextAttachment ) +
- sizeof( Internal::SceneGraph::Node ) +
- sizeof( Internal::SceneGraph::TextAttachment ) +
- sizeof( Internal::TextParameters ) +
- sizeof( Internal::SceneGraph::TextRenderer ) );
-const int MESH_ACTOR_MEMORY_SIZE(
- sizeof( Internal::MeshActor ) +
- sizeof( Internal::MeshAttachment ) +
- sizeof( Internal::SceneGraph::Node ) +
- sizeof( Internal::SceneGraph::MeshAttachment ) +
- sizeof( Internal::SceneGraph::MeshRenderer ) );
-const int IMAGE_ACTOR_MEMORY_SIZE(
- sizeof( Internal::ImageActor ) +
- sizeof( Internal::ImageAttachment ) +
- sizeof( Internal::SceneGraph::Node ) +
- sizeof( Internal::SceneGraph::ImageAttachment ) +
- sizeof( Internal::SceneGraph::ImageRenderer ));
-const int LAYER_MEMORY_SIZE(
- sizeof( Internal::Layer ) +
- sizeof( Internal::ActorAttachment ) +
- sizeof( Internal::SceneGraph::Layer ) +
- sizeof( Internal::SceneGraph::NodeAttachment ) );
-const int IMAGE_MEMORY_SIZE(
- sizeof( Internal::Image ) +
- sizeof( Internal::ImageFactoryCache::Request ) +
- sizeof( Integration::Bitmap ) +
- sizeof( Internal::BitmapMetadata ) +
- sizeof( Internal::BitmapTexture ) +
- sizeof( Internal::ImageTicket ) );
-const int MESH_MEMORY_SIZE(
- sizeof( Internal::Mesh ) +
- sizeof( Internal::MeshData ) +
- sizeof( Internal::SceneGraph::Mesh ) +
- sizeof( Internal::ResourceTicket ) );
-const int MATERIAL_MEMORY_SIZE(
- sizeof( Internal::Material ) +
- sizeof( Internal::SceneGraph::Material ) +
- sizeof( Internal::SceneGraph::RenderMaterial ) );
+const std::size_t ANIMATION_MEMORY_SIZE(
+ sizeof(Internal::Animation) +
+ sizeof(Internal::AnimatorConnector<float>) +
+ sizeof(Internal::SceneGraph::Animation));
+const std::size_t CONSTRAINT_MEMORY_SIZE(
+ sizeof(Internal::Constraint<float>) +
+ sizeof(Internal::SceneGraph::Constraint<float, Internal::PropertyAccessor<float> >));
+const std::size_t ACTOR_MEMORY_SIZE(
+ sizeof(Internal::Actor) +
+ sizeof(Internal::SceneGraph::Node));
+const std::size_t CAMERA_ACTOR_MEMORY_SIZE(
+ sizeof(Internal::CameraActor) +
+ sizeof(Internal::SceneGraph::Node) +
+ sizeof(Internal::SceneGraph::Camera));
+const std::size_t LAYER_MEMORY_SIZE(
+ sizeof(Internal::Layer) +
+ sizeof(Internal::SceneGraph::Layer));
+const std::size_t RENDERER_MEMORY_SIZE(
+ sizeof(Internal::Renderer) +
+ sizeof(Internal::SceneGraph::Renderer) +
+ sizeof(Internal::Render::Renderer));
+const std::size_t GEOMETRY_MEMORY_SIZE(
+ sizeof(Internal::Geometry) +
+ sizeof(Internal::Render::Geometry));
+const std::size_t PROPERTY_BUFFER_MEMORY_SIZE(
+ sizeof(Internal::VertexBuffer) +
+ sizeof(Internal::Render::VertexBuffer));
+const std::size_t TEXTURE_SET_MEMORY_SIZE(
+ sizeof(Internal::TextureSet) +
+ sizeof(Internal::SceneGraph::TextureSet));
+const std::size_t SAMPLER_MEMORY_SIZE(
+ sizeof(Internal::Sampler) +
+ sizeof(Internal::Render::Sampler));
+const std::size_t SHADER_MEMORY_SIZE(
+ sizeof(Internal::Shader) +
+ sizeof(Internal::SceneGraph::Shader));