diff options
Diffstat (limited to 'support/hololens/ServoApp/Content/ShaderStructures.h')
-rw-r--r-- | support/hololens/ServoApp/Content/ShaderStructures.h | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/support/hololens/ServoApp/Content/ShaderStructures.h b/support/hololens/ServoApp/Content/ShaderStructures.h deleted file mode 100644 index 7de7fa9dae7..00000000000 --- a/support/hololens/ServoApp/Content/ShaderStructures.h +++ /dev/null @@ -1,20 +0,0 @@ -#pragma once - -namespace Immersive { -// Constant buffer used to send hologram position transform to the shader -// pipeline. -struct ModelConstantBuffer { - DirectX::XMFLOAT4X4 model; -}; - -// Assert that the constant buffer remains 16-byte aligned (best practice). -static_assert((sizeof(ModelConstantBuffer) % (sizeof(float) * 4)) == 0, - "Model constant buffer size must be 16-byte aligned (16 bytes is " - "the length of four floats)."); - -// Used to send per-vertex data to the vertex shader. -struct VertexPositionColor { - DirectX::XMFLOAT3 pos; - DirectX::XMFLOAT3 color; -}; -} // namespace Immersive
\ No newline at end of file |