Blender  V3.3
Public Attributes | List of all members
ViewInfos Struct Reference

#include <draw_shader_shared.h>

Public Attributes

float4x4 persmat
 
float4x4 persinv
 
float4x4 viewmat
 
float4x4 viewinv
 
float4x4 winmat
 
float4x4 wininv
 
float4 clip_planes [6]
 
float4 viewvecs [2]
 
float4 viewcamtexcofac
 
float2 viewport_size
 
float2 viewport_size_inverse
 
float4 frustum_corners [8]
 
float4 frustum_planes [6]
 

Detailed Description

Definition at line 25 of file draw_shader_shared.h.

Member Data Documentation

◆ clip_planes

float4 ViewInfos::clip_planes[6]

Definition at line 34 of file draw_shader_shared.h.

◆ frustum_corners

float4 ViewInfos::frustum_corners[8]

Frustum culling data. NOTE: vec3 arrays are padded to vec4.

Definition at line 44 of file draw_shader_shared.h.

◆ frustum_planes

float4 ViewInfos::frustum_planes[6]

Definition at line 45 of file draw_shader_shared.h.

◆ persinv

float4x4 ViewInfos::persinv

Definition at line 28 of file draw_shader_shared.h.

Referenced by draw_view_matrix_state_update().

◆ persmat

float4x4 ViewInfos::persmat

Definition at line 27 of file draw_shader_shared.h.

Referenced by draw_view_matrix_state_update().

◆ viewcamtexcofac

float4 ViewInfos::viewcamtexcofac

Definition at line 37 of file draw_shader_shared.h.

◆ viewinv

float4x4 ViewInfos::viewinv

Definition at line 30 of file draw_shader_shared.h.

Referenced by draw_view_matrix_state_update(), and DRW_pass_sort_shgroup_z().

◆ viewmat

float4x4 ViewInfos::viewmat

Definition at line 29 of file draw_shader_shared.h.

Referenced by draw_view_matrix_state_update().

◆ viewport_size

float2 ViewInfos::viewport_size

Definition at line 39 of file draw_shader_shared.h.

Referenced by drw_draw_pass_ex(), and drw_update_view().

◆ viewport_size_inverse

float2 ViewInfos::viewport_size_inverse

Definition at line 40 of file draw_shader_shared.h.

Referenced by drw_update_view().

◆ viewvecs

float4 ViewInfos::viewvecs[2]

Definition at line 35 of file draw_shader_shared.h.

Referenced by draw_view_matrix_state_update().

◆ wininv

float4x4 ViewInfos::wininv

Definition at line 32 of file draw_shader_shared.h.

Referenced by draw_view_matrix_state_update().

◆ winmat

float4x4 ViewInfos::winmat

Definition at line 31 of file draw_shader_shared.h.

Referenced by draw_view_matrix_state_update().


The documentation for this struct was generated from the following file: