parameters: (self)
return_statement: return self.mglo.swizzle
docstring: str: The swizzle mask of the texture (Default ``'RGBA'``).
  
              The swizzle mask change/reorder the ``vec4`` value returned by the ``texture()`` function
              in a GLSL shaders. This is represented by a 4 character string were each
              character can be::
  
                  'R' GL_RED
                  'G' GL_GREEN
                  'B' GL_BLUE
                  'A' GL_ALPHA
                  '0' GL_ZERO
                  '1' GL_ONE
  
              Example::
  
                  # Alpha channel will always return 1.0
                  texture.swizzle = 'RGB1'
  
                  # Only return the red component. The rest is masked to 0.0
                  texture.swizzle = 'R000'
  
                  # Reverse the components
                  texture.swizzle = 'ABGR'
docstring_summary: str: The swizzle mask of the texture (Default ``'RGBA'``).
docstring_tokens: str : The swizzle mask of the texture ( Default RGBA ) .
function: def swizzle(self) -> str:
          '''
              str: The swizzle mask of the texture (Default ``'RGBA'``).
  
              The swizzle mask change/reorder the ``vec4`` value returned by the ``texture()`` function
              in a GLSL shaders. This is represented by a 4 character string were each
              character can be::
  
                  'R' GL_RED
                  'G' GL_GREEN
                  'B' GL_BLUE
                  'A' GL_ALPHA
                  '0' GL_ZERO
                  '1' GL_ONE
  
              Example::
  
                  # Alpha channel will always return 1.0
                  texture.swizzle = 'RGB1'
  
                  # Only return the red component. The rest is masked to 0.0
                  texture.swizzle = 'R000'
  
                  # Reverse the components
                  texture.swizzle = 'ABGR'
          '''
  
          return self.mglo.swizzle
function_tokens: def swizzle ( self ) -> str : return self . mglo . swizzle