Open Sidebar
Close Sidebar
CrystalDoc.info
Source code
Shards.info
nonoecs-template
master
Top Level Namespace
AABB
BasicSystems
CameraPosition
CameraSystem
Engine
Body
ButtonResource
ButtonState
Collides
CollisionData
Color
DefaultShader
Font
FontDrawText
FontResource
GUI
HAlign
Key
Keys
KinematicBody
MaterialData
Mouse
MouseButtonState
PanelMetrics
Params
Physics
Polygon
RawResource
Sampler2d
Shader
Sound
Sprite
StaticBody
Texture
TileMap
UniformsArray
VAlign
Vec2
Vec3
Vec4
VertexList
VertexListPrimitive
EngineSystem
F
GameConfig
GameSystems
IntVector2
KeyReactSystem
KeysConfig
MeasureGC
Number
QuitEvent
RenderColor
RenderLayer
RenderPosition
RenderRotation
RenderScale
RenderSprite
RenderSystem
RenderTile
RES
ShaderAllShaders
ShouldQuitSystem
Vector2
Built with Crystal 1.9.2
2023-10-07 17:26:33 UTC
class
Engine::DefaultShader
Engine::DefaultShader
Engine::Shader
Reference
Object
Defined in:
engine/shaders.cr
Instance Method Summary
#screen_size
: Vec2
#screen_size=
(value : Vec2)
#tex
: Sampler2d
#tex=
(value : Sprite)
Instance methods inherited from class
Engine::Shader
activate
activate
,
to_unsafe
to_unsafe
Constructor methods inherited from class
Engine::Shader
new(data : Int32)
new
Instance Method Detail
def
screen_size
:
Vec2
#
[
View source
]
def
screen_size=
(value :
Vec2
)
#
[
View source
]
def
tex
:
Sampler2d
#
[
View source
]
def
tex=
(value :
Sprite
)
#
[
View source
]