TextureSampler.h 396 B

12345678910111213141516171819202122
  1. // Copyright 2008 Dolphin Emulator Project
  2. // SPDX-License-Identifier: GPL-2.0-or-later
  3. #pragma once
  4. #include "Common/CommonTypes.h"
  5. namespace TextureSampler
  6. {
  7. void Sample(s32 s, s32 t, s32 lod, bool linear, u8 texmap, u8* sample);
  8. void SampleMip(s32 s, s32 t, s32 mip, bool linear, u8 texmap, u8* sample);
  9. enum
  10. {
  11. RED_SMP,
  12. GRN_SMP,
  13. BLU_SMP,
  14. ALP_SMP
  15. };
  16. } // namespace TextureSampler