6#include <Common/primitive_type.h>
7#include <Math/TVector2.h>
8#include <Math/TVector3.h>
82 std::array<VertexAttributeLocatorInfo, MAX_ATTRIBUTES>
attributes;
116 sizePx.x() = widthAndHeightPx.x();
117 sizePx.y() = widthAndHeightPx.y();
Definition ghi_infos.h:88
uint8 maxVertexAttributes
Definition ghi_infos.h:97
uint8 maxTextureUnitsForFragmentShadingStage
Definition ghi_infos.h:91
uint8 maxTextureUnitsForVertexShadingStage
Definition ghi_infos.h:90
Definition ghi_infos.h:124
FramebufferFormatInfo depthStencilFormat
Definition ghi_infos.h:131
static constexpr uint8 MAX_COLOR_ATTACHMENTS
Definition ghi_infos.h:126
math::Vector2UI sizePx
Definition ghi_infos.h:129
uint8 numSamples
Definition ghi_infos.h:132
std::array< FramebufferFormatInfo, MAX_COLOR_ATTACHMENTS > colorFormats
Definition ghi_infos.h:130
Definition ghi_infos.h:17
EWrapMode wrapMode
Definition ghi_infos.h:20
EFilterMode filterMode
Definition ghi_infos.h:19
Definition ghi_infos.h:46
ShaderHandle computeShader
Definition ghi_infos.h:50
ShaderHandle fragmentShader
Definition ghi_infos.h:49
ShaderHandle vertexShader
Definition ghi_infos.h:48
Definition ghi_infos.h:101
TextureDesc & setSize2D(const math::Vector2UI &widthAndHeightPx)
Definition ghi_infos.h:114
math::Vector3UI sizePx
Definition ghi_infos.h:103
TextureDesc & setSize1D(const uint32 lengthPx)
Definition ghi_infos.h:106
TextureFormatInfo format
Definition ghi_infos.h:104
Definition ghi_infos.h:24
SampleStateInfo sampleState
Definition ghi_infos.h:26
ESizedPixelFormat pixelFormat
Definition ghi_infos.h:27
uint8 numSamples
Definition ghi_infos.h:28
Definition ghi_infos.h:54
bool isEmpty() const
Definition VertexStorage.h:30
VertexAttributeLocatorInfo()=default
Empty attribute.
uint16 strideSize
Definition ghi_infos.h:62
std::size_t numAttributeBytes() const
Definition ghi_infos.cpp:6
EStorageElement elementType
Definition ghi_infos.h:67
std::size_t strideOffset
Definition ghi_infos.h:57
uint16 numElements
Definition ghi_infos.h:64
uint16 shouldNormalize
Definition ghi_infos.h:65
Definition PlatformDisplay.h:13
ESizedPixelFormat
Combined pixel layout and component type information. Unless stated explicitly, the characters RGB do...
Definition ghi_enums.h:19
EWrapMode
Definition ghi_enums.h:64
EStorageElement
Definition ghi_enums.h:70
EFilterMode
Definition ghi_enums.h:58