Diligent Engine
 
Loading...
Searching...
No Matches
BufferBase.hpp File Reference
#include <memory>
#include "Buffer.h"
#include "GraphicsTypes.h"
#include "DeviceObjectBase.hpp"
#include "GraphicsAccessories.hpp"
#include "STDAllocator.hpp"
#include "FormatString.hpp"

Classes

class  Diligent::BufferBase< EngineImplTraits >
 Template class implementing base functionality of the buffer object. More...
 

Namespaces

namespace  Diligent
 Graphics engine namespace.
 

Functions

void Diligent::ValidateBufferDesc (const BufferDesc &Desc, const IRenderDevice *pDevice) noexcept(false)
 Validates buffer description and throws an exception in case of an error.
 
void Diligent::ValidateBufferInitData (const BufferDesc &Desc, const BufferData *pBuffData) noexcept(false)
 Validates initial buffer data parameters and throws an exception in case of an error.
 
void Diligent::ValidateAndCorrectBufferViewDesc (const BufferDesc &BuffDesc, BufferViewDesc &ViewDesc, Uint32 StructuredBufferOffsetAlignment) noexcept(false)
 Validates and corrects buffer view description; throws an exception in case of an error.
 

Detailed Description

Implementation of the Diligent::BufferBase template class