BBMOD_RenderQueue

Extends BBMOD_Class

constructor

new BBMOD_RenderQueue([_name[, _priority]])

Description

A cointainer of render commands.

Arguments

Name Type Description
_name String/Undefined The name of the render queue. Defaults to "RenderQueue" + number of created render queues - 1, e.g. "RenderQueue0", "RenderQueue1" etc.
_priority Real The priority of the render queue. Defaults to 0.

Properties

Name Description
Name The name of the render queue. This can be useful for debugging purposes.
Priority The priority of the render queue. Render queues with lower priority come first in the global.bbmod_render_queues array.

Methods

Name Description
apply_material Adds a BBMOD_ERenderCommand.ApplyMaterial command into the queue.
begin_conditional_block Adds a BBMOD_ERenderCommand.BeginConditionalBlock command into the queue.
check_render_pass Adds a BBMOD_ERenderCommand.CheckRenderPass command into the queue.
clear Clears the render queue.
draw_mesh Adds a BBMOD_ERenderCommand.DrawMesh command into the queue.
draw_mesh_animated Adds a BBMOD_ERenderCommand.DrawMeshAnimated command into the queue.
draw_mesh_batched Adds a BBMOD_ERenderCommand.DrawMeshBatched command into the queue.
end_conditional_block Adds a BBMOD_ERenderCommand.EndConditionalBlock command into the queue.
is_empty Checks whether the render queue is empty.
pop_gpu_state Adds a BBMOD_ERenderCommand.PopGpuState command into the queue.
push_gpu_state Adds a BBMOD_ERenderCommand.PushGpuState command into the queue.
reset_material Adds a BBMOD_ERenderCommand.ResetMaterial command into the queue.
reset_shader Adds a BBMOD_ERenderCommand.ResetShader command into the queue.
set_gpu_alphatestenable Adds a BBMOD_ERenderCommand.SetGpuAlphaTestEnable command into the queue.
set_gpu_alphatestref Adds a BBMOD_ERenderCommand.SetGpuAlphaTestRef command into the queue.
set_gpu_blendenable Adds a BBMOD_ERenderCommand.SetGpuBlendEnable command into the queue.
set_gpu_blendmode Adds a BBMOD_ERenderCommand.SetGpuBlendMode command into the queue.
set_gpu_blendmode_ext Adds a BBMOD_ERenderCommand.SetGpuBlendModeExt command into the queue.
set_gpu_blendmode_ext_sepalpha Adds a BBMOD_ERenderCommand.SetGpuBlendModeExtSepAlpha command into the queue.
set_gpu_colorwriteenable Adds a BBMOD_ERenderCommand.SetGpuColorWriteEnable command into the queue.
set_gpu_cullmode Adds a BBMOD_ERenderCommand.SetGpuCullMode command into the queue.
set_gpu_fog Adds a BBMOD_ERenderCommand.SetGpuFog command into the queue.
set_gpu_tex_filter Adds a BBMOD_ERenderCommand.SetGpuTexFilter command into the queue.
set_gpu_tex_filter_ext Adds a BBMOD_ERenderCommand.SetGpuTexFilterExt command into the queue.
set_gpu_tex_max_aniso Adds a BBMOD_ERenderCommand.SetGpuTexMaxAniso command into the queue.
set_gpu_tex_max_aniso_ext Adds a BBMOD_ERenderCommand.SetGpuTexMaxAnisoExt command into the queue.
set_gpu_tex_max_mip Adds a BBMOD_ERenderCommand.SetGpuTexMaxMip command into the queue.
set_gpu_tex_max_mip_ext Adds a BBMOD_ERenderCommand.SetGpuTexMaxMipExt command into the queue.
set_gpu_tex_min_mip Adds a BBMOD_ERenderCommand.SetGpuTexMinMip command into the queue.
set_gpu_tex_min_mip_ext Adds a BBMOD_ERenderCommand.SetGpuTexMinMipExt command into the queue.
set_gpu_tex_mip_bias Adds a BBMOD_ERenderCommand.SetGpuTexMipBias command into the queue.
set_gpu_tex_mip_bias_ext Adds a BBMOD_ERenderCommand.SetGpuTexMipBiasExt command into the queue.
set_gpu_tex_mip_enable Adds a BBMOD_ERenderCommand.SetGpuTexMipEnable command into the queue.
set_gpu_tex_mip_enable_ext Adds a BBMOD_ERenderCommand.SetGpuTexMipEnableExt command into the queue.
set_gpu_tex_mip_filter Adds a BBMOD_ERenderCommand.SetGpuTexMipFilter command into the queue.
set_gpu_tex_mip_filter_ext Adds a BBMOD_ERenderCommand.SetGpuTexMipFilterExt command into the queue.
set_gpu_tex_repeat Adds a BBMOD_ERenderCommand.SetGpuTexRepeat command into the queue.
set_gpu_tex_repeat_ext Adds a BBMOD_ERenderCommand.SetGpuTexRepeatExt command into the queue.
set_gpu_zfunc Adds a BBMOD_ERenderCommand.SetGpuZFunc command into the queue.
set_gpu_ztestenable Adds a BBMOD_ERenderCommand.SetGpuZTestEnable command into the queue.
set_gpu_zwriteenable Adds a BBMOD_ERenderCommand.SetGpuZWriteEnable command into the queue.
set_priority Changes the priority of the render queue. Render queues with lower priority come first in the global.bbmod_render_queues array.
set_projection_matrix Adds a BBMOD_ERenderCommand.SetProjectionMatrix command into the queue.
set_sampler Adds a BBMOD_ERenderCommand.SetSampler command into the queue.
set_shader Adds a BBMOD_ERenderCommand.SetShader command into the queue.
set_uniform_f Adds a BBMOD_ERenderCommand.SetUniformFloat command into the queue.
set_uniform_f2 Adds a BBMOD_ERenderCommand.SetUniformFloat2 command into the queue.
set_uniform_f3 Adds a BBMOD_ERenderCommand.SetUniformFloat3 command into the queue.
set_uniform_f4 Adds a BBMOD_ERenderCommand.SetUniformFloat4 command into the queue.
set_uniform_f_array Adds a BBMOD_ERenderCommand.SetUniformFloatArray command into the queue.
set_uniform_i Adds a BBMOD_ERenderCommand.SetUniformInt command into the queue.
set_uniform_i2 Adds a BBMOD_ERenderCommand.SetUniformInt2 command into the queue.
set_uniform_i3 Adds a BBMOD_ERenderCommand.SetUniformInt3 command into the queue.
set_uniform_i4 Adds a BBMOD_ERenderCommand.SetUniformInt4 command into the queue.
set_uniform_i_array Adds a BBMOD_ERenderCommand.SetUniformIntArray command into the queue.
set_uniform_matrix Adds a BBMOD_ERenderCommand.SetUniformMatrix command into the queue.
set_uniform_matrix_array Adds a BBMOD_ERenderCommand.SetUniformMatrixArray command into the queue.
set_view_matrix Adds a BBMOD_ERenderCommand.SetViewMatrix command into the queue.
set_world_matrix Adds a BBMOD_ERenderCommand.SetWorldMatrix command into the queue.
submit Submits render commands.
submit_vertex_buffer Adds a BBMOD_ERenderCommand.SubmitVertexBuffer command into the queue.

See also

BBMOD_ERenderCommand, bbmod_render_queue_get_default

Do you find this page helpful?

Copyright © 2022, BlueBurn. Built on June 19, 2022 using GMDoc.