CathodeRetro::ITexture

This is one of the interfaces that the user code needs to implement in order to use the CathodeRetro class. See Implementing the Required Interfaces for details.

This interface represents a texture that can be used as an input to IGraphicsDevice::RenderQuad.

Index

Interface Methods

Interface Methods

Width
                uint32_t Width() const
              
Description
Return the width of the texture.
Return Value

Type: uint32_t

The width of the texture.

Height
                uint32_t Height() const
              
Description
Return the height of the texture.
Return Value

Type: uint32_t

The height of the texture.

MipCount
                uint32_t MipCount() const
              
Description
Return the number of mipmap levels that the texture contains.
Return Value

Type: uint32_t

The number of mipmap levels that the texture contains.

Format
                TextureFormat Format() const
              
Description
Return the format of the texture.
Return Value

Type: TextureFormat

The format of the texture.