struct CrShader::Language::Types::IVec2

Overview

2-component 32-bit signed integer vector (ivec2).

Defined in:

crshader/language/types.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(x : Int32 = 0, y : Int32 = 0) #

Instance Method Detail

def +(other : IVec2) : IVec2 #

def -(other : IVec2) : IVec2 #

def x : Int32 #

def x=(x : Int32) #

def y : Int32 #

def y=(y : Int32) #