CeresEngine 0.2.0
A game development framework
Loading...
Searching...
No Matches
GPUImage.hpp File Reference

Go to the source code of this file.

Classes

struct  CeresEngine::GPUImageSubresource
 Image subresource descriptor which specifies the array layer and MIP-map level range of a image resource. More...
 
struct  CeresEngine::GPUImageLocation
 Image location structure: MIP-map level and offset. More...
 
struct  CeresEngine::GPUImageRegion
 Image region structure: Subresource (MIP-map level and array layer range), offset, and extent. More...
 
struct  CeresEngine::GPUImageSwizzleRGBA
 Image component swizzle structure for red, green, blue, and alpha components. More...
 
struct  CeresEngine::GPUImageDescriptor
 
class  CeresEngine::GPUImage
 
struct  CeresEngine::GPUImageViewDescriptor
 Image view descriptor structure. More...
 
class  CeresEngine::GPUImageView
 

Namespaces

namespace  CeresEngine
 

Typedefs

using CeresEngine::GPUImageUsage = Flags< GPUImageUsageFlags >
 

Enumerations

enum class  CeresEngine::GPUImageType : UInt32 {
  CeresEngine::Image1D , CeresEngine::Image2D , CeresEngine::Image3D , CeresEngine::ImageCube ,
  CeresEngine::Image1DArray , CeresEngine::Image2DArray , CeresEngine::ImageCubeArray , CeresEngine::Image2DMS ,
  CeresEngine::Image2DMSArray , CeresEngine::None = ~0u
}
 
enum class  CeresEngine::GPUImageUsageFlags { CeresEngine::Attachment = (1u << 0u) , CeresEngine::Sample = (1u << 1u) , CeresEngine::Storage = (1u << 2u) }
 
enum class  CeresEngine::GPUImageLayout {
  CeresEngine::DontCare , CeresEngine::Attachment , CeresEngine::DepthAttachment , CeresEngine::ShaderAccess ,
  CeresEngine::Present
}
 
enum class  CeresEngine::GPUImageSwizzle {
  CeresEngine::Zero , CeresEngine::One , CeresEngine::Red , CeresEngine::Green ,
  CeresEngine::Blue , CeresEngine::Alpha
}
 Image component swizzle enumeration. More...
 

Functions

constexpr Flags< GPUImageUsageFlags, std::underlying_type_t< GPUImageUsageFlags > > CeresEngine::operator| (GPUImageUsageFlags a, GPUImageUsageFlags b) noexcept
 
constexpr Flags< GPUImageUsageFlags, std::underlying_type_t< GPUImageUsageFlags > > CeresEngine::operator& (GPUImageUsageFlags a, GPUImageUsageFlags b) noexcept
 
constexpr Flags< GPUImageUsageFlags, std::underlying_type_t< GPUImageUsageFlags > > CeresEngine::operator~ (GPUImageUsageFlags a) noexcept
 
StringView CeresEngine::toString (GPUImageType type)
 Creates a string representation of the image type constant.
 
std::ostream & CeresEngine::operator<< (std::ostream &os, GPUImageType type)
 Prints a string representation of the image type constant to a stream.
 
StringView CeresEngine::toString (GPUImageLayout layout)
 Creates a string representation of the image layout constant.
 
std::ostream & CeresEngine::operator<< (std::ostream &os, GPUImageLayout layout)
 Prints a string representation of the image layout constant to a stream.
 
String CeresEngine::toString (const GPUImageDescriptor &descriptor)
 Creates a string representation of the image descriptor.
 
std::ostream & CeresEngine::operator<< (std::ostream &os, const GPUImageDescriptor &descriptor)
 Prints a string representation of the image descriptor to a stream.