18 #ifndef ION_IMAGE_RENDERUTILS_H_
19 #define ION_IMAGE_RENDERUTILS_H_
21 #include "base/integral_types.h"
44 uint32
width, uint32 height,
50 #endif // ION_IMAGE_RENDERUTILS_H_
const gfx::ImagePtr RenderTextureImage(const gfx::TexturePtr &texture, uint32 width, uint32 height, const gfx::RendererPtr &renderer, const base::AllocatorPtr &allocator)
Public functions.
base::ReferentPtr< Image >::Type ImagePtr
base::ReferentPtr< CubeMapTexture >::Type CubeMapTexturePtr
Convenience typedef for shared pointer to a CubeMapTexture.
CubeFace
The names of faces of the cube map.
SharedPtr< Allocator > AllocatorPtr
const Grid & image
The original monochrome image data, as doubles (0 - 1).
TexturePtr texture
The Texture to add sub-image data to.
base::ReferentPtr< Renderer >::Type RendererPtr
Convenience typedef for shared pointer to a Renderer.
base::ReferentPtr< Texture >::Type TexturePtr
Convenience typedef for shared pointer to a Texture.
const gfx::ImagePtr RenderCubeMapTextureFaceImage(const gfx::CubeMapTexturePtr &cubemap, gfx::CubeMapTexture::CubeFace face, uint32 width, uint32 height, const gfx::RendererPtr &renderer, const base::AllocatorPtr &allocator)
This is similar to RenderTextureImage(), but instead operates on one face of a CubeMapTexture.