R-Type 0.1
Loading...
Searching...
No Matches
rtk::ecs::concepts Namespace Reference

Backend independent types and concepts used by engine systems. More...

Classes

struct  ColorRGBA8
 8-bit per channel color. More...
 
class  Event
 Input query interface filled by the window backend. More...
 
struct  SpriteData
 Everything the renderer needs to draw one sprite. More...
 
struct  TextureRectU16
 Area of a texture, in texels. More...
 

Concepts

concept  IsAudioManager
 Requirements for the audio backend used by rtk::systems::AudioSystem.
 
concept  IsRenderWindow
 Requirements for the window backend used by the render and input systems.
 

Enumerations

enum class  Key : uint16_t {
  Unknown = 0 , A , B , C ,
  D , E , F , G ,
  H , I , J , K ,
  L , M , N , O ,
  P , Q , R , S ,
  T , U , V , W ,
  X , Y , Z , Num0 ,
  Num1 , Num2 , Num3 , Num4 ,
  Num5 , Num6 , Num7 , Num8 ,
  Num9 , Escape , LControl , LShift ,
  LAlt , LSystem , RControl , RShift ,
  RAlt , RSystem , Menu , LBracket ,
  RBracket , Semicolon , Comma , Period ,
  Quote , Slash , Backslash , Tilde ,
  Equal , Hyphen , Space , Enter ,
  Backspace , Tab , PageUp , PageDown ,
  End , Home , Insert , Delete ,
  Add , Subtract , Multiply , Divide ,
  Left , Right , Up , Down ,
  Numpad0 , Numpad1 , Numpad2 , Numpad3 ,
  Numpad4 , Numpad5 , Numpad6 , Numpad7 ,
  Numpad8 , Numpad9 , F1 , F2 ,
  F3 , F4 , F5 , F6 ,
  F7 , F8 , F9 , F10 ,
  F11 , F12 , F13 , F14 ,
  F15 , KeyCount = 256
}
 Keyboard keys, mirroring the values of the graphical library.
 
enum class  MouseButton : uint16_t { Left = 0 , Right = 1 , Middle = 2 , ButtonCount = 3 }
 Mouse buttons.
 
enum class  GamepadButton : uint16_t {
  Unknown = 0 , A , B , X ,
  Y , Cross = A , Circle = B , Square = X ,
  Triangle = Y , L1 , R1 , L2 ,
  R2 , Select , Start , L3 ,
  R3 , DpadUp , DpadDown , DpadLeft ,
  DpadRight , Home , ButtonCount
}
 Gamepad buttons, with PlayStation style aliases.
 
enum class  GamepadAxis : uint16_t {
  LeftX = 0 , LeftY , RightX , RightY ,
  L2 , R2 , AxisCount
}
 Gamepad analog axes.
 

Detailed Description

Backend independent types and concepts used by engine systems.