Tutorials
Getting Started
Your First Project
OPengine Structure
Scripting
Reference
Core reference
Data reference
Math reference
Performance reference
Human reference
OPaudio.h
OPaudioEmitter.h
OPaudioPlayer.h
OPaudioSource.h
OPgamePadAxes.h
OPgamePadButtons.h
OPgamePadIndices.h
OPkeyboardKeys.h
OPmouseKeys.h
OPgamePad.h
OPgamePadButtons.h
OPinputRecord.h
OPkeyboard.h
OPmouse.h
OPmyo.h
OPoculus.h
OPtouch.h
OPcamFreeFlight.h
OPcommandDrawIndexed.h
OPfont.h
OPfontAtlas.h
OPfontGlyph.h
OPfontKerning.h
OPfontManager.h
OPfontRender.h
OPcube.h
OPquad.h
OPsphericalCube.h
OPvertex.h
OPskeleton.h
OPskeletonAnimation.h
OPskeletonAnimationManager.h
OPskeletonAnimationTrack.h
OPskeletonAnimationTransition.h
OPspriteSheet.h
OPimgui.h
OPMvertex.h
OPRendererTypes.h
OPattributes.h
OPcam.h
OPcommandBucket.h
OPeffect.h
OPframeBuffer.h
OPglew.h
OPimage.h
OPmaterial.h
OPmesh.h
OPmeshBuilder.h
OPmeshPacked.h
OPmeshPacker.h
OPmodel.h
OPmonitor.h
OPrender.h
OPrenderBuffer.h
OPshader.h
OPshaderAttribute
Globals
Functions
OPtexture.h
OPtextureCube.h
OPvertexLayout.h
OPwindow.h
OPfontSystem.h
OPinputSystem.h
OPrenderSystem.h
Errors.h
Geometry.h
LoaderOPLVL.h
OPimagePNG.h
Communication reference
Pipeline reference
Scripting reference
Community
Slack Channel
Trello Roadmap
OPengine
Learn
»
Human reference
»
OPshader.h
OPshader.h
¶
OPshaderAttribute
¶
OPchar* Name
ui32 Type
ui32 Elements
OPuint Offset
OPuint Handle
Globals
¶
Functions
¶
OPint OPshaderLoadVertex ( OPstream* str, OPshader* shader )
OPint OPshaderLoadFragment ( OPstream* str, OPshader* shader )
OPint OPshaderUnload ( OPshader* shader )