bindbc.raylib.bind.shaders

Undocumented in source.

Members

Aliases

pBeginBlendMode
alias pBeginBlendMode = void function(int mode)

Begin blending mode (alpha, additive, multiplied)

pBeginShaderMode
alias pBeginShaderMode = void function(Shader shader)

Begin custom shader drawing

pBeginVrDrawing
alias pBeginVrDrawing = void function()

Begin VR simulator stereo rendering

pCloseVrSimulator
alias pCloseVrSimulator = void function()

Close VR simulator for current device

pEndBlendMode
alias pEndBlendMode = void function()

End blending mode (reset to default: alpha blending)

pEndShaderMode
alias pEndShaderMode = void function()

End custom shader drawing (use default shader)

pEndVrDrawing
alias pEndVrDrawing = void function()

End VR simulator stereo rendering

pGenTextureBRDF
alias pGenTextureBRDF = Texture2D function(Shader shader, int size)

Generate BRDF texture using cubemap data

pGenTextureCubemap
alias pGenTextureCubemap = Texture2D function(Shader shader, Texture2D map, int size)

Generate cubemap texture from HDR texture

pGenTextureIrradiance
alias pGenTextureIrradiance = Texture2D function(Shader shader, Texture2D cubemap, int size)

Generate irradiance texture using cubemap data

pGenTexturePrefilter
alias pGenTexturePrefilter = Texture2D function(Shader shader, Texture2D cubemap, int size)

Generate prefilter texture using cubemap data

pGetMatrixModelview
alias pGetMatrixModelview = Matrix function()

Get internal modelview matrix

pGetMatrixProjection
alias pGetMatrixProjection = Matrix function()

Get internal projection matrix

pGetShaderDefault
alias pGetShaderDefault = Shader function()

Get default shader

pGetShaderLocation
alias pGetShaderLocation = int function(Shader shader, const(char)* uniformName)

Get shader uniform location

pGetShapesTexture
alias pGetShapesTexture = Texture2D function()

Get texture to draw shapes

pGetShapesTextureRec
alias pGetShapesTextureRec = Rectangle function()

Get texture rectangle to draw shapes

pGetTextureDefault
alias pGetTextureDefault = Texture2D function()

Get default texture

pInitVrSimulator
alias pInitVrSimulator = void function()

Init VR simulator for selected device parameters

pIsVrSimulatorReady
alias pIsVrSimulatorReady = bool function()

Detect if VR simulator is ready

pLoadFileText
alias pLoadFileText = char* function(const(char)* fileName)

Load chars array from text file

pLoadShader
alias pLoadShader = Shader function(const(char)* vsFileName, const(char)* fsFileName)

Load shader from files and bind default locations

pLoadShaderCode
alias pLoadShaderCode = Shader function(char* vsCode, char* fsCode)

Load shader from code strings and bind default locations

pSetMatrixModelview
alias pSetMatrixModelview = void function(Matrix view)

Set a custom modelview matrix (replaces internal modelview matrix)

pSetMatrixProjection
alias pSetMatrixProjection = void function(Matrix proj)

Set a custom projection matrix (replaces internal projection matrix)

pSetShaderValue
alias pSetShaderValue = void function(Shader shader, int uniformLoc, const void* value, int uniformType)

Set shader uniform value

pSetShaderValueMatrix
alias pSetShaderValueMatrix = void function(Shader shader, int uniformLoc, Matrix mat)

Set shader uniform value (matrix 4x4)

pSetShaderValueTexture
alias pSetShaderValueTexture = void function(Shader shader, int uniformLoc, Texture2D texture)

Set shader uniform value for texture

pSetShaderValueV
alias pSetShaderValueV = void function(Shader shader, int uniformLoc, const void* value, int uniformType, int count)

Set shader uniform value vector

pSetShapesTexture
alias pSetShapesTexture = void function(Texture2D texture, Rectangle source)

Define default texture used to draw shapes

pSetVrConfiguration
alias pSetVrConfiguration = void function(VrDeviceInfo info, Shader distortion)

Set stereo rendering configuration parameters

pToggleVrMode
alias pToggleVrMode = void function()

Enable/Disable VR experience

pUnloadShader
alias pUnloadShader = void function(Shader shader)

Unload shader from GPU memory (VRAM)

pUpdateVrTracking
alias pUpdateVrTracking = void function(Camera* camera)

Update VR tracking (position and orientation) and camera

Static variables

BeginBlendMode
pBeginBlendMode BeginBlendMode;
Undocumented in source.
BeginShaderMode
pBeginShaderMode BeginShaderMode;
Undocumented in source.
BeginVrDrawing
pBeginVrDrawing BeginVrDrawing;
Undocumented in source.
CloseVrSimulator
pCloseVrSimulator CloseVrSimulator;
Undocumented in source.
EndBlendMode
pEndBlendMode EndBlendMode;
Undocumented in source.
EndShaderMode
pEndShaderMode EndShaderMode;
Undocumented in source.
EndVrDrawing
pEndVrDrawing EndVrDrawing;
Undocumented in source.
GenTextureBRDF
pGenTextureBRDF GenTextureBRDF;
Undocumented in source.
GenTextureCubemap
pGenTextureCubemap GenTextureCubemap;
Undocumented in source.
GenTextureIrradiance
pGenTextureIrradiance GenTextureIrradiance;
Undocumented in source.
GenTexturePrefilter
pGenTexturePrefilter GenTexturePrefilter;
Undocumented in source.
GetMatrixModelview
pGetMatrixModelview GetMatrixModelview;
Undocumented in source.
GetMatrixProjection
pGetMatrixProjection GetMatrixProjection;
Undocumented in source.
GetShaderDefault
pGetShaderDefault GetShaderDefault;
Undocumented in source.
GetShaderLocation
pGetShaderLocation GetShaderLocation;
Undocumented in source.
GetShapesTexture
pGetShapesTexture GetShapesTexture;
Undocumented in source.
GetShapesTextureRec
pGetShapesTextureRec GetShapesTextureRec;
Undocumented in source.
GetTextureDefault
pGetTextureDefault GetTextureDefault;
Undocumented in source.
InitVrSimulator
pInitVrSimulator InitVrSimulator;
Undocumented in source.
IsVrSimulatorReady
pIsVrSimulatorReady IsVrSimulatorReady;
Undocumented in source.
LoadFileText
pLoadFileText LoadFileText;
Undocumented in source.
LoadShader
pLoadShader LoadShader;
Undocumented in source.
LoadShaderCode
pLoadShaderCode LoadShaderCode;
Undocumented in source.
SetMatrixModelview
pSetMatrixModelview SetMatrixModelview;
Undocumented in source.
SetMatrixProjection
pSetMatrixProjection SetMatrixProjection;
Undocumented in source.
SetShaderValue
pSetShaderValue SetShaderValue;
Undocumented in source.
SetShaderValueMatrix
pSetShaderValueMatrix SetShaderValueMatrix;
Undocumented in source.
SetShaderValueTexture
pSetShaderValueTexture SetShaderValueTexture;
Undocumented in source.
SetShaderValueV
pSetShaderValueV SetShaderValueV;
Undocumented in source.
SetShapesTexture
pSetShapesTexture SetShapesTexture;
Undocumented in source.
SetVrConfiguration
pSetVrConfiguration SetVrConfiguration;
Undocumented in source.
ToggleVrMode
pToggleVrMode ToggleVrMode;
Undocumented in source.
UnloadShader
pUnloadShader UnloadShader;
Undocumented in source.
UpdateVrTracking
pUpdateVrTracking UpdateVrTracking;
Undocumented in source.

Meta