MCPcopy Create free account
hub / github.com/carbonengine/trinity / CreateConstantColorPS

Function CreateConstantColorPS

trinityal/tests/Rendering.cpp:34–41  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

32}
33
34ALResult CreateConstantColorPS( Tr2ShaderAL& shader, Tr2PrimaryRenderContextAL& renderContext )
35{
36 uint8_t bytecode[] = {
37#include INCLUDE_SHADER_CODE( ConstantColor.ps )
38 };
39
40 return shader.Create( PIXEL_SHADER, bytecode, Tr2ShaderSignatureAL(), "", renderContext );
41}
42
43ALResult CreateTexCoordAndPositionVS( Tr2ShaderAL& shader, Tr2PrimaryRenderContextAL& renderContext )
44{

Callers 1

TEST_FFunction · 0.70

Calls 2

CreateMethod · 0.45

Tested by

no test coverage detected