Diligent Engine
 
Loading...
Searching...
No Matches
TextureBase.hpp File Reference
#include <memory>
#include <array>
#include "Texture.h"
#include "GraphicsTypes.h"
#include "DeviceObjectBase.hpp"
#include "GraphicsAccessories.hpp"
#include "STDAllocator.hpp"
#include "FormatString.hpp"
#include "PlatformMisc.hpp"

Classes

class  Diligent::TextureBase< EngineImplTraits >
 Base implementation of the ITexture interface. More...
 

Namespaces

namespace  Diligent
 Graphics engine namespace.
 

Functions

void Diligent::ValidateTextureDesc (const TextureDesc &TexDesc, const IRenderDevice *pDevice) noexcept(false)
 Validates texture description and throws an exception in case of an error.
 
void Diligent::ValidatedAndCorrectTextureViewDesc (const TextureDesc &TexDesc, TextureViewDesc &ViewDesc) noexcept(false)
 Validates and corrects texture view description; throws an exception in case of an error.
 
void Diligent::ValidateUpdateTextureParams (const TextureDesc &TexDesc, Uint32 MipLevel, Uint32 Slice, const Box &DstBox, const TextureSubResData &SubresData)
 Validates update texture command parameters.
 
void Diligent::ValidateCopyTextureParams (const CopyTextureAttribs &CopyAttribs)
 Validates copy texture command parameters.
 
void Diligent::ValidateMapTextureParams (const TextureDesc &TexDesc, Uint32 MipLevel, Uint32 ArraySlice, MAP_TYPE MapType, Uint32 MapFlags, const Box *pMapRegion)
 Validates map texture command parameters.
 

Detailed Description

Implementation of the Diligent::TextureBase template class