Raven Engine v0.1
Loading...
Searching...
No Matches
Raven::ImageSpecification Struct Reference

Describes the properties required to create or configure an Image2D resource. More...

#include <Image.h>

Public Attributes

u32 Width = 1
 Width of the image in pixels.
u32 Height = 1
 Height of the image in pixels.
ImageFormat Format
 Pixel format of the image (e.g. RGBA8, Depth32, etc.)
ImageUsage Usage = ImageUsage::ColorAttachment
 Intended usage flags for the image (render target, texture, etc.)
u8 Layers = 1
 Number of layers (for array textures or cubemaps)
u8 Mips = 1
 Number of mipmap levels.
bool Transfer = false
 Whether this image will be used as a transfer source/destination.

Detailed Description

Describes the properties required to create or configure an Image2D resource.

Member Data Documentation

◆ Format

ImageFormat Raven::ImageSpecification::Format

Pixel format of the image (e.g. RGBA8, Depth32, etc.)

◆ Height

u32 Raven::ImageSpecification::Height = 1

Height of the image in pixels.

◆ Layers

u8 Raven::ImageSpecification::Layers = 1

Number of layers (for array textures or cubemaps)

◆ Mips

u8 Raven::ImageSpecification::Mips = 1

Number of mipmap levels.

◆ Transfer

bool Raven::ImageSpecification::Transfer = false

Whether this image will be used as a transfer source/destination.

◆ Usage

ImageUsage Raven::ImageSpecification::Usage = ImageUsage::ColorAttachment

Intended usage flags for the image (render target, texture, etc.)

◆ Width

u32 Raven::ImageSpecification::Width = 1

Width of the image in pixels.


The documentation for this struct was generated from the following file: