Interface that reads and writes data to and from a stream.
Definition Stream.hpp:21
Definition GraphicsAdapter.hpp:27
Graphics pipeline state object.
Definition GraphicsPipeline.hpp:46
GraphicsPipelineDesc desc
Definition GraphicsPipeline.hpp:61
void Init() override
Run the initialization logic of this object. Should be overriden by deriving classes.
Definition GraphicsAdapterChild.cpp:16
static bool LoadShader(DataStream *stream, GraphicsPipelineDesc &desc)
Load a prebuilt shader into the provided pipeline description.
Definition GraphicsPipeline.cpp:61
Definition GraphicsAdapterChild.hpp:9
void Init() override
Run the initialization logic of this object. Should be overriden by deriving classes.
Definition GraphicsAdapterChild.cpp:16
uint16_t uint16
Definition Primitives.hpp:9
uint8_t uint8
Definition Primitives.hpp:6
Describes a graphics pipeline.
Definition GraphicsPipeline.hpp:11
uint16 psSize
Size of the pixel shader data.
Definition GraphicsPipeline.hpp:25
uint8 * vsData
Pointer to a binary vertex shader.
Definition GraphicsPipeline.hpp:13
Array< InputLayoutElement > inputLayout
List of input layout element.
Definition GraphicsPipeline.hpp:38
uint16 gsSize
Size of the geometry shader data.
Definition GraphicsPipeline.hpp:20
uint16 vsSize
Size of the vertex shader data.
Definition GraphicsPipeline.hpp:15
Array< GraphicsFormat > renderTargets
List of rendertarget formats.
Definition GraphicsPipeline.hpp:41
uint8 * psData
Pointer to a binary pixel shader.
Definition GraphicsPipeline.hpp:23
uint8 * gsData
Pointer to a binary geometry shader.
Definition GraphicsPipeline.hpp:18