MCPcopy Create free account
hub / github.com/GPUOpen-Effects/GeometryFX / CreateUnitCube

Function CreateUnitCube

amd_lib/shared/d3d11/src/AMD_UnitCube.cpp:33–42  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

31namespace AMD
32{
33 HRESULT CreateUnitCube(ID3D11VertexShader ** ppVS, ID3D11Device *pDevice)
34 {
35 if (pDevice == NULL || ppVS == NULL)
36 {
37 AMD_OUTPUT_DEBUG_STRING("Invalid Device or Vertex Shader pointers in function %s\n", AMD_FUNCTION_NAME);
38 return E_POINTER;
39 }
40
41 return pDevice->CreateVertexShader(VS_UNIT_CUBE_Data, sizeof(VS_UNIT_CUBE_Data), NULL, ppVS);
42 }
43
44
45 HRESULT CreateClipSpaceCube(ID3D11VertexShader** ppVS, ID3D11Device* pDevice)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected