Go to the documentation of this file.
41 {0xe2e83490, 0xe9d2, 0x495b, {0x9a, 0x83, 0xab, 0xb4, 0x13, 0xa3, 0x8b, 0x7}};
61 #if DILIGENT_CPP_INTERFACE
70 ValueType {_ValueType },
72 IsNormalized {_IsNormalized }
106 #if DILIGENT_CPP_INTERFACE
114 ViewType {_ViewType },
116 ByteOffset {_ByteOffset},
117 ByteWidth {_ByteWidth }
142 #define DILIGENT_INTERFACE_NAME IBufferView
143 #include "../../../Primitives/interface/DefineInterfaceHelperMacros.h"
145 #define IBufferViewInclusiveMethods \
146 IDeviceObjectInclusiveMethods; \
147 IBufferViewMethods BufferView
157 #if DILIGENT_CPP_INTERFACE
170 #include "../../../Primitives/interface/UndefInterfaceHelperMacros.h"
172 #if DILIGENT_C_INTERFACE
176 # define IBufferView_GetDesc(This) (const struct BufferViewDesc*)IDeviceObject_GetDesc(This)
178 # define IBufferView_GetBuffer(This) CALL_IFACE_METHOD(BufferView, GetBuffer, This)
Buffer view description.
Definition: BufferView.h:88
#define DILIGENT_END_INTERFACE
Definition: DefineInterfaceHelperMacros.h:88
struct INTERFACE_ID INTERFACE_ID
Definition: InterfaceID.h:54
#define VIRTUAL
Definition: DefineInterfaceHelperMacros.h:83
#define DILIGENT_BEGIN_INTERFACE(Name, Base)
Definition: CommonDefinitions.h:97
struct BufferFormat Format
Format of the view. This member is only used for formatted and raw buffers. To create raw view of a r...
Definition: BufferView.h:96
bool operator==(const Plane3D &p1, const Plane3D &p2)
Definition: AdvancedMath.hpp:442
@ VT_UNDEFINED
Undefined type.
Definition: GraphicsTypes.h:51
Base interface for all objects created by the render device Diligent::IRenderDevice.
Definition: DeviceObject.h:52
#define THIS
Definition: DefineInterfaceHelperMacros.h:81
Buffer interface.
Definition: Buffer.h:187
BufferViewDesc() noexcept
Definition: BufferView.h:107
#define PURE
Definition: DefineInterfaceHelperMacros.h:85
Describes common device object attributes.
Definition: GraphicsTypes.h:1196
#define DILIGENT_END_NAMESPACE
Definition: CommonDefinitions.h:86
VALUE_TYPE
Value type.
Definition: GraphicsTypes.h:49
#define CONST
Definition: DefineInterfaceHelperMacros.h:84
D3D10_SB_OPERAND_NUM_COMPONENTS NumComponents
Definition: DXBCUtils.cpp:519
#define DILIGENT_DERIVE(TypeName)
Definition: CommonDefinitions.h:90
Uint32 ByteWidth
Size in bytes of the referenced buffer region.
Definition: BufferView.h:103
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:100
uint32_t Uint32
32-bit unsigned integer
Definition: BasicTypes.h:51
#define DEFAULT_INITIALIZER(x)
Definition: CommonDefinitions.h:93
bool Bool
Boolean.
Definition: BasicTypes.h:59
bool operator==(const BufferViewDesc &RHS) const
Comparison operator tests if two structures are equivalent.
Definition: BufferView.h:128
BufferViewDesc(BUFFER_VIEW_TYPE _ViewType, BufferFormat _Format=BufferViewDesc{}.Format, Uint32 _ByteOffset=BufferViewDesc{}.ByteOffset, Uint32 _ByteWidth=BufferViewDesc{}.ByteWidth) noexcept
Definition: BufferView.h:110
#define METHOD(Name)
Definition: DefineInterfaceHelperMacros.h:87
struct BufferViewDesc BufferViewDesc
Definition: BufferView.h:140
uint8_t Uint8
8-bit unsigned integer
Definition: BasicTypes.h:53
@ BUFFER_VIEW_UNDEFINED
Undefined view type.
Definition: GraphicsTypes.h:306
BUFFER_VIEW_TYPE ViewType
View type. See Diligent::BUFFER_VIEW_TYPE for details.
Definition: BufferView.h:91
#define DILIGENT_BEGIN_NAMESPACE(Name)
Definition: CommonDefinitions.h:82
Buffer view interface.
Definition: BufferView.h:155
BUFFER_VIEW_TYPE
Buffer view type.
Definition: GraphicsTypes.h:303
The library uses Direct3D-style math:
Definition: AdvancedMath.hpp:37