|
Nebula
|
Implements a CPU side image.
Go to the source code of this file.
Classes | |
| struct | CoreGraphics::ImageId |
| struct | CoreGraphics::ImageCreateInfoFile |
| struct | CoreGraphics::ImageCreateInfoData |
| struct | CoreGraphics::ImageDimensions |
| struct | CoreGraphics::ImageLoadInfo |
| union | CoreGraphics::ImageLoadInfo::ImageData |
Namespaces | |
| namespace | CoreGraphics |
| Acceleration structures are used to enable ray tracing on the GPU by dividing the scene into a BVH. | |
Typedefs | |
| typedef Ids::IdAllocator< ImageLoadInfo > | CoreGraphics::ImageAllocator |
Functions | |
| ImageId | CoreGraphics::CreateImage (const ImageCreateInfoFile &info) |
| create image from file path | |
| ImageId | CoreGraphics::CreateImage (const ImageCreateInfoData &info) |
| create image from data buffer | |
| ImageId | CoreGraphics::CreateImage (const CoreGraphics::TextureId tex, CoreGraphics::PipelineStage stage) |
| Create image from a texture and the pipeline stage it was last used with. | |
| void | CoreGraphics::DestroyImage (const ImageId id) |
| destroy image | |
| ImageDimensions | CoreGraphics::ImageGetDimensions (const ImageId id) |
| get image dimensions | |
| const ubyte * | CoreGraphics::ImageGetBuffer (const ImageId id) |
| Get pointer to buffer. | |
| const SizeT | CoreGraphics::ImageGetPixelStride (const ImageId id) |
| Get pixel stride in bytes. | |
| const SizeT | CoreGraphics::ImageGetChannelStride (const ImageId id) |
| Get channel stride in bytes. | |
| void | CoreGraphics::ImageConvertPrimitive (const ImageId id, const ImageChannelPrimitive primitive, bool denormalize) |
| Convert image primitive. | |
| bool | CoreGraphics::ImageSaveToFile (const ImageId id, const ImageContainer container, const IO::URI &path) |
| Save image to file. | |
| ImageChannelPrimitive | CoreGraphics::ImageGetChannelPrimitive (const ImageId id) |
| get channel primitive | |