29 #include "DeviceObject.h" 35 static constexpr INTERFACE_ID IID_BufferView =
36 { 0xe2e83490, 0xe9d2, 0x495b, { 0x9a, 0x83, 0xab, 0xb4, 0x13, 0xa3, 0x8b, 0x7 } };
95 virtual void QueryInterface(
const Diligent::INTERFACE_ID &IID, IObject **ppInterface ) = 0;
virtual IBuffer * GetBuffer()=0
Returns pointer to the referenced buffer object.
BUFFER_VIEW_TYPE ViewType
View type. See Diligent::BUFFER_VIEW_TYPE for details.
Definition: BufferView.h:42
virtual const BufferViewDesc & GetDesc() const =0
Returns the buffer view description used to create the object.
Buffer view description.
Definition: BufferView.h:39
Base interface for all objects created by the render device Diligent::IRenderDevice.
Definition: DeviceObject.h:40
Undefined view type.
Definition: GraphicsTypes.h:222
Namespace for the OpenGL implementation of the graphics engine.
Definition: BufferD3D11Impl.h:34
Uint32 ByteOffset
Offset in bytes from the beginnig of the buffer to the start of the buffer region referenced by the v...
Definition: BufferView.h:46
bool operator==(const BufferViewDesc &RHS) const
Comparison operator tests if two structures are equivalent.
Definition: BufferView.h:74
virtual void QueryInterface(const Diligent::INTERFACE_ID &IID, IObject **ppInterface)=0
Queries the specific interface, see IObject::QueryInterface() for details.
Buffer interface.
Definition: Buffer.h:200
Uint32 ByteWidth
Size in bytes of the referenced buffer region.
Definition: BufferView.h:49
Describes common device object attributes.
Definition: GraphicsTypes.h:900
BufferViewDesc()
Initializes the structure members with default values.
Definition: BufferView.h:59
Buffer view interface.
Definition: BufferView.h:91
BUFFER_VIEW_TYPE
Buffer view type.
Definition: GraphicsTypes.h:219