21 : DataType(
rttr::type::get_by_name(
"" ) )
62 Use4BytesIndex =
false;
Definition: ResourcePtr.h:116
BufferType BufferType
Vertex, index or constant buffer.
Definition: IBuffer.h:41
uint32 NumElements
Number of elements of type BufferDescriptor::DataType.
Definition: IBuffer.h:37
ResourcePtr< ShaderInputLayout > VertexLayout
[Optional] Layout of single vertex in buffer. You can add this layout to enable additional informatio...
Definition: BufferInitData.h:42
BufferInfo CreateBufferInfo() const
Definition: BufferInitData.h:90
bool Use4BytesIndex
Definition: IBuffer.h:57
Index buffer initialization data.
Definition: BufferInitData.h:54
Pozawala GPU na zapis i odczyt.
Descriptor of buffer.
Definition: IBuffer.h:35
IndexBufferInitData()
Definition: BufferInitData.h:59
ResourceUsage Usage
Definition: BufferInitData.h:18
uint32_t uint32
Definition: TypesDefinitions.h:31
uint32 ElementSize
Definition: BufferInitData.h:16
BufferInitData()
Definition: BufferInitData.h:20
rttr::type DataType
[Optional] Type of single element in buffer.
Definition: IBuffer.h:39
rttr::type DataType
[Optional] Type of single element in buffer.
Definition: BufferInitData.h:17
ResourceUsage
Specyfikuje typ dostępu do pamięci danego zasobu.
Definition: GraphicAPIConstants.h:72
Buffer initialization data.
Definition: BufferInitData.h:12
BufferInfo CreateBufferInfo() const
Definition: BufferInitData.h:107
uint8_t uint8
Definition: TypesDefinitions.h:27
uint32 NumElements
Definition: BufferInitData.h:15
BufferInfo CreateBufferInfo() const
Definition: BufferInitData.h:71
uint32 ElementSize
Size of single element in buffer.
Definition: IBuffer.h:38
const uint8 * Data
Pointer must be valid only in time of creation.
Definition: BufferInitData.h:14
ResourceUsage Usage
Usage of resource by graphic card.
Definition: IBuffer.h:40
VertexBufferInitData()
Definition: BufferInitData.h:45
Vertex buffer initialization data.
Definition: BufferInitData.h:40
ResourcePtr< ShaderInputLayout > VertexLayout
Definition: IBuffer.h:52
PrimitiveTopology Topology
[Optional] Topology of verticies.
Definition: BufferInitData.h:43
PrimitiveTopology Topology
[Optional] Topology of verticies.
Definition: BufferInitData.h:56
bool Use4BytesIndex
Index buffer consists of 4 bytes instead of 2 bytes indicies.
Definition: BufferInitData.h:57
PrimitiveTopology Topology
Definition: IBuffer.h:46
PrimitiveTopology
Topologia wierzchołków.
Definition: GraphicAPIConstants.h:84
Constant buffer initialization data.
Definition: BufferInitData.h:32