OGRE-Next  2.3
Object-Oriented Graphics Rendering Engine
Ogre::DescriptorSetTexture2::TextureSlot Struct Reference

#include <OgreDescriptorSetTexture.h>

Public Member Functions

bool formatNeedsReinterpret () const
 
bool needsDifferentView () const
 
bool operator!= (const TextureSlot &other) const
 
bool operator< (const TextureSlot &other) const
 

Static Public Member Functions

static TextureSlot makeEmpty ()
 

Public Attributes

bool cubemapsAs2DArrays
 
bool generalReadWrite
 
uint8 mipmapLevel
 
uint8 numMipmaps
 When this value is 0, it means all mipmaps from mipmapLevel until the end. More...
 
PixelFormatGpu pixelFormat
 When left as PFG_UNKNOWN, we'll automatically use the TextureGpu's native format. More...
 
TextureGputexture
 
uint16 textureArrayIndex
 

Member Function Documentation

◆ formatNeedsReinterpret()

bool Ogre::DescriptorSetTexture2::TextureSlot::formatNeedsReinterpret ( ) const

◆ makeEmpty()

static TextureSlot Ogre::DescriptorSetTexture2::TextureSlot::makeEmpty ( )
inlinestatic

◆ needsDifferentView()

bool Ogre::DescriptorSetTexture2::TextureSlot::needsDifferentView ( ) const

◆ operator!=()

bool Ogre::DescriptorSetTexture2::TextureSlot::operator!= ( const TextureSlot other) const
inline

◆ operator<()

bool Ogre::DescriptorSetTexture2::TextureSlot::operator< ( const TextureSlot other) const
inline

Member Data Documentation

◆ cubemapsAs2DArrays

bool Ogre::DescriptorSetTexture2::TextureSlot::cubemapsAs2DArrays

◆ generalReadWrite

bool Ogre::DescriptorSetTexture2::TextureSlot::generalReadWrite

Referenced by operator!=(), and operator<().

◆ mipmapLevel

uint8 Ogre::DescriptorSetTexture2::TextureSlot::mipmapLevel

Referenced by operator!=(), and operator<().

◆ numMipmaps

uint8 Ogre::DescriptorSetTexture2::TextureSlot::numMipmaps

When this value is 0, it means all mipmaps from mipmapLevel until the end.

Referenced by operator!=(), and operator<().

◆ pixelFormat

PixelFormatGpu Ogre::DescriptorSetTexture2::TextureSlot::pixelFormat

When left as PFG_UNKNOWN, we'll automatically use the TextureGpu's native format.

Referenced by operator!=(), and operator<().

◆ texture

TextureGpu* Ogre::DescriptorSetTexture2::TextureSlot::texture

Referenced by operator!=(), and operator<().

◆ textureArrayIndex

uint16 Ogre::DescriptorSetTexture2::TextureSlot::textureArrayIndex

Referenced by operator!=(), and operator<().


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