Diligent Engine
 
Loading...
Searching...
No Matches
Diligent::TextureProperties Struct Reference

Texture properties. More...

#include <GraphicsTypes.h>

Public Member Functions

constexpr bool operator== (const TextureProperties &RHS) const
 Comparison operator tests if two structures are equivalent.
 

Public Attributes

Uint32 MaxTexture1DDimension = 0
 Maximum dimension (width) of a 1D texture, or 0 if 1D textures are not supported.
 
Uint32 MaxTexture1DArraySlices = 0
 Maximum number of slices in a 1D texture array, or 0 if 1D texture arrays are not supported.
 
Uint32 MaxTexture2DDimension = 0
 Maximum dimension (width or height) of a 2D texture.
 
Uint32 MaxTexture2DArraySlices = 0
 Maximum number of slices in a 2D texture array, or 0 if 2D texture arrays are not supported.
 
Uint32 MaxTexture3DDimension = 0
 Maximum dimension (width, height, or depth) of a 3D texture, or 0 if 3D textures are not supported.
 
Uint32 MaxTextureCubeDimension = 0
 Maximum dimension (width or height) of a cubemap face, or 0 if cubemap textures are not supported.
 
Bool Texture2DMSSupported = False
 Indicates if device supports 2D multisampled textures.
 
Bool Texture2DMSArraySupported = False
 Indicates if device supports 2D multisampled texture arrays.
 
Bool TextureViewSupported = False
 Indicates if device supports texture views.
 
Bool CubemapArraysSupported = False
 Indicates if device supports cubemap arrays.
 
Bool TextureView2DOn3DSupported = False
 Indicates if device supports 2D views from 3D texture.
 

Detailed Description

Texture properties.

Member Function Documentation

◆ operator==()

bool Diligent::TextureProperties::operator== ( const TextureProperties & RHS) const
inlineconstexpr

Comparison operator tests if two structures are equivalent.

Parameters
[in]RHS- reference to the structure to perform comparison with
Returns
  • True if all members of the two structures are equal.
  • False otherwise.